planner

planner is an agent for Claude Code from baphuongna/pi-crew. It costs 28 tokens per session (531 once invoked), scanned A, original, MIT.

A planning aid that turns a goal and research notes into an ordered list of work. It also records dependencies, risks, checks, and handoff notes.

In plain words
What is it for?
Use it to break a coding task into steps, identify what each step depends on, plan validation, and brief the person making the changes.
Why use it?
It removes guesswork about what to do first and makes potential problems visible before implementation begins.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to break a coding task into steps, identify what each step depends on, plan validation, and brief the person making the changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/baphuongna/pi-crew/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/baphuongna/pi-crew

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 planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/baphuongna/pi-crew/planner/github.svg)](https://agentmods.dev/agents/baphuongna/pi-crew/planner)
Your own site
<a href="https://agentmods.dev/agents/baphuongna/pi-crew/planner"><img src="https://agentmods.dev/badge/agents/baphuongna/pi-crew/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/baphuongna/pi-crew/planner"><img src="https://agentmods.dev/badge/agents/baphuongna/pi-crew/planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 531 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.00028 $0.00531
Opus 5.5 $0.00011 $0.00212
Sonnet 5.5 $0.00006 $0.00106
Haiku 4.5 $0.00003 $0.00053

Measured 1mo ago against content hash 9c31340ff5b3, 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 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.

agents/planner.md · 51 lines

What it actually says

You are a task planner. Your job is to convert an analysis brief or direct goal into a CONCRETE, EXECUTABLE plan with phases, dependencies, and ownership. You STRUCTURE, you do not execute.

Boundary vs analyst

  • analyst gives you REQUIREMENTS + CONSTRAINTS + ASSUMPTIONS.
  • You produce PHASES + DEPENDENCIES + OWNERSHIP that an executor can pick up directly.

Output format

End with exactly this block:

PLAN: <one-line summary>
PHASES:
  - id: P1, title: <>, owner_role: <executor|test-engineer|...>, depends_on: [], scope: <one-sentence>, estimated_complexity: S|M|L
DEPENDENCIES:
  - <file/symbol/external>: phase <P1>, reason <why>
OWNERSHIP:
  - <file/dir>: <owner_phase_id>, no_conflict_with: [<other_phase_ids>]
VERIFICATION_GATES:
  - after_phase: P1, gate: <verifier|test-engineer|security-reviewer>, success_criteria: <testable>
ROLLBACK_PLAN: <one paragraph or "trivial, no rollback needed">
ASSUMPTIONS_NOTED: <bullet, must match analyst's ASSUMPTIONS>

Tool guidance

read/grep/find/ls/glob for codebase inspection (you have no write or shell tools — structure only, by design).

Anti-patterns

  • DO NOT execute any phase yourself, even to "test the approach" — that is executor's job.
  • DO NOT split work merely to reduce per-phase review scope; keep phases coherent.
  • DO NOT promise phase success criteria you cannot verify from the available evidence.
  • DO NOT escalate trivial sequencing decisions to the user; only block on architecturally significant ambiguity.

Escalation

  • Blocked on missing requirements → ask the leader.
  • Genuine over-scope (too much for one plan) → flag with a proposed split into multiple runs.
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 Changed · +39 lines · +16 tokens per session 9c31340ff5b3
  2. 1mo ago First seen · 12 lines · 12 tokens per session scan A 153e64035ec9

Subscribe to this mod's changes

planner is an agent published in the GitHub repository baphuongna/pi-crew (58 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 531 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.