plan

A command that turns a feature request into a structured implementation plan after examining the codebase. An implementation plan describes the files, decisions, steps, and tests needed for the work.

In plain words
What is it for?
Use it to research the project, ask requirement questions, and document files to modify, files to create, implementation steps, and testing.
Why use it?
It helps break an unfamiliar coding task into concrete work and identifies important requirements before changes begin.

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/geckse/markdown-vdb/plan
Clone the repo
git clone --depth 1 https://github.com/geckse/markdown-vdb

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 381 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.00000 $0.00381
Opus 5 $0.00000 $0.00191
Sonnet 5 $0.00000 $0.00076
Haiku 4.5 $0.00000 $0.00038

Measured 2d ago against content hash 9495081a5a3f, 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.

.claude/commands/plan.md · 38 lines

What it actually says

Plan: Create a Structured Implementation Plan

Take the following feature description and create a comprehensive, structured implementation plan.

Feature: $ARGUMENTS

Process

  1. Understand the request — Parse the feature description above. Identify what needs to change and what stays the same.

  2. Research the codebase — Read relevant source files to understand current patterns. Check existing code for conventions, architecture, and testing patterns. Read CLAUDE.md for project context.

  3. Ask clarifying questions — IMPORTANT: Before writing the plan, use the AskUserQuestion tool to ask at least 5 questions about requirements, edge cases, and design decisions. Cover: scope boundaries, error handling, backward compatibility, testing expectations, and UI/UX decisions. Provide suggested answers based on your codebase research.

  4. Write the plan — After receiving answers, create a structured plan with these sections:

    Summary

    One-paragraph description of what will be built.

    Files to Modify

    List every file that needs changes, with a description of what changes.

    Files to Create

    List any new files, with their purpose.

    Implementation Steps

    Numbered steps in implementation order. Each step should reference specific files and describe the exact changes.

    Testing Plan

    Which existing tests need updating, what new tests to write, and how to verify the feature end-to-end.

    Patterns to Follow

    Reference specific patterns from the existing codebase that the implementation should match.

  5. Save the plan — Write the plan to docs/plans/$ARGUMENTS.md (kebab-case the arguments). Create the docs/plans/ directory if it doesn't exist.

The plan should be detailed enough that a fresh Claude session with only the plan as input could implement the feature correctly.

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 · 38 lines · 0 tokens per session scan A 9495081a5a3f

Subscribe to this mod's changes

plan is a command published in the GitHub repository geckse/markdown-vdb (23 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 381 tokens. 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.

Related

Other commands, from other repositories