plan

A planning command that turns project specifications into implementation plans and records architecture decisions in a standard decision-log format.

In plain words
What is it for?
Use it to create plans from all specifications or one file, regenerate plans, and check requirement coverage.
Why use it?
It helps reveal missing work, unclear goals, and requirements that are not covered by the plan before coding begins.

Command for Claude Code

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/ddunnock/claude-plugins/plan
Clone the repo
git clone --depth 1 https://github.com/ddunnock/claude-plugins

Made for: Claude Code.

Per session 11 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,213 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 $0.00011 $0.02213
Opus 5 $0.00005 $0.01107
Sonnet 5 $0.00002 $0.00443
Haiku 4.5 $0.00001 $0.00221

Measured 2d ago against content hash 45c03c8fada0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 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.

mcps/knowledge-mcp/.claude/commands/plan.md · 350 lines

How it starts

The opening of the file, as written. The whole thing — 350 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plan

PLANS-enhanced implementation planning with ADR-style architecture decisions and requirement coverage mapping.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).


Usage

/plan                   # Plan from all specs
/plan spec.md           # Plan from specific spec
/plan --all             # Force regenerate all plans
/plan --status          # Show coverage without generating

Memory Directives

Load these directive files for architecture decision guidance:

Always loaded:

  • constitution.md - Global principles, quality gates
  • security.md - Security requirements for ADRs
  • documentation.md - Documentation standards

Project-specific (detected: Python ≥3.11, Poetry, MCP SDK):

  • python.md - Python standards, type hints, docstrings, Pyright strict mode
  • testing.md - pytest patterns, 80% coverage requirement
  • git-cicd.md - Conventional commits, CI pipeline

PLANS Taxonomy (5 Categories)

Systematic coverage scan for implementation planning:

Category Focus Detection Target
Phases Implementation phases, milestones Missing phases, unclear objectives
Linkages Inter-phase dependencies Circular deps, undefined prerequisites
Architecture ADR-based decisions Undocumented choices, missing rationale
Notes Task generation guidance Vague notes, unclear scope indicators
Scope Requirement coverage mapping Orphan requirements, coverage gaps

PLANS Activation by Project Type

Project Type Heavy Categories Rationale
Greenfield ARCHITECTURE New decisions needed
Migration LINKAGES Dependencies critical
Refactoring ARCHITECTURE, NOTES Preserve + improve
Feature Addition SCOPE, NOTES Fit into existing

Active for this project (MCP Server - Greenfield):

  • Phases: Implementation phases, milestones
  • Linkages: Inter-phase dependencies
  • Architecture: ADR-based decisions (heavy - new MCP server)
  • Notes: Task generation guidance
  • Scope: Requirement coverage mapping

Read the full file on GitHub · 350 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 First seen · 350 lines · 11 tokens per session scan A 45c03c8fada0

Subscribe to this mod's changes

plan is a command published in the GitHub repository ddunnock/claude-plugins (12 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 2,213 once invoked, about $0.0001 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.