System

From aloth/PowerSkills · View interactive version

System is an AI agent skill from the GitHub repository aloth/PowerSkills. Windows system commands and info via PowerShell. Execute shell commands, get system info (hostname, OS, uptime), list top processes, read environment variables. Use when needing to run commands, check system status, or inspect the Windows environment.

How to use this skill

Skill file

PowerSkills — System

Shell commands, process management, system info.

Requirements

Actions

.\powerskills.ps1 system <action> [--params]

| Action | Params | Description |

|--------|--------|-------------|

| exec | --command "whoami" [--timeout 30] | Run a PowerShell command |

| info | | System info: hostname, OS, user, domain, arch, uptime |

| processes | --limit N | Top processes by CPU (default: 20) |

| env | --name PATH | Get environment variable value |

Examples

# Run a command
.\powerskills.ps1 system exec --command "Get-Process | Select -First 5"

# System info
.\powerskills.ps1 system info

# Top 10 CPU consumers
.\powerskills.ps1 system processes --limit 10

# Check an env var
.\powerskills.ps1 system env --name COMPUTERNAME

Output Fields

info

hostname, user, domain, os, arch, ps_version, uptime_hours

processes

name, pid, cpu, mem_mb

exec

stdout, stderr, exit_code

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.