Command Palette

Search for a command to run...

Back to skills
skill № 42655

Antigravity

Delegate a task, investigation, or read-only review to Google's Antigravity CLI (agy, Gemini) as a background job (status, result, cancel, update); delegate…

FreeNo executable scripts
melodic-softwareby melodic-software★ 34 GitHub stars

Install Antigravity in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Antigravity

Arguments. [run <prompt>|review --base <ref>|status [<job>]|result <job>|cancel <job>|update]. A bare request that is not one of the other actions is run.

This skill drives the plugin's external-agents command, which is on the Bash PATH while the plugin is enabled. The command is the only thing that starts agy; never call agy yourself, and never look up the plugin's install path. Delegate only when the user asks for Gemini or Antigravity.

Actions

Action Command Read
run (default): a task (may write) or an investigation (read-only) external-agents run antigravity --use task --mode write [--add-dir <dir>]... [--unsandboxed auto] --prompt-file <file>, or --use investigate reference/run.md
review: agy reviews this branch, read-only external-agents review antigravity --base <ref> [--brief-file <file>] reference/run.md
status, result, cancel external-agents status [<job>], result <job>, cancel <job> reference/jobs.md
update: readiness, CLI facts, version and routing check external-agents update antigravity reference/update.md
Choosing a model or effort --model, --effort for one run; config keys otherwise reference/routing.md

Reporting a run

  • First reply line: Mode: <mode> (<use>), taken from the job, never from what was asked: the mode: line of external-agents status <job> (the job id is the job: <id> line on stderr). A review is always Mode: read-only (review). When the mode ceiling lowered a write request, say so and name the config key the notice names. When the run passed --model or --effort, add the model: and effort: lines from the same status output and why they were chosen.
  • Then the command's first stdout line, then agy's final message verbatim. That message is agy's answer, not yours: relay it, and add your own reading only below it, labeled as yours.
  • Exit codes (scripts/lib/runner.mjs:12): 0 ok, 1 failed, 2 usage or refused, 3 blocked by the mode, 4 agy unavailable or skipped. On 1, 2 or 4, report the first line and the CLI's error and stop: never do the task yourself in agy's place. On 4, point the user to external-agents update antigravity.

Prompts

Write the prompt with the Write tool to a file in a gitignored scratch folder (this repository's convention, else the session scratchpad) and pass it with --prompt-file; the command keeps its own copy in the job folder. Name the files and paths agy should read; never paste file contents, diffs or logs into the prompt. For an investigation, name the paths: a read-only agy run reads files by path and cannot search or list directories. Unless the hold_rule config key turns it off (hold_rule.enabled: false), the command opens every prompt with the hold rule (holdRuleFor in scripts/lib/runner.mjs), naming the labels in hold_rule.labels. While it is on, never ask agy for what it forbids: hold labels, merges and review threads stay with you.

Before a write task, decide its fence (details in reference/run.md): every directory outside the worktree it will write, each passed with --add-dir and named in the prompt (none when the worktree is enough), and whether it needs a command outside agy's sandbox, such as network access or a system service. Pass --unsandboxed auto only then, and say why in the prompt.

Background runs

Run every run and review with the Bash tool's run_in_background: a run can last up to antigravity.timeout_seconds, which can outlast a foreground Bash call (how long one may wait: timeout and output limits), and a call cut off by its own timeout leaves the job without its result. You are notified when it exits, so do not poll. The job id prints only at the end, so while it runs, find it with bare external-agents status. Stop a run with external-agents cancel <job>, which stops agy's whole process tree; stopping the background Bash task alone may leave agy running.

Next

/review:council for a ranked, multi-reviewer review of the same change, with agy as one member.

Gotchas

  • Write is opt-in. Every use runs read-only until the user sets antigravity.uses.task.mode: write in <home>/external-agents.yaml or .local.yaml, or once per machine through the plugin option antigravity_uses_task_mode, which those files override (ADR 0119 decision 2). Pass --mode write with a task that should change files: under a read-only ceiling it runs read-only and prints a notice naming that key, and an --add-dir or --unsandboxed on it is refused. Relay the notice, and never set the key yourself.
  • **A refused action makes the run blocked-by-mode, even with a full
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

  1. 01Bash(external-agents run antigravity:*)
  2. 02Bash(external-agents review antigravity:*)
  3. 03Bash(external-agents status:*)
  4. 04Bash(external-agents result:*)
  5. 05Bash(external-agents cancel:*)
  6. 06Bash(external-agents update antigravity:*)

Bundled files

  • evals/evals.json
  • reference/jobs.md
  • reference/routing.md
  • reference/run.md
  • reference/update.md

FAQ

What does the Antigravity skill do?

Delegate a task, investigation, or read-only review to Google's Antigravity CLI (agy, Gemini) as a background job (status, result, cancel, update); delegate only when asked for Gemini or Antigravity. Use when: 'ask Gemini', 'run this through agy', 'Antigravity review'. Not for a multi-reviewer panel: /review:council.

How do I install the Antigravity skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Antigravity skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Antigravity with