windows

Solid

Operate "${id}", the user's own Windows computer — run commands, read and write files, capture its screen. Use whenever the user says "my machine", "my laptop", "my PC", "my desktop", "locally", or names this computer, and for anything that has to happen on their computer rather than in the sandbox.

AI & Automation 22 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

${tools} ## This machine runs Windows `run_command` gives you **PowerShell 7** (`pwsh`) when it is installed, otherwise Windows PowerShell 5.1. Both are PowerShell — `cmd.exe` builtins (`dir /s`, `copy`, `&&`) are not what you are typing into. ### Quoting and paths - Paths with spaces: `& "C:\Program Files\Git\bin\git.exe" status`. The `&` call operator is required whenever the command itself is quoted. - Prefer forward slashes in arguments you pass to cross-platform tools; PowerShell accepts both. - `$env:USERPROFILE`, `$env:APPDATA`, `$env:LOCALAPPDATA` — use these, never a hardcoded `C:\Users\<name>`. - Chain with `;` (always runs) or `-and`; `&&` works only in PowerShell 7. ### Exit codes A failing native program does NOT stop a PowerShell script. Check `$LASTEXITCODE` after native commands, and start scripts with `$ErrorActionPreference = 'Stop'` so cmdlet failures surface instead of scrolling past. ### The idioms worth knowing | Job | Command | | --- | --- | | Find files | `Get-ChildItem -Recurse -Filter *.log -ErrorAction SilentlyContinue` | | Search text | `Select-String -Path *.txt -Pattern 'needle'` | | Read/write text | `Get-Content f.txt -Raw` / `Set-Content f.txt -Value $x -Encoding utf8` | | Processes | `Get-Process node`, `Stop-Process -Name node -Force` | | Services | `Get-Service Spooler`, `Restart-Service Spooler` (elevation needed) | | Installed apps | `winget list`, install with `winget install --id Git.Git -e --silent` | | Scheduled tasks | `Get-Sch...

Details

Author
intentic
Repository
intentic/intentic
Created
2 weeks ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category