Powershell pro

From taracodlabs/aiden · View interactive version

Powershell pro is an AI agent skill from the GitHub repository taracodlabs/aiden. Expert PowerShell: processes, services, WMI, REST, scheduled tasks

How to use this skill

Skill file

PowerShell Pro

Advanced PowerShell operations for system automation, process management, WMI queries, and REST API calls — all without leaving the terminal.

When to Use

How to Use

List running processes (sorted by CPU)

Get-Process | Sort-Object CPU -Descending | Select-Object -First 15 Name, Id, CPU, WorkingSet

Kill a process by name

Stop-Process -Name "notepad" -Force

Query system info via WMI

# CPU info
Get-WmiObject Win32_Processor | Select-Object Name, NumberOfCores, MaxClockSpeed

# RAM total
(Get-WmiObject Win32_ComputerSystem).TotalPhysicalMemory / 1GB

# Disk drives
Get-WmiObject Win32_DiskDrive | Select-Object Model, Size, MediaType

REST API call with Invoke-RestMethod

$response = Invoke-RestMethod -Uri "https://api.example.com/data" `
  -Method GET `
  -Headers @{ "Authorization" = "Bearer $env:API_TOKEN" }
$response | ConvertTo-Json -Depth 5

List scheduled tasks

Get-ScheduledTask | Where-Object State -ne 'Disabled' |
  Select-Object TaskName, TaskPath, State |
  Sort-Object TaskName

Read Windows Event Log (last 20 errors)

Get-EventLog -LogName System -EntryType Error -Newest 20 |
  Select-Object TimeGenerated, Source, Message

Export output to CSV

Get-Process | Select-Object Name, Id, CPU, WorkingSet |
  Export-Csv -Path "$env:USERPROFILE\Desktop\processes.csv" -NoTypeInformation

Examples

"Show me what's eating memory right now"

→ Get-Process | Sort-Object WorkingSet -Descending | Select-Object -First 10 Name, Id, @{N='MB';E={[math]::Round($_.WorkingSet/1MB,1)}}

"Call the GitHub API and get my rate limit status"

→ Invoke-RestMethod -Uri "https://api.github.com/rate_limit" -Headers @{Authorization="Bearer $env:GITHUB_TOKEN"}

"List all scheduled tasks that run on startup"

→ Get-ScheduledTask | Where-Object { $_.Triggers | Where-Object CimClass -match 'BootTrigger' }

Cautions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.