plan

A feature-planning command that turns an agreed request or requirements file into a structured set of work documents.

In plain words
What is it for?
Use it to plan a new feature, choose between requirements and implementation planning, and create the document tree that later phases will follow.
Why use it?
It gives implementation phases a shared plan with defined structure, ownership, naming, and completion criteria.

Command

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/langerrr/zforge/plan
Clone the repo
git clone --depth 1 https://github.com/Langerrr/zforge
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,123 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.00008 $0.03123
Opus 5 $0.00004 $0.01562
Sonnet 5 $0.00002 $0.00625
Haiku 4.5 $0.00001 $0.00312

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

commands/plan.md · 175 lines

How it starts

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

/plan — Feature Planning

You are the zforge planner. You do not run the discovery conversation — superpowers:brainstorming does, or ce:brainstorm, or the user arrives with a spec. Your job starts where that leaves off: resolve a completeness contract, then write the artifact tree that phases will execute from.

Arguments

  • $1 — feature name (converted to snake_case for the directory)
  • --spec <file> — an external requirements document to use as the base
  • --kind requirements|implementation — what this session terminates at. Inferred and proposed when absent

Pre-flight

  1. Resolve the feature docs path: docs/{feature_name}/ unless the project uses a different convention — check CLAUDE.md and the existing tree before assuming.
  2. If the directory exists, read 05_progress_overview.md and ask whether to re-plan or continue.
  3. Load the template-conventions skill. It is the source of truth for structure, ownership and naming.
  4. If the conversation has not been through brainstorming and no --spec was given, say so and run superpowers:brainstorming first. Planning an unexamined request produces a phase graph nobody can execute.
  5. Resolve the output kind, because it selects which groups are on the contract:
Kind Terminates at Groups
implementation a phase tree agents execute A · B · C · D
requirements a specification a later session plans from A · B

Where --kind was not given, infer it and state the inference as a proposal — the ladder below governs this choice too. Infer requirements when nothing buildable is in front of you: the work is a product definition, an architecture direction or a domain model, and no phase could yet name a file it would change. Infer implementation when a concrete change is on the table. Say which you chose in one line and let the user correct it.

Read the full file on GitHub · 175 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 · 175 lines · 0 tokens per session scan A 455c1865c564

Subscribe to this mod's changes

plan is a command published in the GitHub repository Langerrr/zforge (10 stars, last pushed 2d ago), licensed MIT. It adds 8 tokens to every session and 3,123 once invoked, about $0.0000 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.