Agent skill

Computer Use

by clacky-ai in 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.

MITAuto-check passedProductivity & Automation

Install Computer Use

skills CLI
$ npx skills add clacky-ai/openclacky --skill computer-use -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install clacky-ai/openclacky computer-use --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ 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-src

Use ~/.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/

Facts

Skill name
computer-use
GitHub stars
1.2k
Token cost
~1.7k tokens
SKILL.md length
929 words
Files
2
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 5 steps: Bring the target app forward if another… → Screenshot — with a labelled grid when… → Read that PNG with the read tool — it is… → …
  • Tasks that involve Desktop control
  • SKILL.md covers Platform support, When to use it, Workflow and Locating elements, plus 3 more sections
  • Runs Ruby scripts from its folder; calls ruby

What it does

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.

When your agent uses it

  • Tasks that involve Desktop control

Example prompts

  • “/computer-use”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Bring the target app forward if another window may cover it
  2. Screenshot — with a labelled grid when you will need to click precise spots
  3. Read that PNG with the read tool — it is attached to the conversation as an
  4. Act, always passing the image you are looking at
  5. Screenshot again to verify the result.

What it can do on your machine

Read from SKILL.md and the folder at commit 66b741e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships script files (Ruby), which the agent can run.

    Shell commands in SKILL.md call:

    • ruby

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

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.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from clacky-ai/openclacky at commit 66b741e, republished under its MIT licence (© clacky-ai). 929 words, ~1,716 tokens.

Download SKILL.mdSave it as .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.
name
computer-use
description
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.
name_zh
电脑操控
description_zh
操控桌面上的原生应用、弹窗、菜单栏和文件选择器,处理终端和浏览器够不着的操作,支持 macOS 和 WSL 下的 Windows。

Computer Use (macOS and Windows)

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.

Platform support

HostBackendNeeds
macOSCoreGraphics + Quartz eventsScreen Recording and Accessibility grants
WindowsPowerShell agent launched from inside WSLWSL 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.

When to use it

  • Native apps, dialogs, menu bars, installers, file pickers, System Settings.
  • Anything on screen that terminal cannot reach and browser cannot automate.
  • For web automation prefer the 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.

Workflow

  1. Bring the target app forward if another window may cover it:

    bash
    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.

  2. Screenshot — with a labelled grid when you will need to click precise spots:

    bash
    ruby <skill_dir>/bin/computer.rb screenshot --grid

    It 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.

  3. 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:

    bash
    ruby <skill_dir>/bin/computer.rb zoom 400,300,900,600 --grid --out /tmp/clacky-shot-2.png

    Always 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.

  4. Act, always passing the image you are looking at:

    bash
    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".

  5. Screenshot again to verify the result.

Show full SKILL.md (349 more words)Show less

Locating elements

Follow this order and do not invent your own image-processing pipeline (no PIL scripts, no pixel counting):

  1. Plain screenshot for overall layout.
  2. --grid when you need to click something and coordinates are not obvious.
  3. zoom on a region to read small text, zoom --grid when it must be clicked.
  4. 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.
  5. Only then click, using the coordinates read off the image you last looked at.

Coordinates

  • X Y are pixels of the image you last looked at, origin at its top-left corner.
  • Always pass --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.
  • Never carry coordinates over from an older screenshot — the window may have moved.

Commands

CommandNotes
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.5holds modifiers while other actions run
cursorthe pointer position: Windows reads it, macOS reports unknown
activate "AppName" [--wait SECONDS]brings an app to the front, no automation grant needed
doctorplatform, backend and permission self-check

Safety

  • Ask the user before changing system, browser or application settings, and before anything destructive (deleting files, sending messages, installing software).
  • Exit codes: 0 ok · 2 permission missing or backend unusable · 3 screenshot state missing or stale · 4 disabled by ~/.clacky/computer.yml.
  • On a permission error, relay the System Settings → Privacy & Security grant it asks for and wait for the user. Do not retry in a loop.

© 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

Files

SKILL.md and 1 other file in lib/clacky/default_extensions/computer-use/skills/computer-use of clacky-ai/openclacky.

  • SKILL.md
  • bin/computer.rb

Open the folder on GitHubat commit 66b741e

Compare with similar skills

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.

Computer Use compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Computer Use this skillclacky-ai/openclacky1.2k—~1.7kAutomated safety check: PassMIT
Mac Computer UseTo3akaRin/mac-computer-use1.1k1 repos~495Automated safety check: PassMIT
Verify Reelrselbach/reel118—~2kAutomated safety check: PassUnlicense
Steerdisler/mac-mini-agent272—~2.1kAutomated safety check: PassNone
Computer Usekunpengtalk/PeakCode166—~2.5kAutomated safety check: PassMIT
Openbridge DebugAFK-surf/OpenBridge430—~2.2kAutomated safety check: PassMIT

Similar skills

  • Mac Computer Use

    To3akaRin/mac-computer-use

    操作 macOS 桌面应用,探测窗口和自动化接口、截图、读取或修改辅助功能元素、执行鼠标键盘动作,以及通过 CDP 操作内嵌 Chromium 页面。适用于桌面应用自动化与界面验收;普通网页任务优先使用已有浏览器工具。

    1.1k GitHub starsUsed in 1 repo~495 tokens
    Productivity & AutomationAuto-check passed
  • Verify Reel

    rselbach/reel

    Verify Reel, the macOS menu-bar screen recorder, by launching a disposable app bundle and driving its real UI with Computer Use.

    118 GitHub stars~2k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Steer

    disler/mac-mini-agent

    macOS GUI automation CLI. An agent skill from disler/mac-mini-agent.

    272 GitHub stars~2.1k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check passed
  • Computer Use

    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.

    166 GitHub stars~2.5k tokensUpdated 16 days ago
    Productivity & AutomationAuto-check passed
  • Openbridge Debug

    AFK-surf/OpenBridge

    Debug and validate OpenBridge on a real macOS desktop through mini-machine plus full VNC computer-use.

    430 GitHub stars~2.2k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • macOS Automation

    vellum-ai/vellum-assistant

    Automate native macOS apps and system interactions via osascript (AppleScript)

    1.4k GitHub stars~778 tokensUpdated today
    Productivity & AutomationAuto-check passed

More from clacky-ai/openclacky

All 20 skills in this repo
  • Skill Add

    clacky-ai/openclacky

    Install skills from a zip URL or local zip file path. An agent skill from clacky-ai/openclacky.

    1.2k GitHub stars~560 tokensUpdated today
    Auto-check passed
  • Media Gen

    clacky-ai/openclacky

    Generate or edit images, videos, or audio in the current task.

    1.2k GitHub stars~7.3k tokensUpdated today
    Auto-check passed
  • Browser Setup

    clacky-ai/openclacky

    Configure the browser tool for Clacky. An agent skill from clacky-ai/openclacky.

    1.2k GitHub stars~3.1k tokensUpdated today
    Auto-check: notes
  • Cron Task Creator

    clacky-ai/openclacky

    Create, manage, and run scheduled automated tasks (cron jobs) in Clacky.

    1.2k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Deploy

    clacky-ai/openclacky

    Deploy Rails applications to Railway. An agent skill from clacky-ai/openclacky.

    1.2k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • MCP Manager

    clacky-ai/openclacky

    Manage MCP (Model Context Protocol) servers for openclacky: add, list, probe, remove, reconfigure.

    1.2k GitHub stars~3k tokensUpdated today
    Auto-check passed

Works with

Questions about Computer Use

What does Computer Use do?

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.

When should I use Computer Use?

Computer Use fits situations like: tasks that involve Desktop control.

How do I install Computer Use in Claude Code?

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.

How do I install Computer Use in Codex?

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.

Can I use Computer Use in Cursor, Gemini CLI or GitHub Copilot?

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.

What does Computer Use need to run?

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).

Does Computer Use access the network?

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.

Is Computer Use safe to install?

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.

What licence does Computer Use use?

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.

How many tokens does Computer Use use?

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.

What are the alternatives to Computer Use?

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.

Who maintains Computer Use?

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.