rescue

rescue is a command for Claude Code from MarcosNahuel/antigravity-plugin-cc. It costs 19 tokens per session (492 once invoked), scanned A, original, MIT.

A command that sends coding, debugging, or implementation work to the Antigravity command-line agent.

In plain words
What is it for?
Delegating code changes, debugging, refactoring, and other implementation requests, with options for resuming or running work in the background.
Why use it?
It provides a defined way to hand off technical work and continue or run longer tasks when requested.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the antigravity plugin — 2 skills, 22 commands, 1 agent shipped together

Good fit Delegating code changes, debugging, refactoring, and other implementation requests, with options for…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/marcosnahuel/antigravity-plugin-cc/rescue
Install

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.

Clone the repo
git clone --depth 1 https://github.com/MarcosNahuel/antigravity-plugin-cc

Made for: Claude Code.

Or install antigravity, the plugin that ships this one along with the rest of its 2 skills, 22 commands, 1 agent.

Wrote 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.

agentmods badge for rescue

README.md
[![agentmods](https://agentmods.dev/badge/commands/marcosnahuel/antigravity-plugin-cc/rescue.svg)](https://agentmods.dev/commands/marcosnahuel/antigravity-plugin-cc/rescue)
Your own site
<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>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 6d ago against content hash 536afc628428, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

plugins/antigravity/commands/rescue.md · 40 lines

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 with run_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, set RESUME: true in the header you pass to the subagent.
  • If the request includes --fresh, set RESUME: 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. Otherwise RESUME: 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: --model was rejected by agy 1.0.0/1.0.1 but is accepted again in agy 1.0.5+. This plugin defaults to omitting it (cross-version-safe — agy uses its configured default, typically Gemini 3.5 Flash "Medium"). The MODEL: header field is passed through to the subagent, which only forwards --model when set AND the local agy --version is ≥ 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.
Changes

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.

  1. 6d ago First seen · 40 lines · 19 tokens per session scan A 536afc628428

Subscribe to this mod's changes

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.