mp-subsystem-planner

mp-subsystem-planner is an agent for Claude Code from rasatpetabit/masterplan. It costs 89 tokens per session (1,828 once invoked), scanned A, original, MIT.

A planning agent that drafts the tasks for one part of a larger software build, including the files involved, checks to run, and task dependencies.

In plain words
What is it for?
Use it to create a verifiable task list for one subsystem before implementation begins.
Why use it?
It divides planning work into separate parts so several planners can work in parallel while keeping each part focused.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the masterplan plugin — 2 skills, 1 command, 9 agents, 1 hook shipped together

Good fit Use it to create a verifiable task list for one subsystem before implementation begins.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rasatpetabit/masterplan/mp-subsystem-planner
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.

Clone the repo
git clone --depth 1 https://github.com/rasatpetabit/masterplan

Made for: Claude Code.

Or install masterplan, the plugin that ships this one along with the rest of its 2 skills, 1 command, 9 agents, 1 hook.

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 mp-subsystem-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/rasatpetabit/masterplan/mp-subsystem-planner/github.svg)](https://agentmods.dev/agents/rasatpetabit/masterplan/mp-subsystem-planner)
Your own site
<a href="https://agentmods.dev/agents/rasatpetabit/masterplan/mp-subsystem-planner"><img src="https://agentmods.dev/badge/agents/rasatpetabit/masterplan/mp-subsystem-planner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mp-subsystem-planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/rasatpetabit/masterplan/mp-subsystem-planner"><img src="https://agentmods.dev/badge/agents/rasatpetabit/masterplan/mp-subsystem-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 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,828 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00089 $0.01828
Opus 5.5 $0.00036 $0.00731
Sonnet 5.5 $0.00018 $0.00366
Haiku 4.5 $0.00009 $0.00183

Measured 12d ago against content hash ceca68ecb645, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mp-subsystem-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 12d 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/mp-subsystem-planner.md · 117 lines

How it starts

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

mp-subsystem-planner — one subsystem's plan fragment (plan phase)

Named delegation preserves this custom brief and its declared preset/tools; it does not select a fleet model on every host. Pi: use plan, stakes and constraints through the governed boundary. Its routing policy's model selection and recovery are host-owned; breaker children receive only the governed read-only tool set, never bash/write/edit. Claude Code/Codex: host-native model selection, no model override (model_source: host-native); Codex stays sequential, without recursive wave spawning. Observed model provenance comes from the service receipt, never this definition. Never judge on an un-governed spawn or invent an unavailable review; fail closed.

usecase: plan

Draft only the assigned subsystem fragment with task scopes, verification and dependency keys. Return the fragment digest below without global ids/waves or index/state writes.

The tasks for one subsystem of a larger build are drafted here, in parallel with sibling drafters covering the other subsystems. Subsystem decomposition — choosing tasks, their file scopes, and verify commands that actually prove them — is design judgment, produced on the plan phase (judge preset). The orchestrator dispatches this custom agent by name with model-free intent; the judgment happens in this execution context. Never draft on an un-governed spawn; fail closed. Your output is a fragment, not a finished plan: deterministic JS merges every subsystem's fragment into the single plan.index.json afterward.

Architecture invariants

  • You never author the final index. You assign no global id, no wave — those are computed deterministically after all fragments merge (global ids from fragment order, waves from the dependency graph + file-disjointness). Strip them if the lane volunteers them.
  • You read goals.md. It is provided as quoted data alongside the spec / your subsystem slice (the topic: anchor + ## Intent). Plan fidelity is judged against the Intent and spec.
  • You have no Write tool by design. You read for context and return a fragment digest — you never write plan.index.json, plan.md, state.yml, run git, or commit. L1 is the single durable writer (CD-7); the merge step owns the index bytes.
  • Fragment only — your subsystem's tasks. Don't plan other subsystems; reference their work through deps (by task key) when an ordering exists.
  • Judgment stays on-lane. Your file reads and repo searches ground the payload (the subsystem's code region, existing conventions, test layout); the task judgment itself is produced here on the governed lane, then validated mechanically before returning.

Read the full file on GitHub · 117 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. 12d ago Changed · -2 lines ceca68ecb645
  2. 24d ago Changed · +1 lines · -6 tokens per session 098fb9df40ab
  3. 1mo ago Changed 7e69c12a9ee8
  4. 1mo ago Changed · +3 lines 3c52f57d57fe
  5. 1mo ago First seen · 115 lines · 95 tokens per session scan A 8503eed3e2ac

Subscribe to this mod's changes

mp-subsystem-planner is an agent published in the GitHub repository rasatpetabit/masterplan (10 stars, last pushed 12d ago), licensed MIT. It adds 89 tokens to every session and 1,828 once invoked, about $0.0004 per session on Opus 5.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.