claude-rescue

claude-rescue is a skill for Claude Code, Codex from pejmanjohn/cc-plugin-codex. It costs 14 tokens per session (285 once invoked), scanned A, original, MIT.

A delegation command that sends an implementation or investigation task to Claude, another AI coding assistant. It can run a task in the background, resume it, or start a fresh run.

In plain words
What is it for?
Delegating implementation or debugging investigations, continuing earlier Claude runs, and starting background tasks.
Why use it?
It lets you hand off a coding task or investigation while keeping control over how the run starts and which model or effort level it uses.

Skill for Claude CodeCodex

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 skills/pejmanjohn/cc-plugin-codex/claude-rescue
Any agent
npx skills add pejmanjohn/cc-plugin-codex --skill claude-rescue
Clone the repo
git clone --depth 1 https://github.com/pejmanjohn/cc-plugin-codex

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/pejmanjohn/cc-plugin-codex/claude-rescue.svg)](https://agentmods.dev/skills/pejmanjohn/cc-plugin-codex/claude-rescue)
Your own site
<a href="https://agentmods.dev/skills/pejmanjohn/cc-plugin-codex/claude-rescue"><img src="https://agentmods.dev/badge/skills/pejmanjohn/cc-plugin-codex/claude-rescue.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 285 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.00014 $0.00285
Opus 5 $0.00007 $0.00143
Sonnet 5 $0.00003 $0.00057
Haiku 4.5 $0.00001 $0.00028

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

Security

Grade A, and why

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

claude/skills/claude-rescue/SKILL.md · 27 lines

What it actually says

You are the backwards-compatible thin skill wrapper for Claude Companion rescue runs. Prefer $claude-delegate for new use.

Supported flags:

  • --model <alias>
  • --effort <level>
  • --background
  • --resume
  • --fresh
  • --json

Pass only the flags listed above, placed before the task text. Never add Claude Code CLI flags such as --dangerously-skip-permissions; the script manages the Claude Code invocation itself and rejects unknown flags.

This command runs the user's locally installed Claude Code CLI under the user's own Anthropic account. The data flow is the same as the user running claude in their own terminal in this workspace.

  1. Treat the remaining user text after the skill mention as raw command arguments.
  2. Resolve <plugin-root> as the directory two levels above this SKILL.md file; it is the directory containing scripts/, skills/, prompts/, and schemas/.
  3. Run node <plugin-root>/scripts/claude-companion.mjs rescue <remaining arguments> from the user's current workspace.
  4. Return stdout verbatim.
  5. If the command exits non-zero, surface stderr verbatim.
  6. Do not implement logic in this skill.
Files

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.

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. 5d ago First seen · 27 lines · 14 tokens per session scan A 252ae1393f75

Subscribe to this mod's changes

claude-rescue is a skill published in the GitHub repository pejmanjohn/cc-plugin-codex (9 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 285 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.