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.
git clone --depth 1 https://github.com/MarcosNahuel/antigravity-plugin-ccWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/marcosnahuel/antigravity-plugin-cc/rescue)<a href="https://agentmods.dev/commands/marcosnahuel/antigravity-plugin-cc/rescue"><img src="https://agentmods.dev/badge/commands/marcosnahuel/antigravity-plugin-cc/rescue.svg" alt="Measured on agentmods" height="20"></a>What 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.1 | $0.00019 | $0.00492 |
| Opus 5 | $0.00010 | $0.00246 |
| Sonnet 5 | $0.00004 | $0.00098 |
| Haiku 4.5 | $0.00002 | $0.00049 |
Grade A, and why
rescue scanned grade A with 0 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 6d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Route this request to the antigravity:agy-rescue subagent in MODE: rescue.
Raw user request: $ARGUMENTS
Routing rules:
- If the request contains
--background, invoke the subagent withrun_in_background: true. Use this when the user phrasing suggests a long-running task ("investigate", "refactor the whole module", "write tests for everything in X") and they explicitly opted in. Strip the flag. - If the request includes
--resume, setRESUME: truein the header you pass to the subagent. - If the request includes
--fresh, setRESUME: false. - If neither flag is present and the user phrasing sounds like a follow-up ("continue", "keep going", "resume", "apply the first fix"), set
RESUME: true. OtherwiseRESUME: false. - Strip the routing flags (
--background,--resume,--fresh) from the user text before forwarding.
Pass this header block to the subagent followed by the cleaned user text:
MODE: rescue
INTENSITY:
MODEL:
RESUME: <true|false>
WRITE_FILE:
USER_TEXT:
<cleaned user request>
Note:
--modelwas rejected byagy1.0.0/1.0.1 but is accepted again in agy 1.0.5+. This plugin defaults to omitting it (cross-version-safe —agyuses its configured default, typically Gemini 3.5 Flash "Medium"). TheMODEL:header field is passed through to the subagent, which only forwards--modelwhen set AND the localagy --versionis ≥ 1.0.5; otherwise it's ignored.
Operating rules:
- The subagent is a thin forwarder. It returns agy's stdout verbatim.
- Return that stdout to the user as-is. Do not add commentary before or after.
- If agy reports it is missing or unauthenticated, tell the user to run
/agy:setup.
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.
- 6d ago First seen · 40 lines · 19 tokens per session scan A 536afc628428
rescue is a command published in the GitHub repository MarcosNahuel/antigravity-plugin-cc (27 stars, last pushed 21d ago), licensed MIT. It adds 19 tokens to every session and 492 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. 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-imagegen
Generate or edit an image via a Gemini (agy) session — Gemini's generateimage tool does what Claude cannot.
deep
A command for researching a topic from seven perspectives, including product strategy, user experience, technology, practice, academic work, history, and online discussion. It combines the findings into a web report, Markdown document, and Notion page.
agy-debug
Send an error/stack trace plus the relevant file(s) to Antigravity (agy) for root-cause analysis.
agy-review
Send the current change set to Antigravity (agy) for a senior-reviewer code review.
agy-panel
Ask Antigravity (agy) the same question across several distinct models and compare their answers side by side.
agy
Consult Google's Antigravity CLI (agy) and relay its answer.