ijfw-plan

ijfw-plan is a command for Claude Code from FerroxLabs/ijfw. It costs 36 tokens per session (533 once invoked), scanned A, original, MIT.

A command that starts the planning phase of the IJFW software workflow when you already know what you want to build. It creates either a short plan or a detailed plan, then checks that the plan covers the requirements before implementation starts.

In plain words
What is it for?
Use it to plan a new feature or change, with an optional brief description or an existing brief.md file as context.
Why use it?
It turns a rough feature idea into agreed tasks, dependencies, success criteria, and affected files before coding begins.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the ijfw plugin — 34 skills, 22 commands, 37 agents, 6 hooks, 1 MCP server shipped together

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 commands/ferroxlabs/ijfw/ijfw-plan
Clone the repo
git clone --depth 1 https://github.com/FerroxLabs/ijfw

Made for: Claude Code.

Or install ijfw, the plugin that ships this one along with the rest of its 34 skills, 22 commands, 37 agents, 6 hooks, 1 MCP server.

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 ijfw-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/ferroxlabs/ijfw/ijfw-plan.svg)](https://agentmods.dev/commands/ferroxlabs/ijfw/ijfw-plan)
Your own site
<a href="https://agentmods.dev/commands/ferroxlabs/ijfw/ijfw-plan"><img src="https://agentmods.dev/badge/commands/ferroxlabs/ijfw/ijfw-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 533 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.1 $0.00036 $0.00533
Opus 5 $0.00018 $0.00267
Sonnet 5 $0.00007 $0.00107
Haiku 4.5 $0.00004 $0.00053

Measured 6d ago against content hash b541bd4d8eba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ijfw-plan 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 6d 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/commands/ijfw-plan.md · 40 lines

What it actually says

Jump straight into the IJFW workflow Plan phase without walking through Discovery and Research first. Use this when you already know what you're building and want to move into structured planning now.

Quick mode (Q2): Draft a focused plan of up to 10 tasks, each with a clear deliverable and success criteria. Present it for approval, then execute.

Deep mode (D3): Break the work into phases → milestones → tasks. Each task gets a deliverable, success criteria, file list, dependencies, and blast radius. Output lands in .ijfw/memory/plan.md (fallback: .planning/**/PLAN.md). The full PLAN AUDIT gate runs before execution begins.

This command invokes ijfw-workflow at the Plan phase directly. IJFW owns the full loop from here: plan → audit → execute → verify → ship. No external plugin hand-off.

Natural triggers: "let's plan this", "make a plan", "planning phase", "I know what to build, let's plan it."

If you have an existing brief.md, this command reads it as context automatically. If not, it asks one clarifying question to establish scope before drafting.

GATE: Plan phase ends at the PLAN AUDIT gate -- every requirement has a task, no scope drops, dependencies ordered. Gate must pass before execution begins.

Deep mode asks a time-budget question before drafting. Deep mode offers a four-mode review after plan-check.

Resume intent pattern: If user says resume, resume plan, /ijfw-plan resume, or continue plan:

  1. Load .ijfw/state/plan-hold.md. If missing: reply "No plan on hold. Start a fresh plan with /ijfw-plan." and stop.
  2. Echo the recorded reason + unresolved gaps to the user so they know what was blocking.
  3. Ask AskUserQuestion: "Has this changed? Unblock and continue, or keep on hold?"
    • Option A: "Unblock + continue" -> re-run plan-check, re-offer four-mode review (Step 7).
    • Option B: "Keep on hold" -> no-op, close.
  4. On unblock: annotate .ijfw/state/plan-hold.md with resolved_at: <now> (or delete), re-run plan-check Step 7.
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. 6d ago First seen · 40 lines · 36 tokens per session scan A b541bd4d8eba

Subscribe to this mod's changes

ijfw-plan is a command published in the GitHub repository FerroxLabs/ijfw (210 stars, last pushed 5d ago), licensed MIT. It adds 36 tokens to every session and 533 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-30.