agent-desktop-omarchy
agent-desktop-omarchy
agent-desktop reads an app's controls and clicks them through
the accessibility bus. On a Wayland session outside GNOME it refuses the rest: press, pointer
input, a screenshot of one window, focus-window. This skill fills that gap with
cage, a compositor that runs one app. A Wayland desktop has
one keyboard and one cursor, and they belong to the user. A cage has a keyboard of its own, so
keys sent to a session cannot reach the user's windows.
Load the agent-desktop skill first. It owns snapshot, refs, click, the retry rules and the
error codes, and this file does not repeat them.
In this file C start NAME is notation for the Bash call
bash ${CLAUDE_SKILL_DIR}/scripts/cage.sh start NAME. Type the whole path on every call, so
allowed-tools matches. Each command prints its verdict first (STARTED, TYPED, SHOT,
REFUSED). C alone lists the commands. NAME is a label you choose, such as calc.