plan

plan is a command for Claude Code from Chappygo-OS/Atomic-Spec. It costs 14 tokens per session (15,709 once invoked), scanned A, original, MIT.

A command that turns a feature request into an implementation plan and related design documents.

In plain words
What is it for?
Use it to plan a feature, create design artifacts, and identify planning documents that must be finished first.
Why use it?
It provides a structured starting point for coding and checks for unfinished planning work before continuing.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to plan a feature, create design artifacts, and identify planning documents that must be finished first.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/chappygo-os/atomic-spec/plan
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.

Clone the repo
git clone --depth 1 https://github.com/Chappygo-OS/Atomic-Spec

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/chappygo-os/atomic-spec/plan/github.svg)](https://agentmods.dev/commands/chappygo-os/atomic-spec/plan)
Your own site
<a href="https://agentmods.dev/commands/chappygo-os/atomic-spec/plan"><img src="https://agentmods.dev/badge/commands/chappygo-os/atomic-spec/plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/chappygo-os/atomic-spec/plan"><img src="https://agentmods.dev/badge/commands/chappygo-os/atomic-spec/plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 15,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00014 $0.15709
Opus 5.5 $0.00006 $0.06284
Sonnet 5.5 $0.00003 $0.03142
Haiku 4.5 $0.00001 $0.01571

Measured 1mo ago against content hash 61523fe07b7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

templates/commands/plan.md · 1,654 lines

How it starts

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

User Input

$ARGUMENTS

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

Outline

  1. Setup: Run {SCRIPT} from repo root and parse JSON for FEATURE_SPEC, IMPL_PLAN, SPECS_DIR, BRANCH.

1.5. Pre-flight: detect unfinished earlier work (v0.3+, per Constitution Directive 9):

Check BOTH spec.md AND clarify-log.md (the latter only if it exists — clarify is optional). Either being in authoring_in_progress blocks planning.

scripts/bash/stamp-lifecycle.sh status "$FEATURE_SPEC" --json
# If clarify-log.md exists, also:
[ -f "$SPECS_DIR/$BRANCH/clarify-log.md" ] && scripts/bash/stamp-lifecycle.sh status "$SPECS_DIR/$BRANCH/clarify-log.md" --json
scripts\powershell\stamp-lifecycle.ps1 -Command status -Artifact "$FEATURE_SPEC" -Json
$clog = "$SPECS_DIR\$BRANCH\clarify-log.md"
if (Test-Path $clog) { scripts\powershell\stamp-lifecycle.ps1 -Command status -Artifact $clog -Json }

Parse each JSON. If ANY reports state=authoring_in_progress, ABORT with:

"Unfinished detected (artifact: , started by ). Run /atomicspec. to finish, or /atomicspec.implement for the full resume procedure."

This is the lightweight cross-phase guard. Only /atomicspec.implement performs the full Phase 0 Orientation.

  1. Load context: Read FEATURE_SPEC and /memory/constitution.md. Load IMPL_PLAN template (already copied).

2.5. Stamp Lifecycle Markers — open authoring on plan.md (v0.3+):

IMPL_PLAN was just copied by setup-plan and contains the ## Lifecycle Markers heading. Initialize and open the authoring lifecycle:

scripts/bash/stamp-lifecycle.sh init  "$IMPL_PLAN" --lifecycle authoring
scripts/bash/stamp-lifecycle.sh start "$IMPL_PLAN" --lifecycle authoring --provider {{AGENT_NAME}} --verify-depth deep
scripts\powershell\stamp-lifecycle.ps1 -Command init  -Artifact "$IMPL_PLAN" -Lifecycle authoring
scripts\powershell\stamp-lifecycle.ps1 -Command start -Artifact "$IMPL_PLAN" -Lifecycle authoring -Provider {{AGENT_NAME}} -VerifyDepth deep

Read the full file on GitHub · 1,654 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. 1mo ago Changed · +100 lines 61523fe07b7c
  2. 1mo ago First seen · 1,554 lines · 14 tokens per session scan A a6c0a0d13113

Subscribe to this mod's changes

plan is a command published in the GitHub repository Chappygo-OS/Atomic-Spec (10 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 15,709 once invoked, about $0.0001 per session on Opus 5.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.