/antigravity:handoff [--dir <repo>] [--tier flash|flash-lo|pro] [--verify "<cmd>"] [--tests a_test.go,b_test.go] <requirement>from antigravity
Delegates a test-covered task to Antigravity (agy/Gemini) and verifies only by running tests. Accepts --dir, --tier, --verify, --tests flags and a requirement string.
Ships in antigravity. Installing the plugin adds it to Claude Code.
Hand the following task to Antigravity as a whole, through the plugin's agy-handoff
wrapper, and act as the verifier only.
Requirement: $ARGUMENTS
Why this shape and not the usual delegation (measured on 8 merged pull requests from public Go repositories, 2 runs each, 2026-09; details in PR #91): delegating implementation file by file while you read the code and write specifications cost 1.3–1.7× a solo run. Handing the whole task over and verifying only by running the tests cost 0.58× a solo Opus 5 run per passing task (0.43× on large tasks, ≥700 changed lines; more than solo on small ones), 16/16 tests passed, and the Claude side alone was 0.16×. The cost you avoid is your reading: every file you open to "check" comes back as cache-read tokens on every later turn. A blinded reviewer rated hand-off code 0.6 of 5 below a solo run (dead code, duplicated helpers, unasked-for options) and about 0.2 below the human-merged PR — so the result gets the human review a first draft would get, after the tests are green, not from you.
Do this:
agy-delegate --digest --dir . "…"), or write the tests, but do not
open source files yourself.agy-handoff --dir . --tests <test files> - <<'REQ'
<the requirement>
REQ
--verify is detected from go.mod / package.json / Cargo.toml / pyproject.toml
/ Makefile; pass it explicitly when the repository's gate is something else. Expect
20–120 minutes for a real feature. In an interactive session, Claude Code's
Bash tool cuts a call off after its timeout — add --background, then poll with
agy-job status <id> and collect with agy-job result <id>; do not touch the repository
meanwhile. (Headless claude -p: run it synchronously and raise the Bash timeout.)PASS / FAIL /
TEST FILES MODIFIED, the delegation count, the change summary, what the executor said.Remember the measured boundaries: small tasks lose money here; the arm took 3–4× the wall-clock of a solo run; and asking the executor to review its own diff afterwards changed the review score by 0.07 for about $1 a run — skip that.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub yuting0624/antigravity-for-claude-code --plugin antigravity11 commands in this plugin
/cancelCancel a running background Antigravity (agy) delegation job./cloud-run-debugCloud Run DebugDiagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers the root cause and proposes a fix. Read-only by default; --apply writes the fix to a branch./delegateDelegate a well-scoped subtask to Antigravity (agy/Gemini) under cost discipline, then verify./mediaUnderstand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a timestamped digest while the full transcript goes to a file./migrateMigrate an existing Claude Code setup (skills, memory, CLAUDE.md, MCP, plugins, permissions) to the Antigravity CLI./researchClaude-orchestrated deep research — Antigravity (agy/Gemini) does the grounded web legwork; Claude plans, verifies the citations, and synthesizes.Other plugins' commands for the same job