Antigravity CLI

SkillWeb & browsing

This skill lets your AI use the Antigravity command-line tool to analyze code repositories and complete coding tasks on your behalf. Once added, you can hand work to Antigravity straight from a conversation instead of running it yourself. It also makes it easy to see how Antigravity's results stack up against another coding agent.

Available today. Use it from your connected AI after setup.

Add the skill, then ask your AI to send a task to Antigravity, such as analyzing a project or finishing a coding job.

Then ask your AI: use the Antigravity CLI skill

What your AI can do with it

  • Analyze a code repository and report back what it finds
  • Carry out coding tasks in a repository for you
  • Delegate work to Antigravity whenever you ask
  • Run Antigravity in the background without opening it yourself
  • Compare Antigravity's results with another coding agent

What this skill tells your AI

The instructions your AI receives, as published by cherryhq/cherry-studio in resources/code-cli-skills/code-mate-antigravity/SKILL.md and read by ahel’s review.

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v agy. If it is missing, stop and ask the user to install Antigravity CLI in Code Mate.
  3. Run one task and exit:
agy -p "<prompt>" --output-format json

Pass the prompt as one quoted argument. Print mode waits up to --print-timeout (5m by default); pass a shorter value when the caller's own timeout is tighter.

Parse the JSON result and read its status field: anything other than a success status is a failure, and error carries the reason. Treat unparseable output as failure too. Never start interactive Antigravity or an authentication flow.

Authentication And Permissions

Antigravity refuses to run headlessly until it is signed in — it returns status: "ERROR" with authentication failed or timed out and tells you to run agy to log in. Do not do that: stop and ask the user to finish Antigravity setup in Code Mate. Never request, read, print, or copy credentials.

Headless mode inherits the permission mode persisted in user settings, and reading and writing files inside the active workspace are auto-approved by default — the default is not a read-only boundary, and a prompt cannot make it one. Do not run it against a writable project for a read-only task. Use a disposable or read-only copy instead. Run against the real project only when the user explicitly requests workspace changes, constrain the directory, and inspect the diff afterward. Never pass --dangerously-skip-permissions, which auto-approves every tool request including outside the workspace.

Example: for an approved edit, ask Antigravity to touch only named files, run it in that project, parse the response and any reported error, and inspect the resulting diff before reporting success.

Signals

GitHub stars
52k
Forks
5k
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
code-mate-antigravity
Source
github.com/cherryhq/cherry-studio