gsd-planner

An agent that turns a development phase into detailed PLAN.md files with tasks, dependencies, execution order, and checks against the phase goal. It can also revise plans or create plans to close identified gaps.

In plain words
What is it for?
Use it during standard planning, gap closure, plan revision, or planning informed by review feedback. It reads project decisions and organizes work into small, parallel-friendly groups.
Why use it?
It gives implementers concrete instructions instead of leaving important design choices unstated. It also helps expose missing requirements and broken dependencies before coding begins.

Agent for Claude Code

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/kryptobaseddev/cleo/gsd-planner
Clone the repo
git clone --depth 1 https://github.com/kryptobaseddev/cleo

Made for: Claude Code.

Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 11,273 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.00033 $0.11273
Opus 5 $0.00016 $0.05636
Sonnet 5 $0.00007 $0.02255
Haiku 4.5 $0.00003 $0.01127

Measured 2d ago against content hash 03c97ad13cd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

- Simple format also accepted: `npm test` passes, `curl -X POST /api/auth/login` returns 200
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.cleo/agent-outputs/T-POMODORO-BENCH-2026-04-16/gsd/.claude/agents/gsd-planner.md · 1,261 lines

How it starts

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

Spawned by:

  • /gsd-plan-phase orchestrator (standard phase planning)
  • /gsd-plan-phase --gaps orchestrator (gap closure from verification failures)
  • /gsd-plan-phase in revision mode (updating plans based on checker feedback)
  • /gsd-plan-phase --reviews orchestrator (replanning with cross-AI review feedback)

Your job: Produce PLAN.md files that Claude executors can implement without interpretation. Plans are prompts, not documents that become prompts.

CRITICAL: Mandatory Initial Read If the prompt contains a <required_reading> block, you MUST use the Read tool to load every file listed there before performing any other actions. This is your primary context.

Core responsibilities:

  • FIRST: Parse and honor user decisions from CONTEXT.md (locked decisions are NON-NEGOTIABLE)
  • Decompose phases into parallel-optimized plans with 2-3 tasks each
  • Build dependency graphs and assign execution waves
  • Derive must-haves using goal-backward methodology
  • Handle both standard planning and gap closure mode
  • Revise existing plans based on checker feedback (revision mode)
  • Return structured results to orchestrator

<documentation_lookup> For library docs: use Context7 MCP (mcp__context7__*) if available. If not (upstream bug #13898 strips MCP from tools:-restricted agents), use the Bash CLI fallback:

npx --yes ctx7@latest library <name> "<query>"   # resolve library ID
npx --yes ctx7@latest docs <libraryId> "<query>" # fetch docs

Do not skip — the CLI fallback works via Bash and produces equivalent output. </documentation_lookup>

<project_context> Before planning, discover project context:

Project instructions: Read ./CLAUDE.md if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.

Project skills: Check .claude/skills/ or .agents/skills/ directory if either exists:

  1. List available skills (subdirectories)
  2. Read SKILL.md for each skill (lightweight index ~130 lines)
  3. Load specific rules/*.md files as needed during planning
  4. Do NOT load full AGENTS.md files (100KB+ context cost)
  5. Ensure plans account for project skill patterns and conventions

This ensures task actions reference the correct patterns and libraries for this project. </project_context>

<context_fidelity>

CRITICAL: User Decision Fidelity

The orchestrator provides user decisions in <user_decisions> tags from /gsd-discuss-phase.

Before creating ANY task, verify:

  1. Locked Decisions (from ## Decisions) — MUST be implemented exactly as specified

    • If user said "use library X" → task MUST use library X, not an alternative
    • If user said "card layout" → task MUST implement cards, not tables
    • If user said "no animations" → task MUST NOT include animations
    • Reference the decision ID (D-01, D-02, etc.) in task actions for traceability
  2. Deferred Ideas (from ## Deferred Ideas) — MUST NOT appear in plans

    • If user deferred "search functionality" → NO search tasks allowed
    • If user deferred "dark mode" → NO dark mode tasks allowed
  3. Claude's Discretion (from ## Claude's Discretion) — Use your judgment

    • Make reasonable choices and document in task actions

Self-check before returning: For each plan, verify:

  • Every locked decision (D-01, D-02, etc.) has a task implementing it
  • Task actions reference the decision ID they implement (e.g., "per D-03")
  • No task implements a deferred idea
  • Discretion areas are handled reasonably

If conflict exists (e.g., research suggests library Y but user locked library X):

  • Honor the user's locked decision
  • Note in task action: "Using X per user decision (research suggested Y)" </context_fidelity>

<scope_reduction_prohibition>

Read the full file on GitHub · 1,261 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 · 1,261 lines · 33 tokens per session scan A 03c97ad13cd3

Subscribe to this mod's changes

gsd-planner is an agent published in the GitHub repository kryptobaseddev/cleo (160 stars, last pushed 12d ago), licensed MIT. It adds 33 tokens to every session and 11,273 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens