Antigravity 电脑操控 Skill
https://github.com/user-attachments/assets/67d22708-ac70-44bf-9570-acfd81f5a3ae
<sub>One prompt in Antigravity. The agent drove Paint through a stroke plan scripted from the photo: 2,553 strokes in 40 exact colours, about an hour of real painting, shown 200× faster. The bar and glow are drawn in, since they're hidden from screen recordings by default. How it was painted</sub>
Type /computer-use in Antigravity and say what you want done. The agent reads the app, then clicks, types, drags and fills in dialogs with your real mouse and keyboard. It uses the model you already have: no API key, no second LLM, no MCP server.
Install
Ask your agent. Paste this into Antigravity:
Install the computer use skill from https://github.com/shayann07/antigravity-computer-use
with the one-line installer for this computer. Show me the command before you run it.
Or run one line. It checks the release's SHA-256 before installing anything.
# Windows, PowerShell
irm https://raw.githubusercontent.com/shayann07/antigravity-computer-use/main/install.ps1 | iex
# macOS, Terminal (then grant Accessibility and Screen Recording when asked)
curl -fsSL https://raw.githubusercontent.com/shayann07/antigravity-computer-use/main/install.sh | sh
Using another agent? Any agent with a local terminal and access to the interactive Windows or macOS desktop can follow the installed skill. In bundles built after 1.0.6, use --also-codex, --also-claude-code, or repeat --skill-root for other agents that load SKILL.md. In Codex, invoke $antigravity-computer-use. Install for your agent
Windows. Download AntigravityComputerUse-<version>-windows-x64.zip and SHA256SUMS.txt from the latest release, then in PowerShell, in the download folder:
$zip = Get-Item .\AntigravityComputerUse-*-windows-x64.zip
$want = ((Select-String -Path .\SHA256SUMS.txt -SimpleMatch $zip.Name).Line -split '\s+')[0]
(Get-FileHash $zip -Algorithm SHA256).Hash.ToLower() -eq $want # must print True
Expand-Archive $zip -DestinationPath .
.\AntigravityComputerUse-windows-x64\install.cmd --integration direct --sidecar
macOS. Download the macos-arm64 (Apple silicon) or macos-x64 (Intel) archive and SHA256SUMS.txt, then in Terminal, in the download folder:
shasum -a 256 -c SHA256SUMS.txt --ignore-missing # must print OK
tar -xzf AntigravityComputerUse-*-macos-*.tar.gz
Run macos-bundle/install.command, then Setup.Mac.Permissions.command. Mac guide
Then open Antigravity and try:
/computer-use
Open Paint, draw a red circle in the middle, save it to my Desktop as circle.png.
See what the agent is doing
A soft glow outlines the window it is working in, and a small bar says what it is doing right now.
Approvals before it touches any app
Nothing runs without your OK: through Antigravity's own approvals with the one-line install, or with this card in standalone mode, where saving, pasting and deleting ask again. Terminals and code editors are always click-only, so it can't type commands into them.
One key stops computer use
<kbd>Esc</kbd> stops it at once, wherever you are, and lets go of every key and button. Ask it to carry on and it starts fresh. Sign-ins and admin prompts are always left to you.
Long desktop automation jobs in one command
plan sends many steps at once, so the model doesn't have to think between every click. A 30-turn task drops to about 9.
The portrait at the top took one prompt. Gemini 4 Hydrogen ran a single plan of 2,832 steps that pick 40 exact colours in Paint's colour editor and paint each one as long back-and-forth rows. It ran unattended for about 65 minutes.
Learn more
Install guide · Mac guide · Security · Code signing · Changelog · Contributing
MIT licensed. Not affiliated with Google. Built on ridelink0/claude-computer-use; see UPSTREAM.json.