Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/marcosnahuel/antigravity-plugin-cc/setupgit clone --depth 1 https://github.com/MarcosNahuel/antigravity-plugin-ccWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00021 | $0.00583 |
| Opus 5 | $0.00010 | $0.00292 |
| Sonnet 5 | $0.00004 | $0.00117 |
| Haiku 4.5 | $0.00002 | $0.00058 |
Grade C, and why
setup scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- **macOS / Linux (bash):** `curl -fsSL https://antigravity.google/cli/install.sh | bash` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **macOS / Linux (bash):** `curl -fsSL https://antigravity.google/cli/install.sh | bash` What it actually says
Phase 0 — Stack check (ONE Bash call, no agy)
First report the whole agent stack — what's installed, what's missing, how to fix each — so the user
knows which /agy:* capabilities are ready:
python "${CLAUDE_PLUGIN_ROOT:-$PWD}/plugins/antigravity/scripts/stack_check.py"
It checks: agy CLI (required), PyMuPDF/fitz (required for /agy:notebook PDFs), sqlite-vec
(optional — /agy:notebook --semantic), ffmpeg (optional — long media for /agy:transcribe), and
graphify (optional — /agy:graph). Present the table and the fix line for
anything missing. Prints STACK n/5 present.
Phase 1 — agy health ping
Route this to the antigravity:agy-rescue subagent in MODE: setup.
Pass this header block to the subagent:
MODE: setup
INTENSITY:
MODEL:
RESUME: false
WRITE_FILE:
USER_TEXT:
The subagent will:
- Resolve the
agybinary (PATH, thenAGY_BIN, then per-OS fallback paths). - Try
agy changelogto read the current version. - Run a 30s ping: a minimal
--printcall expecting "pong" back. - Report binary path, version, and ping status.
Output rules:
-
Present the final setup output to the user as-is.
-
If the binary is missing, tell the user to install Antigravity:
- Windows (PowerShell):
irm https://antigravity.google/cli/install.ps1 | iex - macOS / Linux (bash):
curl -fsSL https://antigravity.google/cli/install.sh | bash
After install, restart the shell so the binary lands on PATH.
- Windows (PowerShell):
-
If the binary exists but ping times out (empty stdout + exit 0), the symptom is ambiguous in agy 1.0.x:
- Tool-call loop (most common in v0.1.1+): the model entered an agentic loop and consumed the timeout before flushing. Re-run with a higher
--print-timeoutor a stricter "do not use tools" prompt. - OAuth missing: verify with
ls ~/.gemini/antigravity-cli/installation_id. If absent or empty, runagyonce interactively in a regular terminal to complete the Google OAuth login.
- Tool-call loop (most common in v0.1.1+): the model entered an agentic loop and consumed the timeout before flushing. Re-run with a higher
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 56 lines · 21 tokens per session scan C 5ba97f12cf6f
setup is a command published in the GitHub repository MarcosNahuel/antigravity-plugin-cc (26 stars, last pushed 18d ago), licensed MIT. It adds 21 tokens to every session and 583 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
gemini-swarm
Swarm a task across parallel Gemini (agy) sessions with automatic decomposition and model routing.
gemini-imagegen
Generate or edit an image via a Gemini (agy) session — Gemini's generateimage tool does what Claude cannot.
agy-review
Send the current change set to Antigravity (agy) for a senior-reviewer code review.
review
Fact-check conversation content via Antigravity CLI with live web grounding.
agy
Delegate any task to agy (Google Antigravity CLI) — auto-selects model by task type.
setup
Check whether Antigravity CLI is installed and signed in.