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 skills add sendbird/cc-plugin-codex --skill rescuegit clone --depth 1 https://github.com/sendbird/cc-plugin-codexWrote 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/skills/sendbird/cc-plugin-codex/rescue)<a href="https://agentmods.dev/skills/sendbird/cc-plugin-codex/rescue"><img src="https://agentmods.dev/badge/skills/sendbird/cc-plugin-codex/rescue/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sendbird/cc-plugin-codex/rescue"><img src="https://agentmods.dev/badge/skills/sendbird/cc-plugin-codex/rescue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00099 | $0.04036 |
| Opus 5.5 | $0.00040 | $0.01614 |
| Sonnet 5.5 | $0.00020 | $0.00807 |
| Haiku 4.5 | $0.00010 | $0.00404 |
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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Code Rescue
By default, hand this skill off through Codex's built-in default subagent.
Do not answer the request inline in the main Codex thread.
Spawn exactly one rescue forwarding subagent whose only job is to run one companion task command and return that stdout unchanged.
Foreground rescue responses must be that subagent's output verbatim.
Use this skill when the user wants Claude Code to investigate, implement, or continue substantial work in this repository.
Prefer $cc:rescue when the user wants Claude Code to diagnose the issue, validate a risky change by actually editing or testing, apply fixes from a prior review, or carry a task forward across multiple steps.
Do not use rescue for "just review this diff" unless the user also wants follow-through work beyond review findings.
Do not use rescue merely because the main Codex thread plans to fix things after combining its own review with a separate Claude review. Rescue is only the right delegation when Claude itself is supposed to investigate, edit, test, or otherwise own the follow-through work.
Resolve <plugin-root> as two directories above this SKILL.md file. Always run the companion from that active plugin root:
node "<plugin-root>/scripts/claude-companion.mjs" task ...
Raw slash-command arguments:
$ARGUMENTS
Supported arguments: --background, --wait, --resume, --resume-last, --fresh, --write, --model <model>, --effort <low|medium|high|xhigh|max>, --prompt-file <path>, plus free-text task text
Companion defaults: model=opus, and no effort. The companion forwards --effort only when the user passes it, so fable, opus, sonnet, and haiku each keep Claude Code's own effort default. Claude Code owns which effort levels each model supports.
Forward --model unchanged to the companion. The companion trims surrounding whitespace, canonicalizes the friendly aliases fable, opus, sonnet, and haiku to lowercase, then forwards every other --model value unchanged to Claude Code. Claude Code owns alias resolution and supported effort levels; /model is the authoritative picker for the current account and provider.
Main-thread routing rules:
- If the user explicitly invoked
$cc:rescueorClaude Code Rescue, do not keep the work in the main Codex thread. Delegate it. - If the user did not supply a task, ask what Claude Code should investigate or fix.
- Treat
--backgroundand--waitas execution controls, not task text. --backgroundand--waitare Codex-side execution controls only. Never forward either flag toclaude-companion.mjs task.- The main Codex thread owns that execution-mode choice. It decides whether to wait for the subagent. The child subagent must never reinterpret those flags as companion flags.
- Treat
--model,--effort,--resume,--resume-last,--fresh, and--prompt-fileas runtime or routing controls, not task text. - If the user task text itself begins with a slash command such as
/simplify,/fix, or/review, treat that slash command as literal Claude Code task text to be forwarded unchanged. Do not execute or reinterpret it in the parent Codex thread. --modelselects the Claude model for the companiontaskcommand only. It does not select the Codex subagent model.- If the user explicitly passed
--background, run the rescue subagent in the background. - If the user explicitly passed
--wait, run in the foreground. - If neither flag is present and the rescue request is small, clearly bounded, or likely to finish quickly, prefer foreground.
- If neither flag is present and the request looks complicated, open-ended, multi-step, or likely to keep Claude Code running for a while, prefer background execution for the subagent.
- This size-and-scope heuristic belongs to the main Codex thread. The child subagent does not get to override it.
- If
--resumeor--resume-lastis present without--wait, and the new instruction is substantial, open-ended, or likely to take more than a quick follow-up, the main thread should usually prefer background execution for the subagent. Keep that as a parent-side choice only. Do not inject--backgroundinto the child request or the companion command. - Default to
--writeunless the user explicitly wants read-only behavior or only review, diagnosis, or research without edits. - If
--resumeor--resume-lastis present, continue the latest tracked Claude Code task. If--freshis present, start a new task. - If none of
--resume,--resume-last, or--freshis present, first run:node "<plugin-root>/scripts/claude-companion.mjs" task-resume-candidate --json - If that helper reports
available: true, ask the user once whether to continue the current Claude Code thread or start a new one. - Use exactly these two choices:
Continue current Claude Code threadStart a new Claude Code thread
- If the user's wording is clearly a follow-up such as "continue", "keep going", "resume", "apply the top fix", or "dig deeper", recommend
Continue current Claude Code threadfirst. - Otherwise recommend
Start a new Claude Code threadfirst. - If the user chooses continue, add
--resumebefore spawning the subagent. - If the user chooses a new thread, add
--freshbefore spawning the subagent. - If the helper reports
available: false, do not ask. Delegate normally. - Do not inspect the repo, do the task yourself, poll job status, or summarize the result in the same turn.
- If a legacy request still includes
--notify-parent-on-complete, treat it as a compatibility alias. Background built-in rescue now attempts parent wake-up by default.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 162 lines · 99 tokens per session scan A 0d03597fa77a
rescue is a skill published in the GitHub repository sendbird/cc-plugin-codex (225 stars, last pushed 2d ago), licensed Apache-2.0. It adds 99 tokens to every session and 4,036 once invoked, about $0.0004 per session on Opus 5.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 skills, from other repositories
go-testing
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
find-simplifications
Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…
cross-model-review
A second-opinion code review that asks a different AI model to independently inspect a change, then compares both reviews. It focuses on logic, security, consistency, and omissions.
gitnexus
A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.
swarm-pr-review
Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…
pre-landing-review
Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust boundary violations, conditional side effects, and other structural issues. Use when explicitly asked for the specialized pre-landing workflow. Product /review requests are handled by OpenBitFun's unified Review mechanism instead.…