Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add zred0627/ds-rescue-cc/plugin install ds-rescueWrote 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/zred0627/ds-rescue-cc/ds-rescue)<a href="https://agentmods.dev/commands/zred0627/ds-rescue-cc/ds-rescue"><img src="https://agentmods.dev/badge/commands/zred0627/ds-rescue-cc/ds-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/commands/zred0627/ds-rescue-cc/ds-rescue"><img src="https://agentmods.dev/badge/commands/zred0627/ds-rescue-cc/ds-rescue.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00014 | $0.00640 |
| Opus 5 | $0.00007 | $0.00320 |
| Sonnet 5 | $0.00003 | $0.00128 |
| Haiku 4.5 | $0.00001 | $0.00064 |
Grade C, and why
ds-rescue scanned grade C with 2 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 9d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
echo " Linux/macOS: curl -fsSL https://raw.githubusercontent.com/zred0627/ds-rescue-cc/main/scripts/install.sh | sh" Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
echo " Linux/macOS: curl -fsSL https://raw.githubusercontent.com/zred0627/ds-rescue-cc/main/scripts/install.sh | sh" How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Invoke the ds-rescue Go binary to get an independent second-opinion review from DeepSeek.
Argument parsing
The command accepts these user-facing flags and forwards them to the binary. Note: the binary's CLI parser registers --plan, --scheme, --execution as flag aliases (see Data Model > CLI Contract), so $ARGUMENTS is passed verbatim — no translation needed.
--check→ runds-rescue --checkfor self-diagnosis--version→ runds-rescue --version--plan <file>→ binary alias for--mode plan--scheme <file>→ binary alias for--mode scheme--execution→ binary alias for--mode execution(binary self-runsgit diff HEAD~1 HEAD)<file>(no flag) → let binary auto-detect mode from content
Execution
BINARY="${CLAUDE_PLUGIN_ROOT}/bin/ds-rescue"
if [ ! -x "$BINARY" ]; then
BINARY="$(command -v ds-rescue 2>/dev/null)"
fi
if [ -z "$BINARY" ]; then
echo "ds-rescue binary not found. Install with one of:"
echo " Recommended: go install github.com/zred0627/ds-rescue-cc/cmd/ds-rescue@latest"
echo " Linux/macOS: curl -fsSL https://raw.githubusercontent.com/zred0627/ds-rescue-cc/main/scripts/install.sh | sh"
echo " Windows: iwr https://raw.githubusercontent.com/zred0627/ds-rescue-cc/main/scripts/install.ps1 | iex"
exit 1
fi
export DS_RESCUE_SKILL_PATH="${CLAUDE_PLUGIN_ROOT}/skills/ds-plan-challenger/SKILL.md"
"$BINARY" $ARGUMENTS
Examples
/ds-rescue docs/plans/2026-05-17-foo.md
→ auto-detects plan mode (path contains docs/plans/)
/ds-rescue --scheme scheme-A-vs-B.md
→ forces scheme mode
/ds-rescue --execution
→ binary self-runs git diff HEAD~1 HEAD and reviews the change
/ds-rescue --check
→ self-diagnostic
Notes
- Default model is
pro(deepseek-chat v4-pro). Use--model flashfor faster/cheaper but less thorough review. - For execution mode, you must be inside a git repo with at least one previous commit on HEAD.
- Findings are raw DeepSeek output — don't expect Claude-style politeness; that's the point.
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.
- 9d ago First seen · 60 lines · 14 tokens per session scan C 416894fc05c0
ds-rescue is a command published in the GitHub repository zred0627/ds-rescue-cc (2 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 640 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
review-pr
PR review using parallel specialized agents for code quality, security, testing, architecture, and performance analysis. Synthesizes findings into a review report with conventional comments (praise/issue/suggestion/nitpick) and approve or request-changes verdict. Use when reviewing pull requests, conducting security…
code-audit
Adversarial code review tree. Wraps /cc-tree:tree with the code-audit preset preselected — finds security / performance / correctness / contract findings a static linter would miss. Every finding carries file:line evidence + threat-model context + proposedfix; hard-banned against NEEDS-MORE-INFO deferrals.…
register-plugin-asset
A project command for adding a distributable command, agent, or agent skill to a plugin manifest, the file that lists what a plugin provides.
challenge
Adversarial review — run pre-mortem, war-game, and logic-torturing analysis on current changes.
review
Harsh maintainability review of one PR. Comments, not patches. Do not merge.
clean-check
Analyze code for cleanliness issues (unused code, comment quality, formatting, naming, complexity). Delegates to the code-cleanliness agent.