desktop-controller
Installation
SKILL.md
Universal Desktop Controller
Automate any Windows desktop application using a combination of Win32 API, Playwright (for web/Electron apps), and screenshot-based visual feedback. Inspired by OpenAI's playwright-interactive Codex skill, adapted for Claude Code.
Smart Routing: Choose the Right Engine
CRITICAL DECISION: Before any action, determine which engine to use:
User Request → Is it a web/browser/Electron app?
├── YES → Playwright (CSS selectors, instant, precise)
│ Examples: email webmail, Slack, browser tasks, web forms
│ ✅ page.click('#compose') — instant, 100% accurate
│
└── NO → Win32 API (native desktop automation)
Examples: WeChat, QQ, DingTalk, Notepad, File Explorer
✅ SetCursorPos + mouse_event — works for any native app