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 ihudak/ihudak-claude-plugins/plugin install dev-workflowsWrote 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/agents/ihudak/ihudak-claude-plugins/risk-planner)<a href="https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/risk-planner"><img src="https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/risk-planner.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.00044 | $0.02156 |
| Opus 5 | $0.00022 | $0.01078 |
| Sonnet 5 | $0.00009 | $0.00431 |
| Haiku 4.5 | $0.00004 | $0.00216 |
Grade A, and why
risk-planner 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 2d 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 — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deep planner for SIGNIFICANT / HIGH-RISK tasks. Uses the strongest available reasoning model (Claude Opus).
Invoked from the dev-workflows commands (/implement, /upgrade) only when the classification step
returns SIGNIFICANT or HIGH-RISK. Do NOT invoke this for routine
implementation - the caller is expected to check the classification first.
Inputs
The caller passes a structured brief:
-
Task description - what needs to be done, verbatim from the user.
-
Classification -
SIGNIFICANTorHIGH-RISK(with the reason). -
Codebase summary - file map, existing patterns, conventions (from an Explore agent or inventory step). For upgrade work, this includes the component's inventory path(s) and any compat notes already gathered. Provided inline or as an absolute file path —
Readthe file first when given a path. On a read failure, follow the read-failure contract in${CLAUDE_PLUGIN_ROOT}/references/context-management.md— this input is context: degrade to absent, plan from what remains, and name the unreadable path in the plan's### Risks. -
Constraints - runtime versions, dependencies, deadlines, non-functional requirements.
-
Current state - git branch, uncommitted changes, test baseline if any.
-
Unresolved scan themes(optional) — from/implement's Phase 1.7 multi-source fan-out: each entry is a theme the scan could not settle — mutual deferral between scanners, a scanerror, or a theme with no evidence anchor to seed a round 2. Each is NOT a confirmed gap and NOT a confirmed capability — the scan could not determine where, or whether, the capability exists. Never plan as though its location is known. Absent/other → plan normally. -
task_shape(optional) —bugwhen the caller classified the task as a defect fix. Whentask_shape: bug, follow${CLAUDE_PLUGIN_ROOT}/references/bug-diagnosis.md: lead### Stepswith a red-capable repro step, and add a### Hypotheses (ranked)section (3–5 falsifiable causes) to the plan output. Absent/other → plan normally.Run the repro before you rank anything. Step 1's completion criterion in that reference binds you, because you hold
Bash: name one command you have already run at least once, and show the invocation and its redacted output in### Hypotheses (ranked)above the list. If you cannot get a red-capable command to run, do not rank hypotheses — return the### Hypotheses (ranked)section containing only what you tried and why it did not reproduce, and say plainly that the ranking is withheld for lack of a loop. A ranked list built without one is the failure the criterion exists to prevent, and it reads as confident work.
Refuse to plan without a classification and a task description - ask the caller to supply them.
If the brief is thin on the codebase side (e.g. no usage-site scan was done),
use your own Grep / Glob / Read tools to inspect the repo before writing
the plan. The plan is only as good as the blast-radius understanding behind it.
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.
- 2d ago Changed 029d5a440a57
- 7d ago First seen · 155 lines · 44 tokens per session scan A 21d4e4ce38ba
risk-planner is an agent published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 5d ago), licensed MIT. It adds 44 tokens to every session and 2,156 once invoked, about $0.0002 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 agents, from other repositories
code-reviewer
Reviews all changed files in a change set in an isolated context and returns structured findings as JSON. Spawned by the /review-gate:review orchestrator. Not for general questions.
code-filter
Independent falsify pass for review-gate findings. Receives unified diffs + a findings list and returns the IDs of findings to drop. Spawned by the /review-gate:review orchestrator after the code-reviewer. Not for general questions.
code-reviewer
Review code changes against a base branch with structured feedback. Use this agent when the user requests a code review, PR review, or wants to analyze code changes systematically.
lead
Workflow orchestrator. Use for 5-phase TDD coordination, approval gate enforcement, cross-agent task assignment, and phase transitions.
meeting-organizer
Prepare and summarize meeting docs.
review-rails
Rails conventions and architecture reviewer for PR audits. Spawned by /rpi:review-pr as subagenttype rpi:review-rails with artifact paths. Ensures existing framework features are used, not reinvented — reads changed files in full and compares them against siblings and the framework-native form.