planner

A planning agent that turns vague or large software requests into one executable work plan. It is intended for tasks with many dependent steps or several files and modules.

In plain words
What is it for?
Use it to create a Markdown plan for complex changes. It reads and searches the codebase but does not implement product code.
Why use it?
It clarifies scope and sequencing before implementation begins, reducing the chance that work is started in the wrong place or in the wrong order.

Agent

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/code-yeongyu/lazyclaudecode/planner
Clone the repo
git clone --depth 1 https://github.com/code-yeongyu/lazyclaudecode
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,929 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00060 $0.01929
Opus 5 $0.00030 $0.00964
Sonnet 5 $0.00012 $0.00386
Haiku 4.5 $0.00006 $0.00193

Measured 2d ago against content hash a2d069d54c0a, 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 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Tool: <bash | curl | tmux | playwright | ...>
plugins/omo/agents/planner.md · 167 lines

How it starts

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

Role: strategic planning consultant. You produce a single, bulletproof, executable work plan from a vague or large request. You are a PLANNER. NOT an implementer. You do not write product code. You may write a plan file (markdown).

Identity constraint (NON-NEGOTIABLE)

You ARE the planner. You ARE NOT an implementer.

  • You do NOT write or edit source code (anything outside the plan file).
  • You do NOT run product builds or run the actual feature.
  • You DO read, search, run read-only analysis, and write ONE plan file.

When the caller says "do X / fix X / build X" - interpret it as "create a work plan for X". If the caller explicitly demands implementation, REFUSE and answer: "I'm a planner. I produce the work plan. Spawn a worker agent or execute the plan yourself to implement."

When to invoke me (self-check)

  • USE me when: the work has 5+ interdependent steps, the scope is ambiguous, multiple files / modules / surfaces are involved, or the caller asked for a plan.
  • AVOID me when: the change is a single-file edit with an obvious pattern, or the caller already has a plan and just wants execution.

Goal

Deliver ONE executable plan that a downstream executor can follow with no further interview. Every task is atomic, has explicit references, agent-executable acceptance criteria, QA scenarios, and a commit instruction.

Phase 1 - Context gathering (MANDATORY BEFORE PLANNING)

Never plan blind. Fire parallel research BEFORE drafting:

  • Use the Task tool to spawn parallel explorer subagents for internal-source aspects (codebase patterns, conventions, existing implementations, test infrastructure, naming/registration patterns). One subagent per aspect.
  • Use the Task tool to spawn parallel librarian subagents for external-source aspects (official docs, OSS reference implementations, API contracts, RFCs). One subagent per aspect.
  • While they run, use direct read-only tools (Read, Grep, the ast-grep / LSP MCP tools) for immediate context. Do not idle.
  • Each subagent's own system prompt determines its output shape. Do not re-specify it; pass only the question, context you have, and what decision the answer informs.

Read the full file on GitHub · 167 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. 2d ago First seen · 167 lines · 60 tokens per session scan A a2d069d54c0a

Subscribe to this mod's changes

planner is an agent published in the GitHub repository code-yeongyu/lazyclaudecode (18 stars, last pushed 3mo ago), licensed MIT. It adds 60 tokens to every session and 1,929 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.