Logo di Computer Use

Computer Use

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

Panoramica

Autoreclacky-ai
Repositoryopenclacky
Nome della skillcomputer-use
Stelle
1.2K
Fork
111
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 1 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da clacky-ai su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Computer Use in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Computer Use in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Computer Use non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Computer Use non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Computer Use su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Computer Use è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Computer Use in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/clacky-ai/openclacky/tree/main/lib/clacky/default_extensions/computer-use/skills/computer-use. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Computer Use?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Computer Use?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Computer Use: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Computer Use è gratuita?

Sì. È pubblicata su GitHub da clacky-ai con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇