Computer Use logo

Computer Use

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

Overview

Publishershayann07
Repositoryantigravity-computer-use
Skill namecomputer-use
Stars
62
Forks
5
Bundled files
10
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 10 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by shayann07 on GitHub. Read the source before you install it.

Installation

Install the Computer Use AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/shayann07/antigravity-computer-use/tree/main/skills/computer-use
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Computer Use in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Computer Use on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Computer Use is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Computer Use AI skill do?

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.

Why use Computer Use on TypingMind?

Because you install it once and use it with any model. Computer Use is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Computer Use in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/shayann07/antigravity-computer-use/tree/main/skills/computer-use. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Computer Use?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Computer Use?

As many as you like. As long as a model supports skills, you can use Computer Use with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Computer Use AI skill free?

Yes. It is published on GitHub by shayann07 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇