Mac Computer Use
To3akaRin/mac-computer-use
操作 macOS 桌面应用,探测窗口和自动化接口、截图、读取或修改辅助功能元素、执行鼠标键盘动作,以及通过 CDP 操作内嵌 Chromium 页面。适用于桌面应用自动化与界面验收;普通网页任务优先使用已有浏览器工具。
Drive the desktop — macOS, or the Windows desktop through WSL — when a task needs a native app, dialog, menu bar, file picker or anything the terminal and browser tools cannot reach.
$ npx skills add clacky-ai/openclacky --skill computer-use -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install clacky-ai/openclacky computer-use --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/clacky-ai/openclacky.git skills-src && mkdir -p .claude/skills && cp -r skills-src/lib/clacky/default_extensions/computer-use/skills/computer-use .claude/skills/computer-use && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "computer-use" agent skill from https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use into .claude/skills/computer-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "computer-use", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-useType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add clacky-ai/openclacky --skill computer-use -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install clacky-ai/openclacky computer-use --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clacky-ai/openclacky.git skills-src && mkdir -p .agents/skills && cp -r skills-src/lib/clacky/default_extensions/computer-use/skills/computer-use .agents/skills/computer-use && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "computer-use" agent skill from https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use into .agents/skills/computer-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "computer-use", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add clacky-ai/openclacky --skill computer-use -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install clacky-ai/openclacky computer-use --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clacky-ai/openclacky.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/lib/clacky/default_extensions/computer-use/skills/computer-use .cursor/skills/computer-use && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "computer-use" agent skill from https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use into .cursor/skills/computer-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "computer-use", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/clacky-ai/openclacky.git --path lib/clacky/default_extensions/computer-use/skills/computer-use--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add clacky-ai/openclacky --skill computer-use -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install clacky-ai/openclacky computer-use --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clacky-ai/openclacky.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/lib/clacky/default_extensions/computer-use/skills/computer-use .gemini/skills/computer-use && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "computer-use" agent skill from https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use into .gemini/skills/computer-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "computer-use", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install clacky-ai/openclacky computer-useInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add clacky-ai/openclacky --skill computer-use -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/clacky-ai/openclacky.git skills-src && mkdir -p .github/skills && cp -r skills-src/lib/clacky/default_extensions/computer-use/skills/computer-use .github/skills/computer-use && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "computer-use" agent skill from https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use into .github/skills/computer-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "computer-use", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add clacky-ai/openclacky --skill computer-use -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install clacky-ai/openclacky computer-use --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/clacky-ai/openclacky.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/lib/clacky/default_extensions/computer-use/skills/computer-use .opencode/skills/computer-use && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "computer-use" agent skill from https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use into .opencode/skills/computer-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "computer-use", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
computer-useDrive the desktop — macOS, or the Windows desktop through WSL — when a task needs a native app, dialog, menu bar, file picker or anything the terminal and browser tools cannot reach.
Computer Use is an agent skill from clacky-ai/openclacky. Drive the desktop — macOS, or the Windows desktop through WSL — when a task needs a native app, dialog, menu bar, file picker or anything the terminal and browser tools cannot reach. Screenshot first, then click and type by coordinates read from that image.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files.
It sits in Productivity & Automation, covering Desktop control. It works with macOS. The repository describes itself as: The most Token-efficient open-source AI Agent. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 66b741e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Ruby), which the agent can run.
Shell commands in SKILL.md call:
rubyFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Computer Use loads about 1.7k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 929 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from clacky-ai/openclacky at commit 66b741e, republished under its MIT licence (© clacky-ai). 929 words, ~1,716 tokens.
.claude/skills/computer-use/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.GUI control goes through the script bundled with this skill. The computer-use extension is
off by default, so if you are reading this the user has switched it on.
| Host | Backend | Needs |
|---|---|---|
| macOS | CoreGraphics + Quartz events | Screen Recording and Accessibility grants |
| Windows | PowerShell agent launched from inside WSL | WSL running in an interactive desktop session |
On Windows the script only works from a WSL shell on the same machine: it reaches the
Windows desktop through WSL interop, which inherits the logged-on user's session. Run
from a service, an SSH session or anything on session 0 and doctor will say so —
screenshots come back black and input goes nowhere. This does not work on plain Linux
without Windows, and there is no macOS-side fallback for it.
Everything below is the same on both platforms. Key combos keep the macOS spelling
(cmd, shift), so cmd means the Windows key on Windows.
terminal cannot reach and browser cannot automate.browser tool while it works. If it fails because remote
debugging is unavailable, fall back here immediately — do not open chrome://inspect or run
the browser-setup skill unless the user asks for it.Bring the target app forward if another window may cover it:
ruby <skill_dir>/bin/computer.rb activate "WorkBuddy"It needs no extra permission on either platform. If the name does not match (localized app names differ), it prints what is actually frontmost — take a screenshot to see the real window order instead of guessing.
Screenshot — with a labelled grid when you will need to click precise spots:
ruby <skill_dir>/bin/computer.rb screenshot --gridIt prints image WxH scale S origin (x,y) and writes a sidecar .json next
to the PNG. The grid image is the one to read: its magenta lines and pixel
labels give exact coordinates, so prefer it over writing your own crop or
PIL overlay scripts. --grid 100 sets a denser step; the default is 200.
Read that PNG with the read tool — it is attached to the conversation as an
image. Need to read small text, or click inside a region? Crop and upscale it
first, with --grid:
ruby <skill_dir>/bin/computer.rb zoom 400,300,900,600 --grid --out /tmp/clacky-shot-2.pngAlways pass --grid: its labels are in the zoomed image's own pixel space,
ready to feed straight into click, so you never convert coordinates
yourself. Hand-converting a downscaled image is the usual source of
misclicks — do not do it. zoom also pads the region it captures, so the
origin (x,y) it prints is not the region you asked for; the grid labels are
what to trust, not the origin.
Note: the read tool downscales every image to 800px wide by default. That is
fine for --grid captures; pass image_max_width: 0 only when reading a
screenshot --original capture, since re-downscaling would defeat it.
Act, always passing the image you are looking at:
ruby <skill_dir>/bin/computer.rb click 812 430 --from /tmp/clacky-shot-1.png
ruby <skill_dir>/bin/computer.rb type "hello world"
ruby <skill_dir>/bin/computer.rb key "cmd+s"--from accepts the grid copy too (shot-1-grid.png); it resolves back to
the capture's sidecar automatically.
type and key go to whatever holds the focus, and the script cannot tell
where that is — a key aimed at a field that never got focus lands on another
panel and fails silently. Screenshot to confirm the focus is where you mean
it, and click the field once before typing or sending. If a field ignores
type altogether (common with IME-backed native inputs), paste instead —
pbcopy on macOS, clip on Windows — then key "cmd+v".
Screenshot again to verify the result.
Follow this order and do not invent your own image-processing pipeline (no PIL scripts, no pixel counting):
--grid when you need to click something and coordinates are not obvious.zoom on a region to read small text, zoom --grid when it must be clicked.screenshot --original (read with image_max_width: 0) when small detail
is needed across many regions at once and zooming one by one costs more
rounds — full resolution costs many more tokens, so prefer zoom first.X Y are pixels of the image you last looked at, origin at its top-left corner.--from <that png>. Without it the script falls back to the most recent
screenshot if it is under 120 seconds old; otherwise it fails and you must screenshot again.| Command | Notes |
|---|---|
screenshot [--out PATH] [--display N] [--max-width W] [--grid [STEP]] | prints image size, scale, display origin; --grid blends labelled pixel lines |
zoom x1,y1,x2,y2 [--out PATH] [--grid [STEP]] | crop + upscale for reading small text |
click X Y [--from IMG] [--button left/right/middle] [--count 1-3] [--mods cmd,shift] | |
move X Y [--from IMG] | |
drag X1 Y1 X2 Y2 [--from IMG] | |
scroll X Y --dx N --dy N [--from IMG] | |
type "text" | types into the focused field |
key "cmd+shift+t" [--repeat N] | |
hold "shift" --duration 1.5 | holds modifiers while other actions run |
cursor | the pointer position: Windows reads it, macOS reports unknown |
activate "AppName" [--wait SECONDS] | brings an app to the front, no automation grant needed |
doctor | platform, backend and permission self-check |
0 ok · 2 permission missing or backend unusable · 3 screenshot state
missing or stale · 4 disabled by ~/.clacky/computer.yml.© clacky-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in lib/clacky/default_extensions/computer-use/skills/computer-use of clacky-ai/openclacky.
Open the folder on GitHubat commit 66b741e
Computer Use next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Computer Use this skillclacky-ai/openclacky | 1.2k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Mac Computer UseTo3akaRin/mac-computer-use | 1.1k | 1 repos | ~495 | Automated safety check: Pass | MIT | |
| Verify Reelrselbach/reel | 118 | — | ~2k | Automated safety check: Pass | Unlicense | |
| Steerdisler/mac-mini-agent | 272 | — | ~2.1k | Automated safety check: Pass | None | |
| Computer Usekunpengtalk/PeakCode | 166 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Openbridge DebugAFK-surf/OpenBridge | 430 | — | ~2.2k | Automated safety check: Pass | MIT |
To3akaRin/mac-computer-use
操作 macOS 桌面应用,探测窗口和自动化接口、截图、读取或修改辅助功能元素、执行鼠标键盘动作,以及通过 CDP 操作内嵌 Chromium 页面。适用于桌面应用自动化与界面验收;普通网页任务优先使用已有浏览器工具。
rselbach/reel
Verify Reel, the macOS menu-bar screen recorder, by launching a disposable app bundle and driving its real UI with Computer Use.
disler/mac-mini-agent
macOS GUI automation CLI. An agent skill from disler/mac-mini-agent.
kunpengtalk/PeakCode
Drive a macOS app through the computer tool — read its accessibility tree, act on elements, and use real input only when the tree cannot reach the target.
AFK-surf/OpenBridge
Debug and validate OpenBridge on a real macOS desktop through mini-machine plus full VNC computer-use.
vellum-ai/vellum-assistant
Automate native macOS apps and system interactions via osascript (AppleScript)
clacky-ai/openclacky
Install skills from a zip URL or local zip file path. An agent skill from clacky-ai/openclacky.
clacky-ai/openclacky
Generate or edit images, videos, or audio in the current task.
clacky-ai/openclacky
Configure the browser tool for Clacky. An agent skill from clacky-ai/openclacky.
clacky-ai/openclacky
Create, manage, and run scheduled automated tasks (cron jobs) in Clacky.
clacky-ai/openclacky
Deploy Rails applications to Railway. An agent skill from clacky-ai/openclacky.
clacky-ai/openclacky
Manage MCP (Model Context Protocol) servers for openclacky: add, list, probe, remove, reconfigure.
Works with
Categories
Drive the desktop — macOS, or the Windows desktop through WSL — when a task needs a native app, dialog, menu bar, file picker or anything the terminal and browser tools cannot reach. Computer Use is an agent skill from clacky-ai/openclacky. Drive the desktop — macOS, or the Windows desktop through WSL — when a task needs a native app, dialog, menu bar, file picker or anything the terminal and browser tools cannot reach.
Computer Use fits situations like: tasks that involve Desktop control.
Run `npx skills add clacky-ai/openclacky --skill computer-use -a claude-code`. Or copy the skill folder (lib/clacky/default_extensions/computer-use/skills/computer-use in clacky-ai/openclacky) into .claude/skills/computer-use in your project. Claude Code loads it when a task matches its description.
Run `npx skills add clacky-ai/openclacky --skill computer-use -a codex`. Or copy the skill folder (lib/clacky/default_extensions/computer-use/skills/computer-use in clacky-ai/openclacky) into .agents/skills/computer-use in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add clacky-ai/openclacky --skill computer-use -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/computer-use, .gemini/skills/computer-use, .github/skills/computer-use and .opencode/skills/computer-use in your project.
Going by SKILL.md and its folder, Computer Use needs Ruby for the scripts in its folder and the command-line tools its instructions call (ruby).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Computer Use is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Computer Use: Mac Computer Use (To3akaRin/mac-computer-use, 1.1k stars), Verify Reel (rselbach/reel, 118 stars), Steer (disler/mac-mini-agent, 272 stars) and Computer Use (kunpengtalk/PeakCode, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
clacky-ai (a GitHub organization) maintains it in clacky-ai/openclacky, which has 1,204 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 8, 2026.
Source: clacky-ai/openclacky on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.