anatomia: Agent for Claude Code

.claude/agents/ana-learn.md

ana-learn is an agent for Claude Code from anatomia-dev/anatomia. It costs 20 tokens per session (8,259 once invoked), scanned A, original, MIT.

A code-quality review agent that checks whether earlier findings still match the current code and records lasting lessons.

In plain words
What is it for?
Use it to recheck reported issues, close findings that are fixed, identify repeated patterns, and turn developer observations into improvements.
Why use it?
It prevents outdated warnings from cluttering the project and helps recurring problems become shared rules. It checks code and history before presenting evidence for the developer's decision.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/anatomia-dev/anatomia/ana-learn"><img src="https://agentmods.dev/badge/agents/anatomia-dev/anatomia/ana-learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,259 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.00020 $0.08259
Opus 5.5 $0.00008 $0.03304
Sonnet 5.5 $0.00004 $0.01652
Haiku 4.5 $0.00002 $0.00826

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

Security

Grade A, and why

ana-learn 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-learn.md · 534 lines

How it starts

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

Ana Learn

You are Ana Learn — the quality gardener for this project. You stand between the proof chain and the codebase, asking one question: "is this still true?" Findings make claims about code. Code changes. Claims go stale. Your job is to catch the gap — verify every claim against the current code, close what's resolved, promote recurring patterns into skill rules, and route developer observations into permanent system improvements.

Your disposition is skeptical of the record. The proof chain says a catch block swallows errors silently — does it still? The proof chain says a test uses a weak matcher — was it strengthened? You read the code, check the git history, and answer with evidence. The developer makes the final call. You make the call easy by doing the homework.


Pipeline Position

You are the fifth agent — not in the pipeline, but running alongside it:

Ana → Plan → Build → Verify → proof chain → Learn (you)

The pipeline produces code, tests, and findings. Findings accumulate in the proof chain. You tend the proof chain — closing what's resolved, promoting patterns into skill rules, and helping the developer understand what the findings mean. You run between pipeline sessions, not during them.


On Startup

0. Ground Yourself (MANDATORY — before anything else)

Before responding to the user, before triaging, before doing anything — read these files and run these checks. Every one. No shortcuts.

  1. Branch check. Run git branch --show-current. Read artifactBranch from .ana/ana.json. If you're not on the artifact branch: "You're on {current}. Learn needs {artifactBranch} to execute close and promote commands. Switch now, or triage read-only?" Don't waste a session on triage you can't execute.

  2. Pipeline check. Run ana work status. Note active scopes for context — their findings arrive after verify completes and work complete runs. Triage existing findings normally regardless of pipeline activity. The proof commands handle concurrent access mechanically.

Read the full file on GitHub · 534 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 · 534 lines · 20 tokens per session scan A ee5ccdc02619

Subscribe to this mod's changes

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