Logo de Computer Use

Computer Use

Comunidade
shayann07
computer-use

Operate and visually verify real desktop applications, including development builds, through the Antigravity native desktop runtime. Use for interactive app testing, screenshots, controls, dialogs, canvas gestures and task verification. You run its terminal commands yourself; never hand the user manual steps to follow.

Visão geral

Publicado porshayann07
Repositórioantigravity-computer-use
Nome da habilidadecomputer-use
Estrelas
62
Forks
5
Arquivos incluídos
10
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 10

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por shayann07 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Computer Use no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/shayann07/antigravity-computer-use/tree/main/skills/computer-use
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shayann07/antigravity-computer-use.git /tmp/antigravity-computer-use
mkdir -p .claude/skills
cp -r /tmp/antigravity-computer-use/skills/computer-use .claude/skills/computer-use
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Computer Use em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Computer Use automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Computer Use não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Computer use

Start the task

Run exactly one ready call in your terminal. For an already open app, list its windows in that call:

{{DESKTOP_COMMAND}} ready --apps

Use the matching window handle for snapshot. If the task calls for opening a known application, start with this instead:

{{DESKTOP_COMMAND}} ready --launch 'APP' --reason 'Open the requested application'

Replace APP with the executable or app bundle. On macOS an app name such as TextEdit also works. Use the returned frame directly. Use plain ready for a readiness check or human handoff.

Keep the returned task_token private. Append each command to the returned task_command_prefix. Do not call status before ready; ready already reports the state you need. Alternatively, append --task <task_token> to all subsequent task commands, including ready after a human handoff and end. For example:

{{DESKTOP_COMMAND}} snapshot --task <task_token> --hwnd <observed-window>

On task_owned, wait for the owning task to finish. Never fetch another conversation's token or issue End on its behalf. Status, app discovery and emergency Stop remain available without the task token. After successful End, discard the old token; a new task starts with ready without --task. If your own task is orphaned with zero grants and no input held, and you lost its token, use stop or the bar’s Stop. A lost response does not justify replaying an input action.

  • If the combined call returned an error, follow its recovery. On plain ready:true, use apps or launch --observe to find the target.
  • If ready:false, perform only the returned next_action, then stop or wait as instructed. Do not invent a recovery path.
  • Every blocked reply carries a recovery object (actor, the exact command or a reason, and safe_when). Follow it instead of guessing.
  • human_start_on_visible_desktop: ask the human to open {{CONTROLLER_START}} once on their normal desktop. Do not switch desktops or repeatedly start helpers. If controls still fail, collect diagnostics and report the incident instead of inventing another launch method.
  • If the launcher fails, report its exact error and stop.

The loop

Use one controller per task. Read unfamiliar command schemas in one describe call. Use the runtime replies to operate the desktop. observe_pending, input_completed:true or a verification failure after launch means discover the existing process, never launch it again blindly. Finish with end. ready starts a task; to check state after end, use status, which never opens a task. If you noticed a skill or runtime problem, keep private notes during the task and, after end, follow the report step in finishing and reports. Report only what the app showed. If it shows no output path, use at most one visible control that opens the output folder, or say the path was not shown. Do not explore history panels, hover for tooltips or search the disk to find it. For physical handoff (a human presses Esc or takes over): at most one bounded input attempt, then stop issuing controller calls and wait for the human. Details in the handoff reference below. If any result shows state: stopped or control_reason: escape, the human stopped you: say so plainly in your reply (for example "You pressed Esc, so I stopped after X"), never call it a clean finish, and do not resume until asked. H/F/N are the observed handle, frame and index. Brackets mark optional flags.

CommandNamed arguments
launch--app EXE_OR_APP_BUNDLE --observe --reason TEXT; on a Mac an app name such as TextEdit also works
snapshot--hwnd H --reason TEXT [--query TEXT] [--max-nodes 500] [--image] [--settle-ms 0..2000]
click--hwnd H --observation-id F --name TEXT --role Button --risk routine --reason TEXT [--physical true] [--park-cursor] [--image] [--max-nodes 500] [--settle-ms 0..2000]; or --index N in place of name/role
click (pixels)--hwnd H --observation-id F --x X --y Y --risk routine --reason TEXT [--image]; X/Y come from that frame's freshly viewed image
move--hwnd H --observation-id F --x X --y Y --risk routine --reason TEXT; hover without clicking
drag--hwnd H --observation-id F --from X,Y --to X,Y --risk routine --reason TEXT (write an array once: X,Y or JSON '[X,Y]')
drag (curve)--points '[[X,Y],[X,Y],...]' in place of from/to: 2–400 points from the viewed image, one continuous stroke through every point
key--hwnd H --observation-id F --keys CHORD --risk routine --reason TEXT [--index N] [--image]; the flag is --keys, also inside run --step key
set_value--hwnd H --observation-id F --name TEXT --role Edit --text VALUE --risk routine --reason TEXT; or --index N
file_dialog--hwnd OWNER --observation-id F --path FILE --action open (or save) --entry-method clipboard --reason TEXT
run--hwnd H --observation-id F --reason TEXT --step COMMAND followed by that step's flags; repeat at most 8 times, omitting per-step owner/frame. Add --images all before the first step for per-step images
wait--hwnd H --until TEXT --timeout-ms 30000 --reason TEXT [--abort-on 'Failed,Cancelled'] [--image]; or --until-gone OBSERVED_TEXT in place of --until
burst--hwnd H --frames 6 --interval-ms 150 --reason TEXT captures a short sequence
wait_change--hwnd H --observation-id F --timeout-ms 30000 --reason TEXT
close_window--hwnd H --reason TEXT
end, statusNo arguments
  • Tree first. Read the returned tree; it answers most questions. Open the actual image.path with the host image viewer only when you need pixel coordinates, when you are making a visual claim (layout, rendering, colour, image content), or when the tree cannot answer. Each image view costs a full model turn. Agent Manager's read_file can view its JPEGs. JSON, a reconstructed picture or an accessibility label does not prove visual behavior. Report an unavailable image viewer.
  • Every action consumes its observation_id and returns a fresh frame and tree. Use that reply directly. Do not take another snapshot merely to get a frame you already have. Pixel targets require a fresh viewed image. Ordinary named actions are tree-only; add --image when pixels or visual verification are needed.
  • Combine predictable steps in one bounded run with 1–8 --step groups. For dozens to hundreds of steps, compute the steps with a script, then run them with plan, never one run per model turn.
  • An app’s “Posted” confirmation or View link confirms publication. A feed can lag after a successful post. Never publish again because a list has not refreshed.
  • Never guess an observation id, index or pixel position across a layout change. Never replay an input action after a lost reply or delivery_unknown:true.

For a dev-build smoke test, use ready --launch, one run --images all with the observed controls, then close_window on the disposable window and end.

Examples only: replace handles, frames, indexes, names and paths with values from the current task and its fresh observation.

{{DESKTOP_COMMAND}} click --hwnd 123 --observation-id FRAME --name Settings --role Button --risk routine --reason 'Open observed settings' --max-nodes 500
{{DESKTOP_COMMAND}} run --hwnd 123 --observation-id FRAME --reason 'Import, start and wait' --step click --name 'Choose files' --role Button --risk routine --step file_dialog --path 'OBSERVED_FILE_PATH' --action open --entry-method clipboard --settle-ms 600 --step click --name Start --role Button --risk routine --step wait --until 'Done' --timeout-ms 30000
{{DESKTOP_COMMAND}} set_value --hwnd 123 --observation-id FRAME --index 9 --text 'Sample' --risk routine --reason 'Set the observed field'
{{DESKTOP_COMMAND}} run --hwnd 123 --observation-id FRAME --reason 'Pick a colour and draw two curves' --step click --name Green --role ListItem --risk routine --step drag --points '[[300,500],[360,470],[430,480],[500,450]]' --risk routine --step drag --points '[[300,560],[380,530],[460,545]]' --risk routine

Where the rest lives

These are packaged operating guidance, not a reason to explore source files. Read only the file the situation names.

WhenRead
ready:false, update_notice, any next_action or recovery stateready replies
A human must press Esc or take overhandoff
Targets, batches, steps files, waits, schemasobserve and act
Dozens or hundreds of steps (drawing, repetitive entry)complex tasks
Typing, paste, Unicode, Open/Save dialogsdialogs and text
Stop, Esc, permissions, input_completed, delivery_unknowncontrol and permissions
macOS, sidecar unavailable, control bar, task ownershipplatform and sidecar
Any other failure coderecovery
Reporting, giving up, feedback, updatesfinishing and reports
Development or QA qualificationapplication verification

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Computer Use faz?

Operate and visually verify real desktop applications, including development builds, through the Antigravity native desktop runtime. Use for interactive app testing, screenshots, controls, dialogs, canvas gestures and task verification. You run its terminal commands yourself; never hand the user manual steps to follow.

Por que usar Computer Use no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Computer Use é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Computer Use no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/shayann07/antigravity-computer-use/tree/main/skills/computer-use. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Computer Use?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Computer Use?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Computer Use com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Computer Use é gratuita?

Sim. A habilidade é publicada no GitHub por shayann07 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇