agentleFS
alothaloth/PowerSkills/skills/desktop/SKILL.md

powerskills-desktop

Skill49 starsChanged 8 months agoMITView on GitHub

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.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. felipemsilva/PowerSkills★ 2100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

Files
SKILL.md

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]
ActionParamsDescription
screenshot--out-file path.png [--window "title"]Full screen or window capture
windowsList 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

KeySyntax
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)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.