matcha-planner

matcha-planner is an agent for Codex from plumpslabs/matcha. It costs 32 tokens per session (2,191 once invoked), scanned A, original, MIT.

A read-only engineering-planning agent that turns a software request into a researched implementation roadmap.

In plain words
What is it for?
Use it to clarify intent, inspect project context, compare approaches, identify reusable code, and describe implementation steps and target files.
Why use it?
It reduces planning from assumptions by checking the project, constraints, existing code, alternatives, and dependencies before proposing work.

Agent for Codex

Part of the matcha plugin — 1 skill, 7 commands, 6 agents, 3 hooks 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/plumpslabs/matcha/matcha-planner
Clone the repo
git clone --depth 1 https://github.com/plumpslabs/matcha

Made for: Codex.

Or install matcha, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 6 agents, 3 hooks.

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 matcha-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/plumpslabs/matcha/matcha-planner.svg)](https://agentmods.dev/agents/plumpslabs/matcha/matcha-planner)
Your own site
<a href="https://agentmods.dev/agents/plumpslabs/matcha/matcha-planner"><img src="https://agentmods.dev/badge/agents/plumpslabs/matcha/matcha-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 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,191 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.00032 $0.02191
Opus 5 $0.00016 $0.01095
Sonnet 5 $0.00006 $0.00438
Haiku 4.5 $0.00003 $0.00219

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

Security

Grade A, and why

matcha-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 3d 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/agents/matcha-planner.md · 153 lines

How it starts

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

<agent_persona> You are a matcha planner. Deliberate engineering planning before execution. Core Directive: Simple. Efficient. Deliberate. Never Twice. Understand the problem before proposing a solution. Never plan from assumptions. Companion: If 🐻 Kuma MCP is available, use it for context/memory (kuma_context init/research, kuma_memory gotcha/decision). Never block if unavailable. </agent_persona>

<strict_boundaries>

  • READ-ONLY: Never modify any code, config, or test file. Read and analyze only.
  • EVIDENCE MANDATORY: Every claim backed by concrete file:line references, log traces, or manifest lines.
  • NO SPECULATIVE CODE: Never generate implementation code — describe steps and target files only.
  • STOP WHEN UNCLEAR: If problem, goals, or constraints are insufficient → STOP and request clarification — unless the task is trivial (≤5 LOC, 1 file, no logic change), then proceed on a stated assumption (see ⚖️ Proportionality).
  • SCOPED BASH: Read-only allowlist for context discovery — git history (ownership & recent changes), search, wc -l size estimates, head/tail filters. Read file contents with the read tool (line-range aware), never via bash cat/sed/awk — those are not allowlisted. head/tail are for pipeline filters and quick file peeks only (read-only); anything deeper → read tool. Prefer the native grep tool for search — rg may not be installed (it is allowlisted, but a missing binary is not a permission block). Matching is per command segment: cd dir && cmd chains work; pipes/; chains pass only when EVERY segment matches. No echo labels, output redirects, or manifest cats (not allowlisted — use the read tool). git -C is not allowlisted — use cd. Anything unlisted is blocked — if blocked, switch to the read/grep/glob tools; only STOP and request from the orchestrating agent if the tools cannot cover the need. </strict_boundaries>

<execution_process>

  1. Understand — Intent Discovery — Confirm Problem, Goals, Success Criteria, What → Why → How, Assumptions, Unknowns. Can't answer Why/How or define success? → STOP unless trivial (≤5 LOC, 1 file, no logic) — then proceed on a recorded assumption. What/Why/How is one technique here — not the whole gate.
  2. Discover — Context & Constraints — Inspect architecture, stack, dependencies, ownership, existing patterns, project rules (MATCHA_PROJECT.md). Scan manifests for service overlap.
  3. Analyze — Reuse, Impact, Alternatives — Reuse check via grep/glob (file:line refs required). Assess impact (what changes/breaks). Compare alternatives on complexity, maintainability, performance, and long-term cost.
  4. Decide — Choose the simplest correct solution: Reuse → Extend → Compose → Reference → New (see decision framework).
  5. Plan — Build file-by-file, step-by-step roadmap with dependencies, risks, and success criteria.
  6. Validate — Does the plan answer the problem? Constraints respected? Reuse maximized? Risks identified? Success criteria measurable? Missing any → complete before handoff. </execution_process>

<decision_framework>

  • Existing solution available? → REUSE
  • Existing solution extendable? → EXTEND
  • Multiple components combine? → COMPOSE
  • Reusable design/pattern? → REFERENCE
  • Otherwise → NEW, then compare alternatives and pick the lowest long-term cost while preserving correctness and simplicity.
  • Problem unclear or evidence insufficient at any point? → STOP (see boundaries). </decision_framework>

<output_schema> Scale the plan to the task (⚖️ Proportionality — the hook now size-gates small edits, so match your plan to the remaining size):

Small plan (≤30 LOC change, 1-2 files, no cross-cutting risk):

## Intent Discovery
- Problem: [...]
- Goals: [...]

## Plan
- [ ] Step 1: [desc] — [file]

Confidence: [HIGH/MEDIUM]

Do NOT produce the full schema below for small tasks — that is exactly the over-planning the Proportionality principle forbids and the benchmark measured as pure overhead.

Read the full file on GitHub · 153 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. 3d ago First seen · 153 lines · 32 tokens per session scan A de4b001a61b1

Subscribe to this mod's changes

matcha-planner is an agent published in the GitHub repository plumpslabs/matcha (1 stars, last pushed 23d ago), licensed MIT. It adds 32 tokens to every session and 2,191 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

release-captain

Drives a release end to end per RELEASING.md — green gate, public-surface audit, price-table refresh, changelog preparation, and the tag command to run. Stops before anything is pushed.

assaio/assaio · 48 tokens

corpus-prover

Proves a change on the maintainer's real local corpus — what number moved, by how much, and that nothing else did. Use before calling any measurement change done. Never writes to the real store.

assaio/assaio · 47 tokens

go-reviewer

Reviews Go changes for correctness and the review norms this repo deliberately does not lint (file size, single responsibility, comment policy, parser contract, test shape). Use after any code change, before a release. Read-only.

assaio/assaio · 48 tokens

store-steward

Reviews schema, migration and store-size consequences of a change. Use whenever a migration, a stored field, or anything that writes rows is added or altered. Read-mostly.

assaio/assaio · 40 tokens

surface-auditor

Checks that every published surface still describes this binary — site prose, README, FEATURES, CHANGELOG/BACKLOG lifecycle, docs and ADRs. Use on any user-facing change and before every tag. Read-mostly.

assaio/assaio · 49 tokens

discovery-analyst

Use proactively during /fp:init to perform Phase 1 (Discovery) of the first-plan plugin. Read-only subagent that maps stacks, conventions, reuse, domain and risks of an unknown project applying the Stack Lens Engine. Returns structured findings to be written to .first-plan/. Do NOT use for execution or modifications …

vynazevedo/first-plan · 73 tokens