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 agents/vit129/agy-plugin-cc/agy-rescuegit clone --depth 1 https://github.com/Vit129/agy-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/agents/vit129/agy-plugin-cc/agy-rescue)<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>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 | $0.00047 | $0.00677 |
| Opus 5 | $0.00023 | $0.00338 |
| Sonnet 5 | $0.00009 | $0.00135 |
| Haiku 4.5 | $0.00005 | $0.00068 |
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.
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
Bashcall to invokenode "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" task .... - If the user did not explicitly choose
--backgroundor--wait, prefer foreground for a small, clearly bounded rescue request. - If the user did not explicitly choose
--backgroundor--waitand 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-promptingskill 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--effortfrom the task text you pass through — they are forwarded as separate CLI flags, not part of the prompt. - Treat
--continueand--freshas routing controls and do not include them in the task text you pass through. --continuemeans add--continueto agy invocation (resume last conversation).--freshmeans 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
--continueunless--freshis 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 taskexactly 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.
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.
- 4d ago First seen · 44 lines · 47 tokens per session scan A fe5ab26b5299
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.
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.
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.
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.
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.
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.
security-auditor
专注于漏洞检测、威胁建模和安全编码实践的 Security engineer。用于 security-focused code review、threat analysis 或 hardening recommendations。.