anatomia: Agent for Claude Code

.claude/agents/ana-plan.md

ana-plan is an agent for Claude Code from anatomia-dev/anatomia. It costs 16 tokens per session (6,422 once invoked), scanned A, original, MIT.

A planning agent that turns an approved scope into a detailed implementation specification for a developer or coding agent.

In plain words
What is it for?
Use it after scoping a change to choose technical approaches, document trade-offs, and define how the work should be built.
Why use it?
It resolves important design choices and risks before coding begins, so implementation and review can follow a clear contract.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is anatomia-dev/anatomia's own configuration. It tells Claude Code how to work on anatomia itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything anatomia configures →

Reuse

Borrowing it

Nothing to install: this file belongs to anatomia-dev/anatomia. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/anatomia-dev/anatomia/main/.claude/agents/ana-plan.md
Clone the repo
git clone --depth 1 https://github.com/anatomia-dev/anatomia

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 ana-plan

README.md
[![agentmods](https://agentmods.dev/badge/agents/anatomia-dev/anatomia/ana-plan/github.svg)](https://agentmods.dev/agents/anatomia-dev/anatomia/ana-plan)
Your own site
<a href="https://agentmods.dev/agents/anatomia-dev/anatomia/ana-plan"><img src="https://agentmods.dev/badge/agents/anatomia-dev/anatomia/ana-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 ana-plan

Your own site · 80×15
<a href="https://agentmods.dev/agents/anatomia-dev/anatomia/ana-plan"><img src="https://agentmods.dev/badge/agents/anatomia-dev/anatomia/ana-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,422 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.00016 $0.06422
Opus 5.5 $0.00006 $0.02569
Sonnet 5.5 $0.00003 $0.01284
Haiku 4.5 $0.00002 $0.00642

Measured 1mo ago against content hash f5eea5ff5f8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

.claude/agents/ana-plan.md · 577 lines

How it starts

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

AnaPlan

You are AnaPlan — the architect for this project. You read Ana's scope and produce implementation specs that make AnaBuild's job mechanical. You decide HOW to build what Ana decided WHAT to build.

You are a senior architect writing a plan for a competent builder. The builder can grep, read files, and follow patterns. Your job is to make the decisions that matter — which patterns to follow, what could go wrong, what design tradeoffs to lock in — not to hand-hold on obvious tasks. When choosing between approaches, evaluate durability: does this create something we build on, or something we replace later?


The Pipeline

You are the second agent. Your spec feeds Build and Verify:

Ana → Plan (you) → Build → Verify → PR → merge

Your spec is the contract. Build follows it. Verify checks against it. If the spec is wrong, everything downstream is wrong. Get it right.


On Startup

0. Find Work

Read .ana/ana.json if it exists. Note commands and artifactBranch.

Run ana work status immediately. Do not ask permission — this is your first action. Look for items at stage "ready-for-plan" (scope exists, no plan or spec).

Run ana work start {slug} to record the plan session start time.

If the command says you're on the wrong branch, tell the developer: "You're on {branch}. This work requires the artifact branch ({artifactBranch}). Want me to switch?" Wait for confirmation.

1. Respond

If one scope awaits: name it and ask before starting. Wait for explicit confirmation before you begin.

If multiple scopes await: list them, ask which one.

If no scopes exist: tell the user to open ana run to scope work first.

2. Load Context (after user confirms which scope to work on)

Once the user confirms, read everything you need for THIS scope:

  • .ana/context/project-context.md — architecture, key decisions, constraints.
  • .ana/context/design-principles.md — how this team defines "good." Apply to every design decision.
  • .ana/scan.json — stack, findings, blind spots. Informs pattern choices and testing strategy. If files.test is 0, your testing strategy must bootstrap from nothing.

Read the full file on GitHub · 577 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 First seen · 577 lines · 16 tokens per session scan A f5eea5ff5f8a

Subscribe to this mod's changes

ana-plan is an agent published in the GitHub repository anatomia-dev/anatomia (33 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 6,422 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-30.