desktop-ops
Installation
SKILL.md
Desktop Ops
Overview
Expose the current macOS UI as a JSON snapshot, then act on stable refs with single-step CLI commands. Keep logic, retries, and decisions in the agent.
Workflow (Snapshot -> Ref -> Action)
- Run
desktop-ops snapshot --json. - Parse the tree; choose a target by
role,name,value,actions, andenabled. - Use only the node
reffor actions. - Re-run
snapshotafter any UI change. - Record the same sequence as a recipe if you need replay.
Ref Rules
- Treat
refas stable only for the same UI state. - If a command returns
NotFoundorNotActionable, re-snapshot and pick a new ref. - Do not guess or synthesize refs.