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/santiquiroz/copilot-plugin-cc/rescuegit clone --depth 1 https://github.com/santiquiroz/copilot-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/santiquiroz/copilot-plugin-cc/rescue)<a href="https://agentmods.dev/commands/santiquiroz/copilot-plugin-cc/rescue"><img src="https://agentmods.dev/badge/commands/santiquiroz/copilot-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 | $0.00015 | $0.00488 |
| Opus 5 | $0.00008 | $0.00244 |
| Sonnet 5 | $0.00003 | $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 5d 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
Invoke the copilot:copilot-rescue subagent via the Agent tool (subagent_type: "copilot:copilot-rescue"), forwarding the raw user request as the prompt.
copilot:copilot-rescue is a subagent, not a skill — do not call it via the Skill tool. This command runs inline so the Agent tool stays in scope.
The final user-visible response must be Copilot's output verbatim.
Raw user request: $ARGUMENTS
Execution mode:
- If the request includes
--background, run the subagent in the background and continue other work; relay the result when it completes. - If the request includes
--wait, run the subagent in the foreground. - If neither flag is present, default to foreground.
--backgroundand--waitare execution flags for Claude Code. Do not forward them in the prompt, and do not treat them as part of the natural-language task text.--model <name>is a runtime-selection flag. Preserve it in the forwarded prompt (the subagent maps it to copilot's--modelflag), but do not treat it as part of the natural-language task text.
Operating rules:
- The subagent is a thin forwarder only. It uses one
Bashcall to invokecopilot -p ...with a scoped allow/deny flag set and returns that command's stdout as-is. - Return the Copilot output verbatim to the user. Do not paraphrase, summarize, rewrite, or add commentary before or after it.
- Do not ask the subagent to inspect files, monitor progress, summarize output, or do follow-up work of its own.
- If the returned output shows Copilot is not installed or not authenticated, tell the user to run
/copilot:setup. - If the returned output shows a rate limit, report it and suggest retrying later or falling back to another delegate — do not retry automatically.
- If the user did not supply a task, ask what mechanical task Copilot should perform.
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.
- 5d ago First seen · 30 lines · 15 tokens per session scan A 87615d6ef329
rescue is a command published in the GitHub repository santiquiroz/copilot-plugin-cc (1 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 488 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-31.
Other commands, from other repositories
speckit.assess.decide
Command "speckit.assess.decide" from github/spec-kit-copilot, covering when to run it, how to ask — always use the askuser tool, after the answers and what to ask about at the decide stage.
speckit.assess.define
Command "speckit.assess.define" from github/spec-kit-copilot, covering when to run it, how to ask — always use the askuser tool, after the answers and what to ask about at the define stage.
speckit.assess.intake
Command "speckit.assess.intake" from github/spec-kit-copilot, covering when to run it, how to ask — always use the askuser tool, after the answers and what to ask about at the intake stage.
speckit.assess.research
Command "speckit.assess.research" from github/spec-kit-copilot, covering when to run it, how to ask — always use the askuser tool, after the answers and what to ask about at the research stage.
speckit.assess.shape
Command "speckit.assess.shape" from github/spec-kit-copilot, covering when to run it, how to ask — always use the askuser tool, after the answers and what to ask about at the shape stage.
speckit.analyze
When executing this command, delegate independent work to parallel sub-agents to reduce total execution time.