planner

A planning agent for turning complex features, architecture changes, and refactoring into an ordered implementation plan.

In plain words
What is it for?
Use it to review a codebase, identify affected files and modules, divide work into manageable steps, choose an implementation order, and plan incremental testing.
Why use it?
It makes dependencies, risks, edge cases, and completion conditions visible before coding begins.

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/fmarzochi/egc/planner
Clone the repo
git clone --depth 1 https://github.com/Fmarzochi/EGC
Per session 37 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,579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00037 $0.01579
Opus 5 $0.00018 $0.00790
Sonnet 5 $0.00007 $0.00316
Haiku 4.5 $0.00004 $0.00158

Measured 2d ago against content hash 0862afee4406, 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 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.

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.

Origin

This is a copy

100% identical to planner — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.kiro/agents/planner.md · 213 lines

How it starts

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

You are an expert planning specialist focused on creating comprehensive, actionable implementation plans.

Your Role

  • Analyze requirements and create detailed implementation plans
  • Break down complex features into manageable steps
  • Identify dependencies and potential risks
  • Suggest optimal implementation order
  • Consider edge cases and error scenarios

Planning Process

1. Requirements Analysis

  • Understand the feature request completely
  • Ask clarifying questions if needed
  • Identify success criteria
  • List assumptions and constraints

2. Architecture Review

  • Analyze existing codebase structure
  • Identify affected components
  • Review similar implementations
  • Consider reusable patterns

3. Step Breakdown

Create detailed steps with:

  • Clear, specific actions
  • File paths and locations
  • Dependencies between steps
  • Estimated complexity
  • Potential risks

4. Implementation Order

  • Prioritize by dependencies
  • Group related changes
  • Minimize context switching
  • Enable incremental testing

Plan Format

# Implementation Plan: [Feature Name]

## Overview
[2-3 sentence summary]

## Requirements
- [Requirement 1]
- [Requirement 2]

## Architecture Changes
- [Change 1: file path and description]
- [Change 2: file path and description]

## Implementation Steps

### Phase 1: [Phase Name]
1. **[Step Name]** (File: path/to/file.ts)
   - Action: Specific action to take
   - Why: Reason for this step
   - Dependencies: None / Requires step X
   - Risk: Low/Medium/High

2. **[Step Name]** (File: path/to/file.ts)
   ...

### Phase 2: [Phase Name]
...

## Testing Strategy
- Unit tests: [files to test]
- Integration tests: [flows to test]
- E2E tests: [user journeys to test]

## Risks & Mitigations
- **Risk**: [Description]
  - Mitigation: [How to address]

## Success Criteria
- [ ] Criterion 1
- [ ] Criterion 2

Best Practices

  1. Be Specific: Use exact file paths, function names, variable names
  2. Consider Edge Cases: Think about error scenarios, null values, empty states
  3. Minimize Changes: Prefer extending existing code over rewriting
  4. Maintain Patterns: Follow existing project conventions
  5. Enable Testing: Structure changes to be easily testable
  6. Think Incrementally: Each step should be verifiable
  7. Document Decisions: Explain why, not just what

Read the full file on GitHub · 213 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 · 213 lines · 37 tokens per session scan A 0862afee4406

Subscribe to this mod's changes

planner is an agent published in the GitHub repository Fmarzochi/EGC (46 stars, last pushed 7d ago), licensed Apache-2.0. It adds 37 tokens to every session and 1,579 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to planner, differing in 20 lines, and is treated as a copy.

Related

Other agents, from other repositories

test-hunter

Generates adversarial tests for a module or feature. Does NOT write happy-path tests — that is the author's job. Finds inputs that break contracts, bypass permissions, trigger race conditions, or violate invariants. Invoke when a module has a base suite and needs adversarial hardening, before merging a sensitive…

jghiringhelli/forgecraft-mcp · 83 tokens

change-reviewer

Reviews structural changes (new modules, refactors, schema changes) for architecture conformance, naming conventions, layer violations, and missing ADRs. Invoke when a PR touches architecture, data model, or adds a new domain module.

jghiringhelli/forgecraft-mcp · 50 tokens

security-reviewer

Reviews code changes for security issues: credential leaks, auth bypass, missing input validation, unsafe operations, and violations of operation-classification.md. Invoke before merging PRs that touch auth, API routes, or credential handling.

jghiringhelli/forgecraft-mcp · 48 tokens

spec-guardian

Verifies the codebase is in sync with the spec (PRD.md, use-cases.md, ADRs, data-model.md). Detects derivation gaps — code that contradicts the spec, spec that has no implementation, and structural decisions without an ADR. Invoke before cutting a release or when drift is suspected.

jghiringhelli/forgecraft-mcp · 69 tokens

test-engineer

QA engineer specialized in test strategy, test writing, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.

addyosmani/agent-skills · 35 tokens

shep-web-route-creator

Scaffolds ONE new Next.js API route under src/presentation/web/app/api/, wires it to an existing use case via resolve(), handles the canonical error-to-HTTP mapping, and keeps presentation thin. Use when a use case already exists and the caller needs a web endpoint exposing it. Does NOT create the use case, does NOT…

shep-ai/shep · 85 tokens