aod.plan

A workflow that runs the full planning sequence: specification, implementation plan, and task list. It resumes from the first planning document that still needs work.

In plain words
What is it for?
Use it to detect the current feature, run the required planning steps in order, continue after approval, and report what needs fixing after a rejection.
Why use it?
It removes the need to start each planning step manually and prevents the process from moving forward when a review rejects or blocks an artifact.

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/davidmatousek/agentic-oriented-development-kit/aod.plan
Clone the repo
git clone --depth 1 https://github.com/davidmatousek/agentic-oriented-development-kit

Made for: Claude Code.

Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00021 $0.00562
Opus 5 $0.00010 $0.00281
Sonnet 5 $0.00004 $0.00112
Haiku 4.5 $0.00002 $0.00056

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

Security

Grade A, and why

aod.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.

Origin

This is a copy

100% identical to aod.plan — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/aod.plan.md · 45 lines

How it starts

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

User Input

$ARGUMENTS

Consider user input before proceeding (if not empty).

Overview

Orchestrates all three Plan sub-steps in sequence. Advances automatically when governance reviews pass (APPROVED). Stops if any review returns CHANGES_REQUESTED or BLOCKED, so the user can fix and re-run /aod.plan to resume from where it stopped.

Flow: Detect branch → Read artifact states → Run sub-steps in sequence (spec → project-plan → tasks) → Stop on rejection or report completion

Execution

Invoke the ~aod-plan skill to perform orchestration. Pass any user arguments through to the sub-commands.

The skill will:

  1. Determine the current feature from the git branch
  2. Check spec.md, plan.md, and tasks.md for existence and approval status
  3. Start from the first sub-step that needs work (skips already-approved artifacts)
  4. After each sub-step is approved, automatically advance to the next
  5. Stop on CHANGES_REQUESTED or BLOCKED — report what needs fixing
  6. Report "Plan stage complete" when all three artifacts are approved

Common Rationalizations

Rationalization Reality
"I'll bypass /aod.plan and run the sub-commands myself" /aod.plan resumes from the first unfinished sub-step (Step 3 of this file) and skips already-approved artifacts. Running sub-commands manually loses auto-advance and the artifact-state check.
"The spec was rejected — I'll re-run /aod.plan to skip past it" Step 5 stops on CHANGES_REQUESTED by design and re-enters at the rejected sub-step. Address review notes; the orchestrator does not bypass rejections.
"I'll run /aod.plan from main — it will figure out the branch" Step 1 derives the feature from git branch --show-current. From main, no NNN-* feature is detected and the orchestrator aborts. Create the feature branch first.

Red Flags

  • Agent runs /aod.spec, /aod.project-plan, and /aod.tasks separately without invoking /aod.plan once.
  • Agent re-invokes /aod.plan immediately after a CHANGES_REQUESTED stop without editing the rejected artifact.
  • Agent invokes /aod.plan from the main branch instead of a NNN-* feature branch.
  • Agent reports "Plan stage complete" without the Step 6 confirmation message from the orchestrator.

Read the full file on GitHub · 45 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 · 45 lines · 21 tokens per session scan A 28c908b94df0

Subscribe to this mod's changes

aod.plan is a command published in the GitHub repository davidmatousek/agentic-oriented-development-kit (22 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 562 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to aod.plan, differing in 0 lines, and is treated as a copy.