Logo vun Computer Use

Computer Use

OrganisatiounBeléift
clacky-ai
computer-use

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.

Iwwersiicht

Editeurclacky-ai
Repositoryopenclacky
Skill-Nummcomputer-use
Stären
1.2K
Forks
111
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum clacky-ai op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Computer Use an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/clacky-ai/openclacky.git /tmp/openclacky
mkdir -p .claude/skills
cp -r /tmp/openclacky/lib/clacky/default_extensions/computer-use/skills/computer-use .claude/skills/computer-use
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Computer Use an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Computer Use automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Computer Use net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

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.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Computer Use?

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.

Firwat Computer Use op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Computer Use besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Computer Use an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Computer Use benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Computer Use benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Computer Use domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Computer Use gratis?

Jo. De Skill gëtt vum clacky-ai ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇