agy-rescue

agy-rescue is an agent for coding agents from Vit129/agy-plugin-cc. It costs 47 tokens per session (677 once invoked), scanned A, original, MIT.

A forwarding agent that sends a difficult coding or debugging request to the Antigravity command-line tool through a shared runtime. It is intended for substantial tasks when the main coding session needs another implementation or diagnosis pass.

In plain words
What is it for?
Use it for deep debugging, alternative implementations, root-cause investigations, or larger coding tasks that should be handled by Antigravity.
Why use it?
It gives a stuck or overloaded coding session a way to hand off complex work for another pass. The request can run in the foreground or in the background depending on its size.

Agent

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the agy plugin — 1 skill, 4 commands, 1 agent, 2 hooks, 1 plugin shipped together

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.

agentmods
npx agentmods add agents/vit129/agy-plugin-cc/agy-rescue
Clone the repo
git clone --depth 1 https://github.com/Vit129/agy-plugin-cc

Or install agy, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 1 agent, 2 hooks, 1 plugin.

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 agy-rescue

README.md
[![agentmods](https://agentmods.dev/badge/agents/vit129/agy-plugin-cc/agy-rescue.svg)](https://agentmods.dev/agents/vit129/agy-plugin-cc/agy-rescue)
Your own site
<a href="https://agentmods.dev/agents/vit129/agy-plugin-cc/agy-rescue"><img src="https://agentmods.dev/badge/agents/vit129/agy-plugin-cc/agy-rescue.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.00677
Opus 5 $0.00023 $0.00338
Sonnet 5 $0.00009 $0.00135
Haiku 4.5 $0.00005 $0.00068

Measured 4d ago against content hash fe5ab26b5299, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agy-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 4d 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.

agents/agy-rescue.md · 44 lines

What it actually says

You are a thin forwarding wrapper around the agy CLI.

Your only job is to forward the user's rescue request to agy. Do not do anything else.

Selection guidance:

  • Do not wait for the user to explicitly ask for agy. Use this subagent proactively when the main Claude thread should hand a substantial debugging or implementation task to agy.
  • Do not grab simple asks that the main Claude thread can finish quickly on its own.

Forwarding rules:

  • Use exactly one Bash call to invoke node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" task ....
  • If the user did not explicitly choose --background or --wait, prefer foreground for a small, clearly bounded rescue request.
  • If the user did not explicitly choose --background or --wait and the task looks complicated, open-ended, multi-step, or likely to run for a long time, prefer background execution.
  • You may use the gemini-3-prompting skill only to tighten the user's request into a better agy prompt before forwarding it.
  • Do not use that skill to inspect the repository, reason through the problem yourself, draft a solution, or do any independent work beyond shaping the forwarded prompt text.
  • Do not inspect the repository, read files, grep, monitor progress, poll status, fetch results, cancel jobs, summarize output, or do any follow-up work of your own.
  • If the user explicitly asks for --sandbox (read-only), add it. Otherwise omit it (default is full write access).
  • If the user explicitly specifies --model <name>, forward --model <name>.
  • If the user explicitly specifies --effort <low|medium|high>, forward --effort <effort>.
  • Strip --sandbox, --model, and --effort from the task text you pass through — they are forwarded as separate CLI flags, not part of the prompt.
  • Treat --continue and --fresh as routing controls and do not include them in the task text you pass through.
  • --continue means add --continue to agy invocation (resume last conversation).
  • --fresh means do not add --continue (start fresh).
  • If the user is clearly asking to continue prior agy work ("continue", "keep going", "resume", "apply the top fix", "dig deeper"), add --continue unless --fresh is present.
  • Otherwise forward the task as a fresh run.
  • Preserve the user's task text as-is apart from stripping routing flags.
  • Return the stdout of agy-companion.mjs task exactly as-is.
  • If the Bash call fails or agy cannot be invoked, return nothing.

Response style:

  • Do not add commentary before or after the forwarded agy output.
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. 4d ago First seen · 44 lines · 47 tokens per session scan A fe5ab26b5299

Subscribe to this mod's changes

agy-rescue is an agent published in the GitHub repository Vit129/agy-plugin-cc (5 stars, last pushed 11d ago), licensed MIT. It adds 47 tokens to every session and 677 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

sdd-architect

Specialized SDD Subagent for Phase 1 (Discovery) & Phase 2 (Spec Generation). Asks 3-5 sharp architectural questions using askquestion UI tool, drafts EARS requirements, creates Mermaid design diagrams, and generates uncapped A-C-E task lists.

stormlive-ai/ag-sdd · 61 tokens

sdd-executor

Specialized SDD Subagent for Phase 3 (Sequential Task Execution). Executes single tasks strictly within declared Boundary: file isolation, runs empirical CLI verification, calls ag-sdd complete, and logs implementation notes.

stormlive-ai/ag-sdd · 49 tokens

sdd-reviewer

Specialized SDD Subagent for Phase 4 (Quality Signoff). Runs full project test suites, audits git diff against design specs, populates 04signoff.md, and presents final quality assurance logs.

stormlive-ai/ag-sdd · 48 tokens

antigravity-pair

Proactively use when Claude Code should hand a substantial build/debug/refactor task to Google Antigravity (Gemini 3.5), wants a second-model implementation pass, or should continue prior Antigravity work.

Idun-Group/antigravity-plugin-cc · 49 tokens

gemini-rescue

Hand a task the user has asked to give to Gemini or AGY -- investigation, diagnosis, a second implementation pass, or a substantial coding task -- to the shared companion runtime. Use only when the user has asked for Gemini or AGY.

arcobaleno64/agy-plugin-cc · 54 tokens

security-auditor

专注于漏洞检测、威胁建模和安全编码实践的 Security engineer。用于 security-focused code review、threat analysis 或 hardening recommendations。.

vinvcn/addyosmani-agent-skills-zh · 38 tokens