plan-feature

A command that creates a detailed implementation plan for an Archon feature and saves it for a later execution command.

In plain words
What is it for?
Use it before implementation when you need an actionable plan covering package impact, data flow, files to change, and validation.
Why use it?
It turns a feature request into defined problems, success checks, scope limits, affected packages, interfaces, and codebase research.

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/coleam00/context-engineering-intro/plan-feature
Clone the repo
git clone --depth 1 https://github.com/coleam00/context-engineering-intro

Made for: Claude Code.

Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,292 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 94% 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.00010 $0.01292
Opus 5 $0.00005 $0.00646
Sonnet 5 $0.00002 $0.00258
Haiku 4.5 $0.00001 $0.00129

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

Security

Grade A, and why

plan-feature scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

5. Manual test: {specific curl command or UI steps to verify the feature}
Origin

This is a copy

94% identical to plan-feature — 4 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.

use-cases/ai-coding-wisc-framework/.claude/commands/plan-feature.md · 171 lines

How it starts

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

Plan Feature: Comprehensive Archon Implementation Planning

Objective

Produce a detailed, actionable implementation plan for: $ARGUMENTS

The plan will be saved to .claude/archon/plans/{kebab-case-name}.md and is designed to be consumed by the /execute command.


Phase 1: Feature Understanding

Restate the feature request in your own words. Identify:

  1. Problem being solved — What user pain point or capability gap does this address?
  2. Success criteria — What does "done" look like? How will we verify it works?
  3. Scope boundaries — What is explicitly in scope vs. out of scope?
  4. Package impact — Which of the 8 packages are affected? (paths, git, isolation, workflows, core, adapters, server, web)
  5. Interface changes — Does this touch IPlatformAdapter, IAssistantClient, IDatabase, or IWorkflowStore? New interfaces needed?

Phase 2: Codebase Intelligence

Use subagents to perform targeted codebase research in parallel. Spawn separate subagents for:

Subagent A — Affected package deep-dive: Read all relevant source files in the affected packages. Map the current data flow. Identify every file that will need to change.

Subagent B — Interface and type contracts: Read packages/core/src/types/ and relevant index.ts exports. Understand what interfaces exist and how they're consumed across packages.

Subagent C — Test patterns: Find existing test files similar to the area of change:

find packages/ -name "*.test.ts" | head -30

Read 2-3 representative test files to understand mocking patterns, assertion style, and mock.module() isolation requirements per package.

Subagent D — Related prior work:

git log --oneline --all | head -20

Read recent commits touching relevant files to understand change patterns.

Synthesize findings: current state, gaps, constraints.


Phase 3: External Research (if needed)

If the feature involves external APIs, new libraries, or unfamiliar patterns, use web search to research:

Read the full file on GitHub · 171 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. 3d ago First seen · 171 lines · 10 tokens per session scan A 530f83cd9cf9

Subscribe to this mod's changes

plan-feature is a command published in the GitHub repository coleam00/context-engineering-intro (13,819 stars, last pushed 5mo ago), licensed MIT. It adds 10 tokens to every session and 1,292 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 94% identical to plan-feature, differing in 4 lines, and is treated as a copy.