Desktop
Windows desktop automation. Take full-screen or window screenshots, list/focus/minimize/maximize windows, send keystrokes, launch applications. Use when needing to capture the Windows screen, manage windows, send keyboard input, or start programs.From its SKILL.md
npx -y skills add felipemsilva/PowerSkills --skill desktopAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 6 commands, including `.\powerskills.ps1 desktop screenshot --out-file screen.png` and 5 more.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.2 KB, 495 tokens by cl100k_base, as published. Nobody here has run it
PowerSkills — Desktop
Desktop automation: screenshots, window management, keystrokes, app launching.
Requirements
- Windows with .NET Framework (System.Windows.Forms, System.Drawing)
Actions
.\powerskills.ps1 desktop <action> [--params]
| Action | Params | Description |
|---|---|---|
screenshot | --out-file path.png [--window "title"] | Full screen or window capture |
windows | List all visible windows with title, PID, process name | |
focus | --window "title" | Bring window to foreground |
minimize | --window "title" | Minimize window |
maximize | --window "title" | Maximize window |
keys | --keys "{ENTER}" [--window "title"] | Send keystrokes (SendKeys syntax) |
launch | --app notepad [--app-args "file.txt"] [--wait-ms 3000] | Launch application |
Examples
# Full screen screenshot
.\powerskills.ps1 desktop screenshot --out-file screen.png
# Capture a specific window
.\powerskills.ps1 desktop screenshot --out-file outlook.png --window "Outlook"
# List all windows
.\powerskills.ps1 desktop windows
# Focus and type into Notepad
.\powerskills.ps1 desktop focus --window "Notepad"
.\powerskills.ps1 desktop keys --keys "Hello world{ENTER}" --window "Notepad"
# Launch an app
.\powerskills.ps1 desktop launch --app "notepad.exe" --app-args "C:\temp\notes.txt"
SendKeys Syntax
| Key | Syntax |
|---|---|
| Enter | {ENTER} |
| Tab | {TAB} |
| Escape | {ESC} |
| Ctrl+C | ^c |
| Alt+F4 | %{F4} |
| Shift+Tab | +{TAB} |
See Microsoft SendKeys docs for full syntax.
Output Fields
windows
title, pid, process, hwnd
screenshot
saved, width, height, window (if window capture)
What ships with it: 1 file
7.9 KB alongside SKILL.md, 1 of them executable
- desktop.ps1runs7.9 KB