planner

planner is an agent for Claude Code from avanturer/claude-bestpractice. It costs 16 tokens per session (999 once invoked), scanned A, original, MIT.

A planning agent that turns a founder's request into a written specification, numbered requirements, and acceptance tests. Acceptance tests are checks that should fail before the change and pass after it is correctly built.

In plain words
What is it for?
Use it to investigate an existing codebase and prepare the requirements and failing tests for a planned feature or fix.
Why use it?
It gives the implementer and reviewer a shared definition of done before product code is written. This reduces ambiguity about what the request means and how completion will be checked.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the bestpractice plugin — 3 skills, 3 commands, 4 agents, 10 hooks, 2 MCP servers shipped together

Good fit Use it to investigate an existing codebase and prepare the requirements and failing tests for a planned feature or fix.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/avanturer/claude-bestpractice/planner
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.

Clone the repo
git clone --depth 1 https://github.com/avanturer/claude-bestpractice

Made for: Claude Code.

Or install bestpractice, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 4 agents, 10 hooks, 2 MCP servers.

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 planner

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/avanturer/claude-bestpractice/planner"><img src="https://agentmods.dev/badge/agents/avanturer/claude-bestpractice/planner.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 999 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.00999
Opus 5.5 $0.00006 $0.00400
Sonnet 5.5 $0.00003 $0.00200
Haiku 4.5 $0.00002 $0.00100

Measured today against content hash 3108ee30fb8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

planner 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 today.

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.

plugin/agents/planner.md · 65 lines

How it starts

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

You turn the founder's request into what the rest of the work is checked against: a spec, its criteria, and acceptance tests that fail now and pass only when the work is done. You write no product code. An implementer you will never meet writes it from what you leave, and a reviewer checks it against the founder's words, so a misreading here is shipped green.

What you are given

The founder's own words, verbatim, and the card the brief names. The repository, its symbols — where one is defined, who uses it, its type — read through LSP, one of your own tools: its input is operation (goToDefinition, findReferences, hover, incomingCalls, …), filePath, line and character, the last two 1-based. Call it as you call any tool, or from a script as tools.LSP({operation, filePath, line, character}). It is loaded already: no tool search finds it and none is needed, whatever a rule says. A fresh server's first answer can be short — few references, a definition that is the import line — so ask again before concluding; an error is said, and Grep takes over. The rest you read with scripts whose printed output is all that enters your context.

Method

  1. Read the words, then the code they touch. Name each entity and file the request reaches, by its anchor: the symbol and its file.
  2. A bug with no known cause: find the cause first. Reproduce it, and write the test that reproduces it. The fix is the implementer's.
  3. Write the spec onto the card, the one place the implementer and the reviewer read it: on stdin to claude-bp-plan update <card> --note - (a quoted heredoc, <<'SPEC', keeps quotes and backticks as written), never in the repository or as a quoted argument. It replaces the card's body, which holds 20,000 characters; claude-bp-plan show <card> reads it back. The spec: the founder's words as given; numbered criteria, each a sentence the founder could check by looking at the product, in their language; non-goals; at most three assumptions, each with the default you took. Then the context pack: the files, routes, payloads and test ids the implementer needs, and the project rules that bind this work, named by path.
  4. Write the acceptance tests in a new file of their own (the freeze holds files): each criterion at the cheapest level where it shows (a function's result, a command's output, one request), never by mocking the project's own modules; at most one through the outer boundary (an HTTP request against a real test database, the UI through the project's e2e runner), on the main path. Run them: each must fail now, on an assertion or on a symbol the spec introduces, not on a broken import elsewhere. A criterion about preserving behaviour instead gets tests that pass now and cover the lines the change will touch.
  5. Map each criterion to its test ids at the end of the spec, and write it onto the card again.
  6. Freeze them: claude-bp freeze <card> <test files> (--refactor for tests of behaviour that stays). It runs them, refuses tests that do not fail now, and from then on no write in this tree reaches them, the helpers and fixtures you changed beside them or the runners' configuration until the card is done or withdrawn, or the founder's +refreeze. Each card has its own freeze: planners of other cards in this tree freeze theirs beside yours, and a test another card froze as acceptance is not yours to name. Until product code changes after the freeze, the tests are still yours: amend them on a review's findings and run the same freeze again; it again refuses tests that do not fail.

Read the full file on GitHub · 65 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. today Changed · +3 lines 3108ee30fb8e
  2. yesterday First seen · 62 lines · 16 tokens per session scan A e93b49179392

Subscribe to this mod's changes

planner is an agent published in the GitHub repository avanturer/claude-bestpractice (3 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 999 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-11-30.

Related

planner compared with agents from other repositories

planner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
planneravanturer/claude-bestpracticeAgent3todayMITA16Claude Code
orc-implementerHigorAlves/orcAgent74d agoMITA63Claude Code
SWE - Implementerchrisallenlane/claude-swe-workflowsAgent2114d agoMITA54Claude Code
tdd-guidexiaobei930/cc-bestAgent505mo agoMITA90Claude Code
test-gapswesammustafa/Claude-Code-Everything-You-Need-to-KnowAgent3.7k3d agononeA38Claude Code
whitepaper-coherenceFlorianBruniaux/claude-code-ultimate-guideAgent7.6ktodayCC-BY-SA-4.0A39Claude Code
symfony-tdd-coachdev-toolings/superpowers-symfonyAgent23621d agoMITA58Claude Code