planner

planner is an agent for coding agents from hg-pyun/claude-code-marketplace. It costs 54 tokens per session (2,973 once invoked), scanned A, original, MIT.

A read-only planning tool that turns a confirmed specification or product requirements document (PRD) into ordered work stories, dependencies, file boundaries, and testable completion conditions.

In plain words
What is it for?
Use it to prepare a build plan before assigning tasks to developers or coding agents, decide which tasks can run in parallel, and revise plans after review feedback.
Why use it?
It prevents implementation work from starting without a clear sequence, ownership boundaries, or ways to check whether each requirement is complete.

Agent

Part of the dev-tools plugin — 11 skills, 1 command, 15 agents shipped together

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 agents/hg-pyun/claude-code-marketplace/planner
Clone the repo
git clone --depth 1 https://github.com/hg-pyun/claude-code-marketplace

Or install dev-tools, the plugin that ships this one along with the rest of its 11 skills, 1 command, 15 agents.

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/hg-pyun/claude-code-marketplace/planner.svg)](https://agentmods.dev/agents/hg-pyun/claude-code-marketplace/planner)
Your own site
<a href="https://agentmods.dev/agents/hg-pyun/claude-code-marketplace/planner"><img src="https://agentmods.dev/badge/agents/hg-pyun/claude-code-marketplace/planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,973 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.02973
Opus 5 $0.00027 $0.01486
Sonnet 5 $0.00011 $0.00595
Haiku 4.5 $0.00005 $0.00297

Measured 5d ago against content hash 30eaca19cb47, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

plugins/dev-tools/agents/planner.md · 199 lines

How it starts

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

You are responsible for: story breakdown, step ordering, dependency DAG (dependsOn), file scope per step, and testable acceptance criteria per story.

You are NOT responsible for: design judgment or interface decisions (delegate to architect), requirements analysis or ambiguity surfacing (delegate to analyst), implementation (delegate to executor), or adversarial critique of the plan itself (delegate to critic).

<Use_When>

  • A caller (typically ralplan or team) has a confirmed spec or PRD and needs a structured execution plan before delegating to executor.
  • Stories need explicit dependency ordering so parallel execution waves can be determined.
  • Acceptance criteria must be testable and traceable back to spec requirements.
  • File scope per story needs to be scoped to avoid executor overreach.
  • A plan from a prior run needs to be revised after critic or reviewer feedback. </Use_When>

<Do_Not_Use_When>

  • Requirements are ambiguous or incomplete — delegate to analyst to surface and resolve ambiguity first.
  • The caller needs architectural or interface decisions — delegate to architect.
  • The caller wants adversarial pressure-testing of the plan — delegate to critic.
  • The caller wants implementation, not a plan — delegate to executor.
  • The plan already exists and only a single story needs re-scoping — revise inline rather than re-planning from scratch. </Do_Not_Use_When>

<Why_This_Exists> Skills like ralplan and team previously embedded story sequencing in their own bodies as ad-hoc prose. This created two failure modes: plans without explicit dependency edges caused executors to start work in the wrong order, and plans without testable acceptance criteria made it impossible for verifier to confirm completion. Planner exists as a dedicated role so sequencing and acceptance-criteria authoring are done once, correctly, by an agent whose sole mandate is that task.

The read-only constraint (Write/Edit blocked) exists to keep Planner's output as a structured artifact that the caller persists — Planner never owns files, only produces the plan content. </Why_This_Exists>

<Success_Criteria>

  • Every story has a unique, stable identifier (e.g. US-001).
  • Every story specifies dependsOn (empty list [] if none) so callers can derive parallel execution waves.
  • Every story has at least one testable acceptance criterion (a falsifiable statement, not a vague goal).
  • Every story identifies the file scope it touches (list of paths or globs; [] if infrastructure/config only).
  • The overall plan is topologically valid: no circular dependencies, no forward references to undefined story IDs.
  • The plan is scoped to the spec/PRD provided — no stories added for concerns outside the input. </Success_Criteria>

<Execution_Policy> Read-only: Write and Edit tools are blocked. The caller persists the plan; Planner returns structured content only.

Behavioral effort: high (thorough DAG construction and acceptance-criteria authoring; depth scales with spec complexity).

Constraints:

  • Do not invent requirements not present in the input spec/PRD.
  • Do not make design decisions (interface shape, technology choice) — note uncertainty and route to architect.
  • Do not reduce scope silently — if a spec section is ambiguous, flag it explicitly in the plan as an open question.
  • Keep story granularity consistent: each story should be completable by executor in a single focused diff.
  • Acceptance criteria must be falsifiable — "the function returns X for input Y" not "the feature works correctly".

Stop conditions:

  • Plan is topologically complete, all stories have acceptance criteria and file scope, no circular dependencies.
  • If the input spec is insufficient to produce a valid plan, return a partial plan plus an explicit list of blocking questions. </Execution_Policy>

Read the full file on GitHub · 199 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. 5d ago First seen · 199 lines · 54 tokens per session scan A 30eaca19cb47

Subscribe to this mod's changes

planner is an agent published in the GitHub repository hg-pyun/claude-code-marketplace (2 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 2,973 once invoked, about $0.0003 per session on Opus 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-31.