| name | Desktop App Control (agent-browser) |
| description | Control desktop Electron apps and Chrome-based browsers via agent-browser (Vercel Labs). Uses CDP (Chrome DevTools Protocol) with accessibility snapshots and ref-based interaction — 82-96% token savings vs raw Playwright. Supports VS Code, Slack, Discord, Notion, Figma, Spotify, Chrome, and any Electron app. |
| version | 1.0.0 |
| category | automation |
| skillType | claude-skill |
| assignableRoles | ["developer","generalist","designer","qa"] |
| triggers | ["desktop app","electron","browser control","agent-browser","slack control","vscode control","notion control","discord control","chrome control","cdp","accessibility snapshot","desktop automation"] |
| tags | ["automation","desktop","electron","cdp","agent-browser","browser","playwright","accessibility","snapshot"] |
| execution | {"type":"script","script":{"file":"execute.sh","interpreter":"bash","timeoutMs":60000}} |
Desktop App Control (agent-browser)
Control Electron desktop apps and Chrome browsers using agent-browser by Vercel Labs. Uses accessibility snapshots with ref-based interaction for 82-96% token savings.
Quick Start
bash execute.sh scan
bash execute.sh launch --app 'Slack' --port 9222
bash execute.sh connect --port 9222
bash execute.sh snapshot
bash execute.sh snapshot --interactive
bash execute.sh click --ref @e5
bash execute.sh fill --ref @e3 --text 'Hello World'
bash execute.sh press --key Enter
bash execute.sh screenshot --output /tmp/app.png
bash execute.sh get-text --ref @e1
bash execute.sh scroll --direction down
bash execute.sh tabs
bash execute.sh tab --index 2
bash execute.sh close
bash execute.sh status
Architecture
agent-browser (Vercel Labs)
├── Rust CLI — Fast command parsing
├── Node.js Daemon — Playwright browser lifecycle
└── CDP Connection — Chrome DevTools Protocol
Snapshot + Refs Workflow:
snapshot returns accessibility tree with [ref=e1] markers
- Use
@e1 to interact: click @e1, fill @e3 "text", get text @e1
- Re-snapshot after actions to get updated refs
Controllable Apps
Electron Apps (launch with --remote-debugging-port):
- VS Code, Slack, Discord, Notion, Figma, Spotify, Postman, MongoDB Compass, Termius, etc.