plan-phase

plan-phase is a command for Claude Code from sairam0424/MindForge. It costs 0 tokens per session (370 once invoked), scanned A, original, MIT.

A command for planning one phase of a software project. It gathers the phase goals, researches implementation patterns and risks, and creates detailed task plans.

In plain words
What is it for?
Use it to research a phase, create implementation plans, and define how each task will be verified.
Why use it?
It breaks a large phase into smaller tasks with specific files, instructions, and checks for completion.

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/sairam0424/mindforge/plan-phase
Clone the repo
git clone --depth 1 https://github.com/sairam0424/MindForge

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/sairam0424/mindforge/plan-phase.svg)](https://agentmods.dev/commands/sairam0424/mindforge/plan-phase)
Your own site
<a href="https://agentmods.dev/commands/sairam0424/mindforge/plan-phase"><img src="https://agentmods.dev/badge/commands/sairam0424/mindforge/plan-phase.svg" alt="Measured on agentmods" height="20"></a>
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 370 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.00370
Opus 5 $0.00000 $0.00185
Sonnet 5 $0.00000 $0.00074
Haiku 4.5 $0.00000 $0.00037

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

Security

Grade A, and why

plan-phase 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 today.

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/forge/plan-phase.md · 31 lines

What it actually says

Plan a phase of the project. Usage: /forge:plan-phase [N]

If N is not provided, check STATE.md for the current phase and use that.

Steps:

  1. Read PROJECT.md, REQUIREMENTS.md, and STATE.md.
  2. Ask the user: "Describe what phase [N] should accomplish in 2-3 sentences."
  3. Ask: "Are there any specific implementation decisions you've already made for this phase?"
  4. Spawn a research subagent: Read the project's tech stack from PROJECT.md and research the best patterns, libraries, and pitfalls for implementing this phase. Write findings to .planning/phases/phase-[N]/RESEARCH.md.
  5. Create 3-6 atomic task plans in .planning/phases/phase-[N]/. Each PLAN file must use this XML format:
<plan>
  <task>Task name</task>
  <files>
    specific/file/paths/to/touch.ts
  </files>
  <instructions>
    Precise implementation instructions. Include:
    - Which library to use and why (mention specific version if relevant)
    - Any gotchas or anti-patterns to avoid
    - The exact approach, not just "implement X"
  </instructions>
  <verify>Specific command or check that confirms this task is done</verify>
  <done>One sentence definition of done for this task</done>
</plan>
  1. Check each plan against REQUIREMENTS.md. If a plan implements something out of scope, revise it.
  2. Update STATE.md: current phase = N, status = "Phase [N] planned, ready to execute"
  3. Tell the user: "Phase [N] has [X] task plans ready. Run /forge:execute-phase [N] to begin execution."
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. today First seen · 31 lines · 0 tokens per session scan A 2da65b6dff32

Subscribe to this mod's changes

plan-phase is a command published in the GitHub repository sairam0424/MindForge (0 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 370 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-09-03.