plan

plan is a command for coding agents from eddacraft/anvil-plan-spec. It costs 0 tokens per session (613 once invoked), scanned A, original, Apache-2.0.

A command that starts or resumes APS, a structured way to plan software work using project plans and module specifications.

In plain words
What is it for?
It checks plans, modules, and work-item status; bootstraps missing planning files; and reports the project's planning state.
Why use it?
It shows what planning documents already exist and creates the basic planning structure when the project has none.

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

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/eddacraft/anvil-plan-spec/plan.svg)](https://agentmods.dev/commands/eddacraft/anvil-plan-spec/plan)
Your own site
<a href="https://agentmods.dev/commands/eddacraft/anvil-plan-spec/plan"><img src="https://agentmods.dev/badge/commands/eddacraft/anvil-plan-spec/plan.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 613 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.00613
Opus 5 $0.00000 $0.00307
Sonnet 5 $0.00000 $0.00123
Haiku 4.5 $0.00000 $0.00061

Measured 4d ago against content hash 9e6ea0c26b3f, 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • plan — 100% identical, 10 lines differ
commands/plan.md · 82 lines

How it starts

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

/plan

Start or continue APS planning for this project.

Instructions

You are starting an APS (Anvil Plan Spec) planning session. Follow these steps:

Step 1: Assess current state

Check what APS artefacts already exist:

  1. Look for plans/ directory
  2. Read plans/aps-rules.md if it exists (agent guidance)
  3. Read plans/index.aps.md if it exists (current plan)
  4. Check plans/modules/ for existing module specs
  5. Check for any work items with Ready or In Progress status

Step 2: Bootstrap if needed

If no plans/ directory exists, scaffold the APS structure before continuing:

  1. Check if scaffold/init.sh exists in this repo — if so, run it: bash scaffold/init.sh .
  2. Otherwise, create the structure manually:
    • mkdir -p plans/modules plans/execution plans/decisions
    • Create plans/index.aps.md with an Index template
    • Create plans/aps-rules.md with agent guidance
  3. Tell the user what was created and ask what they're building

If hooks aren't installed, suggest: ./aps-planning/scripts/install-hooks.sh

Step 3: Report what you found

Tell the user:

  • Whether APS is already set up in this project
  • What plans/modules exist and their current status
  • What work items are in progress or ready
  • What the logical next step is

Step 4: Help plan

Based on what the user needs:

If plans exist but are empty: Ask what they're building and help create the right spec. Use the template picker:

Situation Template
Quick feature (1-3 items) Simple spec
Module with boundaries Module spec
Multi-module initiative Index + Modules

If plans exist but need work items: Help define work items with Intent, Expected Outcome, and Validation fields.

If work items are Ready: Ask which to start executing. Create an Action Plan if the work item is complex.

If work items are In Progress: Pick up where the last session left off. Re-read the work item and continue.

Read the full file on GitHub · 82 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. 4d ago First seen · 82 lines · 0 tokens per session scan A 9e6ea0c26b3f

Subscribe to this mod's changes

plan is a command published in the GitHub repository eddacraft/anvil-plan-spec (10 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 613 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-31.