piperhex/remoteai/gui-automation
Claude Code and agent skill by piperhex/remoteai
- community
Checking that the SKILL.md file is still in the repository.
Use when you need to visually interact with a GUI: test buttons, fill forms, verify visual layouts, fuzz web pages, automate user flows, take screenshots, or perform end-to-end QA on any application. Works on cloud VMs, Docker containers, local machines, and sandboxes. Needs the `cua` CLI (curl -fsSL https://cua.ai/install.sh | sh).
Install
npx vskill@latest install piperhex/remoteai/gui-automationSKILL.md
The same SKILL.md was published earlier as gabrielmoreira/agent-skills-mirror/gui-automation.
GUI Automation
CUA gives you eyes and hands on a real computer: see the screen, move the mouse, click, type, drag, and manage windows, like a human at the keyboard.
Use this skill for visual interaction that can't be done via shell or API.
Setup
ANTHROPIC_API_KEYis optional. With it,cua do snapshotreturns anAI-annotated screen with element coordinates. Without it, usescreenshotand read the image yourself.
Workflow
Look → Act → Verify: repeat until done, then share:
Re-screenshot after every UI change: coordinates go stale when the screen changes.
Scenarios
Click a button
Fill a form
File upload dialog
Zoom in for precision clicks (host or small targets)
When clicking small or dense UI elements, especially on the host machine, zoom into the target window first. Coordinates become window-relative and screenshots show only that window, giving you higher effective resolution.
Usezoomany time click accuracy is uncertain.unzoombefore switchingwindows or when you need to see the full desktop again.
Drag and drop
Fuzz a form
Trajectory
Every action is auto-recorded to ~/.cua/trajectories/{machine}/{session}/.
Tell the user where the trajectory is (cua trajectory ls prints the path).
Quick Reference
| Action | Command | |||
|---|---|---|---|---|
| Connect to target | cua do switch <sandbox> | |||
| Screenshot | cua do screenshot | |||
| AI-annotated screen | cua do snapshot ["instructions"] | |||
| Click | `cua do click <x> <y> [left\ | right\ | middle]` | |
| Double-click | cua do dclick <x> <y> | |||
| Type text | cua do type "text" | |||
| Press key | cua do key <key> | |||
| Hotkey | cua do hotkey <combo> (e.g. ctrl+c) | |||
| Scroll | cua do scroll <direction> [amount] | |||
| Drag | cua do drag <x1> <y1> <x2> <y2> | |||
| Move cursor | cua do move <x> <y> | |||
| Shell command | cua do shell "command" | |||
| Open URL/file | `cua do open <url\ | path>` | ||
| List windows | cua do window ls [app] | |||
| Focus window | cua do window focus <id> | |||
| Zoom to window | cua do zoom "App Name" | |||
| Unzoom | cua do unzoom | |||
| View trajectory | cua trajectory view |
Providers
| Target | Example | |
|---|---|---|
| a sandbox | cua do switch my-sandbox (see cua sb ls) | |
| a relay Space | cua do switch relay:<machine-id> (cua spaces ls) | |
| a spacesd URL | cua do switch url http://host:3211 --as x | |
| this machine | cua do switch host |
Legacy <provider> <name> pairs (cloud, docker, lume, ...) still work.
See references/command-reference.md for full argument syntax.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/cua/vendor/libs/cua/skills/gui-automation/SKILL.md
Popularity
- Repository stars
- 1,052
- Repository forks
- 41
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/piperhex/remoteai/gui-automation)