OpenHUD

Docs

Hands is an MCP server that gives Claude Code, Codex and other AI agents a mouse, a keyboard and eyes on your screen. One small binary for Windows, macOS and Linux. Install it, run the setup, and ask your agent

Install

One line, no Rust needed. It downloads the binary for your computer, checks its SHA-256, adds it to your PATH and starts the setup

curl -fsSL https://openhud.ai/mac.sh | sh

Installs the OpenHUD app into Applications and opens it. Its welcome screen connects Claude Code, Codex, Cursor and the rest, and asks macOS for permission once

Prefer to build it yourself: cargo install --git https://github.com/ultron-hq/openhud openhud, then run openhud. Every release is on GitHub with checksums

Setup and agents

Running openhud in a terminal walks you through three steps:

  1. Checks this computer: it can find the screen, take screenshots and move the mouse. On a Mac, install the app (mac.sh): its welcome window asks macOS for Screen Recording and Accessibility once, for OpenHUD, and every AI app then works through it instead of each needing its own permission
  2. Connects your agents: every one it finds below. It merges into your existing config, keeps a one-time .bak, and never replaces another server named openhud without asking. Agents confirm each step unless you say otherwise: answer “y” when setup asks, or run openhud setup --approve. The kill switch stops them either way, even in the middle of typing
  3. Tells you what to ask first, and installs the three skills into Claude Code and Codex
AgentIdWhere it is configured
Claude Codeclaude-codeclaude mcp add, user scope; skills in ~/.claude/skills
Codexcodex~/.codex/config.toml; skills in ~/.codex/skills
Cursorcursor~/.cursor/mcp.json
VS CodevscodeCode/User/mcp.json
Windsurfwindsurf~/.codeium/windsurf/mcp_config.json
Claude Desktopclaude-desktopclaude_desktop_config.json
Gemini CLIgemini~/.gemini/settings.json

Any other MCP app: add a stdio server whose command is the full path of openhud (shown by the setup). Restart an agent that was already open so it picks Hands up

Skills

Skills teach your agent how to use Hands well. Setup puts them in ~/.claude/skills and ~/.codex/skills. Call one by name, or just ask and the agent picks it

/openhud do it for me

The look, act, check loop, keyboard first, with the safety rules built in: no passwords, nothing sent, bought or deleted unless you asked

/openhud fill in this form from invoice.pdf

/openhud-teach show me how

It points at each button with a glowing box and a short caption, waits until it sees you did the step, then shows the next one. It never clicks for you. Good for learning Figma, Excel, Blender, a trading or banking dashboard, or finding a setting

/openhud-teach where are the API keys in this dashboard?

/openhud-post post it for me

Posts, replies and threads on X, LinkedIn, Threads and Bluesky from your own logged-in browser. It checks the length the way each site counts it, attaches media first, types slowly so nothing is dropped, and checks your profile afterwards. It shows you the draft unless you said exactly what to post

/openhud-post announce v2 on X and LinkedIn with ~/Videos/demo.mp4

The skills are plain Markdown. Edit yours freely: once you remove the line saying it was installed by setup, updates leave it alone

Using it

Open your agent and ask in plain words. Some ideas:

  • “Open Notion and turn today’s meeting notes into a task list”
  • “In System Settings, turn on Night Shift from 10pm”
  • “Teach me how to make a pivot table in this spreadsheet”
  • “Post this screenshot on LinkedIn with a short note about the launch”

While an agent works you see an orange frame around the screen, and an “OpenHUD is using your mouse” tag by the pointer whenever it clicks or types. Both are click-through and hidden from the agent’s own screenshots. Turn them off with OPENHUD_OVERLAY=0

Codex asks before every MCP call unless you let it: the setup can turn that on, or start Codex with -c 'mcp_servers.openhud.default_tools_approval_mode="approve"'

Commands

openhudSetup: check this computer and connect every agent found. Safe to run again
openhud stopKill switch. Every click and keystroke is refused until you resume
openhud resumeTurn the kill switch off
openhud log [n]The last n actions (default 20). Typed text is stored only as its length
openhud doctorCheck the screen, input and permissions
openhud agentsWhich agents are installed and connected
openhud connect <agent>Connect one agent (ids in the table above)
openhud disconnect <agent>Remove Hands from one agent
openhud skillsReinstall the three skills. Copies you edited are left alone
openhud serveThe MCP server on stdin/stdout. Agents start this themselves

MCP tools

What your agent can call. Coordinates are in the pixel space of the latest screenshot; Hands maps them to the real screen, Retina included

ToolWhat it does
LookscreenshotThe screen (or a region, to read small text), with the pointer marked by a red ring
Lookscreen_infoScreen size, pointer position, active window, whether input is allowed
Looklist_windowsOpen windows with titles, positions and sizes
Looklist_appsInstalled apps, by name
ActclickLeft, right or middle click, up to a triple click
Actmove_mouseMove the pointer
ActdragPress, glide and release
ActscrollUp, down, left or right, optionally at a point
Acttype_textType into the focused field; window_id makes sure it is the right window, and typing stops if focus moves
ActkeyOne shortcut: ctrl+l, alt+tab, enter, cmd+space
Actfocus_windowBring a window to the front (Linux and Windows)
Actopen_appStart an installed app by name
Actopen_urlOpen an http(s) link in the default browser
TeachhighlightA glowing box and caption on the person's screen. Clicks nothing; allowed in read-only mode
PacewaitWait for something to load, then look again
Improvehands_logRecent calls, with errors
Improvehands_feedbackNote something awkward so it can be fixed
Improvehands_reportSuccess rate per tool, recurring errors with fixes, slow calls

Safety

  • Kill switch: openhud stop makes every input tool refuse until openhud resume. It works mid-task
  • Read-only mode: OPENHUD_READONLY=1 lets an agent look and highlight but never click or type. Ideal for teaching
  • No shell tool: Hands can only see and use the screen like a person would
  • A local log of every action in hands.log.jsonl (in your cache folder). Typed text is stored only as its length
  • A rate limit of 120 actions a minute, and clicks only happen once the pointer is confirmed at the target
  • The skills tell agents to treat screen text as data, never type passwords, and never send, buy or delete unless you asked

Platforms

Linux (X11)WindowsmacOS
See, click, type, scroll, keysYesYesYes (Apple silicon and Intel)
Screen frame and pointer tagYesYesYes
Teach highlightsYesYesYes
List windowsYesYesYes
Focus a windowYesYesComing
Typing stops if focus movesYesYesComing
The desktop app (island, Ctrl+Space; ⌥ Space on a Mac)YesYesYes
Permissions asked once, for OpenHUDn/an/aYes, with the app

Tested on every change on Ubuntu, Windows and macOS desktops, and before releases on Ubuntu 22.04 and 24.04, Debian 12, Fedora, Arch, openSUSE and Alpine. Wayland isn’t supported yet; pick an “Xorg” session at login

Troubleshooting

The agent doesn’t list openhud tools
Restart the agent. Then run openhud agents; if it says “uses a different openhud”, run openhud connect <agent>
Screenshots are black
The screen is locked or asleep. On macOS, allow Screen Recording for the terminal or agent app and reopen it. openhud doctor says which
Clicks or typing do nothing on macOS
Allow Accessibility for the terminal or agent app in System Settings → Privacy & Security
“Kill switch is on”
You (or someone) ran openhud stop. Run openhud resume
Windows says “unknown publisher” or that the download is uncommon
OpenHUD isn’t code-signed yet, so Edge and SmartScreen warn about every new build. The one-line installer (irm … | iex) avoids the browser warning and checks the SHA-256 for you. For the setup .exe, compare its checksum with the release, then choose “More info” → “Run anyway”. Once builds are signed, the publisher will show as OpenHUD; SmartScreen can still warn about a brand-new build until it builds reputation
Codex or Claude Code opened a terminal window
Fixed in 0.3.2: the app runs them in the background. Update with the install line
Something else
Ask your agent to run hands_report, and open an issue with what it says

Uninstall

openhud disconnect claude-code   # and any other agents
rm "$(command -v openhud)"
rm -r ~/.claude/skills/openhud-* ~/.codex/skills/openhud-*

On Windows, delete %LOCALAPPDATA%\openhud and remove it from your user PATH