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 Custos/angry-ralph/plugin install angry-ralphWrote 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/custos/angry-ralph/angry-diagnose)<a href="https://agentmods.dev/commands/custos/angry-ralph/angry-diagnose"><img src="https://agentmods.dev/badge/commands/custos/angry-ralph/angry-diagnose.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.1 | $0.00025 | $0.01171 |
| Opus 5 | $0.00013 | $0.00585 |
| Sonnet 5 | $0.00005 | $0.00234 |
| Haiku 4.5 | $0.00003 | $0.00117 |
Grade C, and why
angry-diagnose scanned grade C with 1 finding 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 8d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
If start fresh: `rm -rf .ralph-state/ .planning/diagnosis/` and continue. How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/angry-diagnose Command
Adversarial bug investigation pipeline. Generates competing hypotheses for a bug's root cause using external LLMs, then systematically proves/disproves each hypothesis via failing tests before implementing the fix.
1. Argument Parsing
Parse the invocation arguments:
@filereferences (optional, multiple) -- Error logs, stack traces, suspect source files as context.- Prompt text (required) -- Description of the problem/symptom.
--auto(optional) -- Skip clarifying questions, auto-accept findings, test all hypotheses.--max-hypotheses N(optional, default:5) -- Maximum number of hypotheses to generate.--help(optional) -- Print command reference and exit.
--help Output
If --help is passed, print the following and stop:
angry-diagnose — Adversarial bug diagnosis with differential diagnosis and hypothesis-driven TDD.
Usage:
/angry-diagnose [@context-files...] "problem description" [--auto] [--max-hypotheses N]
Examples:
/angry-diagnose "the API returns 500 on large payloads"
/angry-diagnose @error.log "users can't login after password reset"
/angry-diagnose @src/auth.ts @error.log "this middleware leaks sessions"
Options:
--auto Skip questions, auto-accept findings, test all hypotheses.
--max-hypotheses N Max competing hypotheses to generate (default: 5).
Phases:
1. INVESTIGATE Gather context, build case file, interview user.
2. DIAGNOSE Generate competing hypotheses via external LLMs (differential diagnosis).
3. FIX Prove/disprove hypotheses via diagnostic tests, fix confirmed root cause.
4. VERIFY Mechanical gates + adversarial verification of the fix.
State: .ralph-state/ (gitignored)
Artifacts: .planning/diagnosis/ (gitignored)
If no prompt text is provided and --help is not passed, report the error and display the help text.
2. Environment Validation
Run via the Bash tool:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/checks/validate-env.sh
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.
- 8d ago First seen · 123 lines · 25 tokens per session scan C ecc047f60975
angry-diagnose is a command published in the GitHub repository Custos/angry-ralph (5 stars, last pushed 6mo ago), licensed MIT. It adds 25 tokens to every session and 1,171 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
bugfix
Bug fix workflow: root cause analysis → user review → regression test + fix via TDD.
fix
Correction automatisee des bugs identifies par la QA Recette.
tdd
Correction de Bug en Mode TDD/BDD.
hatch3r-bug-pipeline
Run a known-cause bug fix through a 3-phase test-first pipeline -- reproduce + root-cause, regression-test + fix together, then root-cause-depth review -- with full sub-agent delegation.
bugfix
Regression-test-first bug fixing workflow with smart SpecSwarm/SpecTest integration.
qa
Validate an application against a Gherkin user story by spawning a QA team that drives the running app.