Antigravity - Large-context task delegation

VerifiedCaution

Use the Antigravity CLI (agy) for code review, adversarial review, debugging, or long-running background tasks with a large context window.

Sby Skills Guide Bot
DevelopmentIntermediate
7/28/2026
Claude CodeCodex
#code-review#adversarial-review#background-tasks#large-context#google-antigravity

Recommended for

Automated summary

This skill wires the Google Antigravity CLI (agy) into the host agent so code reviews, investigations, and long-running tasks can be delegated.

Strengths

  • Delegates diff reviews and investigations as background jobs with an id, then retrieves them via status and result.
  • Leverages agy's large context window for cross-file review and repo-wide impact analysis.
  • Identical verbs across Claude Code, Codex CLI, native agy, and standalone npx usage.
  • When a worker hits the auth prompt, the OAuth URL is surfaced through status so auth can be completed from a non-interactive session.

Limitations

  • agy 1.0.x is OAuth-only with no API-key path, so setup must be run once per machine and account.
  • Assumes the agy binary is already installed and reachable; the plugin does not install it.
  • Not suited to tight interactive back-and-forth, which is capped by --print round trips.
  • Review scope is the current git diff or a base ref, not an arbitrary set of files.
When to use it

Use it when you want a second opinion, an adversarial pre-ship review, or to hand a long background investigation or large-context analysis off to agy.

When not to use it

Avoid it for trivial one-line edits or anything that needs faster interactive feedback than agy's print round trips allow.

Security analysis

Caution
Quality score82/100

The skill delegates code review, debugging, and long-running tasks to an external Google service using the agy binary. While it does not include destructive commands or obfuscated payloads, it relies on network calls that transmit repository content and uses stored OAuth tokens, so it warrants caution rather than being considered completely safe.

Findings
  • •Invokes an external CLI (agy) via Bash, which may execute arbitrary scripts under scripts/commands/.
  • •Sends git diffs and repository content to Google Antigravity's cloud service, potentially exposing proprietary code or sensitive information.
  • •Uses OAuth credentials stored locally and used by background workers, which could be misused if the worker or job IDs are compromised.
How this analysis is made

Examples

Adversarial review of a branch
$antigravity review --base main
Background CI investigation
$antigravity rescue investigate why the integration tests started failing after PR #42
Long migration plan
$antigravity task --continue draft a migration plan from Sequelize to Drizzle

name: antigravity description: Use Google Antigravity CLI (agy) for code review, adversarial review, debugging, long-running task delegation, or large-context investigation. Hands off to agy's large-context window when the host wants a second opinion or a background pass instead of solving the task file-by-file. Survives the June 18, 2026 gemini-cli sunset by depending only on the agy binary. allowed-tools: Bash, Glob, Read

antigravity — when to use the $antigravity shortcut

Reach for $antigravity when any of these apply:

  • You want a second opinion on a non-trivial diff, refactor, or design choice.
  • The task benefits from a large context window (cross-file review, repo-wide impact analysis, long log triage).
  • You want to delegate a long-running task to the background so the host session can keep working — e.g. "investigate why CI started failing on main" or "draft a migration plan for switching from X to Y".
  • You want an adversarial review of code that's about to ship.

Skip $antigravity for trivial one-line edits or anything that requires interactive back-and-forth tighter than agy's --print round trips.

Verbs

All verbs map to scripts/commands/<verb>.mjs and are byte-equivalent across Claude Code (/antigravity:<verb>), Codex CLI ($antigravity <verb>), agy native (agy plugin run antigravity <verb>), and standalone (npx antigravity-plugin <verb>).

| Verb | What it does | |----------|--------------| | setup | One-time OAuth wizard. Runs agy --print 'hi' in the foreground so the user can complete the Google OAuth flow visibly. Idempotent. | | review | Reviews the current git diff (or --base <ref>). Background-by-default; returns a job id. | | rescue | Delegates an investigation or fix to agy — e.g. $antigravity rescue why are the tests failing. Returns a job id. | | task | Generic long-running delegation. Supports --continue, --conversation <id>, --add-dir <path>, --wait, --foreground, --json. | | status | Shows a compact table of current and recent jobs (id, kind, phase, health, last progress). Surfaces any pending OAuth URL prominently. | | result | Prints the final output of a completed job by id. | | cancel | Sends SIGTERM to a running worker by job id. |

Auth requirements

agy 1.0.x is OAuth-only — there is no API-key path yet (tracked upstream as antigravity-cli#78).

  1. Run $antigravity setup (or /antigravity:setup from Claude Code) once per machine / account.
  2. agy prints an OAuth URL — open it in a browser, complete the Google flow.
  3. agy persists the refresh token in its own credential store. Subsequent invocations of any verb run silently.

If a background worker hits the auth prompt (e.g. a fresh machine), it captures the OAuth URL and surfaces it on $antigravity status <job-id> so you can still complete auth from a non-interactive session.

Example prompts

$antigravity review --base main
$antigravity rescue investigate why the integration tests started failing after PR #42
$antigravity task --continue draft a migration plan from Sequelize to Drizzle
$antigravity status
$antigravity result 0193e2c9-...

Where this plugin lives (for Codex auto-discovery)

Codex picks this plugin up via:

  • .codex-plugin/plugin.json — canonical Codex manifest.
  • .agents/plugins/marketplace.json — Codex personal-marketplace descriptor.
  • This SKILL.md at the plugin install root — skill-discovery entry.
  • agents/openai.yaml — implicit-invocation interface (the $antigravity shortcut).

Claude Code, agy, and standalone hosts ignore the Codex-specific files and consume .claude-plugin/, plugin.json (root), and bin/antigravity.mjs respectively. See docs/INSTALL.md for per-host install recipes.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/antigravity-large-context-task-delegation-ms47vomy/download' --output '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md.part' && mv '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md.part' '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash, Glob, Read

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md' && test -s '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/antigravity' && cp -R '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy' '.claude/skills/antigravity'

Codex
test -f '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md' && test -s '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/antigravity' && cp -R '.skill-downloads/antigravity-large-context-task-delegation-ms47vomy' '.agents/skills/antigravity'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/antigravity-large-context-task-delegation-ms47vomy'

openskills read 'antigravity-large-context-task-delegation-ms47vomy'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/antigravity-large-context-task-delegation-ms47vomy/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills