plan

plan is a command for coding agents from queelius/claude-anvil. It costs 12 tokens per session (348 once invoked), scanned A, original, MIT.

A command that turns a book chapter design specification into a detailed implementation plan. The plan lists source material, files, cross-references, tasks, checks, and expected outputs.

In plain words
What is it for?
Use it to plan a chapter in a technical book, including its sections, exercises, bibliography notes, notebooks, integration work, page targets, and commit messages.
Why use it?
It gives chapter work a concrete sequence and records requirements before drafting begins.

Command

Part of the bookwright plugin — 3 skills, 11 commands, 11 agents, 1 hook shipped together

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

Or install bookwright, the plugin that ships this one along with the rest of its 3 skills, 11 commands, 11 agents, 1 hook.

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/queelius/claude-anvil/plan.svg)](https://agentmods.dev/commands/queelius/claude-anvil/plan)
Your own site
<a href="https://agentmods.dev/commands/queelius/claude-anvil/plan"><img src="https://agentmods.dev/badge/commands/queelius/claude-anvil/plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 348 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.00012 $0.00348
Opus 5 $0.00006 $0.00174
Sonnet 5 $0.00002 $0.00070
Haiku 4.5 $0.00001 $0.00035

Measured 3d ago against content hash e48bce911a56, 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 3d 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.

bookwright/commands/plan.md · 31 lines

What it actually says

/bookwright:plan

Produce a per-chapter implementation plan from the relevant design spec. The plan is the basis for /bookwright:draft.

What it produces

A plan markdown file at docs/superpowers/plans/YYYY-MM-DD-<chapter-name>.md with:

  • Goal, architecture summary, tech stack, scope, base SHA.
  • Source-material list (which papers/sections to reformulate).
  • Lessons inherited from prior plans (page-budget discipline, banned-phrase reminders, cross-ref discipline).
  • File structure: which chapter and section subfiles get created.
  • Cross-reference map: which labels this chapter defines and which it references.
  • Per-task list (typically 8-10 tasks: scaffold + per-section + bib notes + exercises + notebook + integration).
  • Each task with content checklist, page-budget target, header-comment-block requirement, commit message.

Steps

  1. Read the master spec and the relevant per-Part spec.
  2. Read the chapter's stub file in book/chapters/ if it exists.
  3. Walk the per-section spec items from the per-Part spec; turn each into a Task with its content checklist.
  4. Add scaffold Task 1, bib-notes Task N-1, exercises Task N, and (if applicable) notebook Task N+1.
  5. Save the plan to the plans directory.
  6. Report it back; suggest next step: /bookwright:draft <chapter> to execute the plan.
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. 3d ago First seen · 31 lines · 12 tokens per session scan A e48bce911a56

Subscribe to this mod's changes

plan is a command published in the GitHub repository queelius/claude-anvil (2 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 348 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-31.