Install
openclaw skills install win-terminalClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Controls the Windows Terminal to run commands, scripts, and manage processes on Windows. Enables AI agents to execute git, npm, pip, node, and any CLI commands. Use when you need to run terminal commands, manage dev servers, check git status, install dependencies, or automate Windows command-line workflows.
openclaw skills install win-terminalA skill that enables AI agents to execute shell commands on Windows machines through PowerShell or Windows Terminal. Perfect for automating development workflows without context switching.
git, npm, pip, node, python, etc.)# Check git status
run-command.ps1 -Command "git status" -WorkingDirectory "C:\Users\kanja\projects\my-app"
# Install dependencies
run-command.ps1 -Command "npm install" -WorkingDirectory "C:\Users\kanja\projects\my-app" -TimeoutSeconds 60
# Run a dev server (non-blocking)
run-command.ps1 -Command "npm run dev" -WorkingDirectory "C:\Users\kanja\projects\my-app"
| Parameter | Type | Default | Description |
|---|---|---|---|
Command | string | required | The command to execute |
WorkingDirectory | string | current directory | Directory to execute command in |
TimeoutSeconds | int | 30 | Maximum time to wait for command |
NoGui | switch | false | Force PowerShell instead of Windows Terminal |
✅ Run standard CLI tools (git, npm, pip, python, node, etc.)
✅ Execute PowerShell commands
✅ Read command output and errors
✅ Operate in any directory you have access to
✅ Start background processes
✅ Handle output up to 100KB
❌ Run interactive commands (vim, nano, ssh, etc.)
❌ Run commands requiring Administrator privileges without approval
❌ Access other users' files or system directories outside your workspace
❌ Run indefinitely (30-second default timeout)
❌ Execute commands with dangerous patterns (sanitization blocks known attack vectors)
RemoteSigned (for script execution)Increase the timeout: run-command.ps1 -Command "slow-command" -TimeoutSeconds 120
Use non-interactive alternatives:
vim file.txt, use Get-Content file.txtssh user@host, use ssh user@host "command"The command may require elevated privileges. OpenClaw will ask for approval if needed.
The skill automatically falls back to PowerShell. Install Windows Terminal for better experience.
# Git workflow
run-command.ps1 -Command "git add ." -WorkingDirectory "C:\projects\my-app"
run-command.ps1 -Command "git commit -m 'Update'" -WorkingDirectory "C:\projects\my-app"
# Python development
run-command.ps1 -Command "pip install -r requirements.txt" -WorkingDirectory "C:\projects\my-app" -TimeoutSeconds 120
run-command.ps1 -Command "python manage.py migrate" -WorkingDirectory "C:\projects\my-app"
# Node.js development
run-command.ps1 -Command "npm run build" -WorkingDirectory "C:\projects\my-app" -TimeoutSeconds 60
run-command.ps1 -Command "npm test" -WorkingDirectory "C:\projects\my-app"
# File operations
run-command.ps1 -Command "Get-ChildItem -Recurse -Filter '*.py' | Select-Object Name" -WorkingDirectory "C:\projects\my-app"