risk-planner

risk-planner is an agent for Claude Code from ihudak/ihudak-claude-plugins. It costs 44 tokens per session (2,156 once invoked), scanned A, original, MIT.

A detailed planning agent for significant or high-risk software changes. It produces an implementation plan with an explicit section for risks and works from the task, codebase summary, constraints, and existing compatibility information.

In plain words
What is it for?
It is for planning large, risky, or compatibility-sensitive changes; it is not intended for routine tasks.
Why use it?
It makes important technical risks and planning assumptions explicit before implementation begins.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev-workflows plugin — 2 skills, 28 commands, 38 agents, 3 hooks shipped together

Good fit It is for planning large, risky, or compatibility-sensitive changes; it is not intended for routine tasks.

Compare 6 agents from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add ihudak/ihudak-claude-plugins
Claude Code
/plugin install dev-workflows

Made for: Claude Code.

Or install dev-workflows, the plugin that ships this one along with the rest of its 2 skills, 28 commands, 38 agents, 3 hooks.

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 risk-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihudak/ihudak-claude-plugins/risk-planner.svg)](https://agentmods.dev/agents/ihudak/ihudak-claude-plugins/risk-planner)
Your own site
<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>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,156 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00044 $0.02156
Opus 5 $0.00022 $0.01078
Sonnet 5 $0.00009 $0.00431
Haiku 4.5 $0.00004 $0.00216

Measured 2d ago against content hash 029d5a440a57, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

plugins/dev-workflows/agents/risk-planner.md · 155 lines

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 - SIGNIFICANT or HIGH-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 — Read the 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 scan error, 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) — bug when the caller classified the task as a defect fix. When task_shape: bug, follow ${CLAUDE_PLUGIN_ROOT}/references/bug-diagnosis.md: lead ### Steps with 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.

Read the full file on GitHub · 155 lines

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. 2d ago Changed 029d5a440a57
  2. 7d ago First seen · 155 lines · 44 tokens per session scan A 21d4e4ce38ba

Subscribe to this mod's changes

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.