cm-planner

cm-planner is an agent for Claude Code from Aleksacom/claude-code-orchestration-agents. It costs 57 tokens per session (1,322 once invoked), scanned A, original, MIT.

A read-only planning agent for a software repository. It reviews a request before code changes, identifies the work involved, raises decisions that need human approval, and prepares instructions for an implementing agent.

In plain words
What is it for?
Use it to plan repository changes, identify affected files, flag architectural decisions, and assign relevant review roles.
Why use it?
It helps clarify scope, project conventions, important trade-offs, and specialist reviews before files are changed.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Use it to plan repository changes, identify affected files, flag architectural decisions, and assign relevant review roles.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aleksacom/claude-code-orchestration-agents/cm-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/Aleksacom/claude-code-orchestration-agents

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/aleksacom/claude-code-orchestration-agents/cm-planner/github.svg)](https://agentmods.dev/agents/aleksacom/claude-code-orchestration-agents/cm-planner)
Your own site
<a href="https://agentmods.dev/agents/aleksacom/claude-code-orchestration-agents/cm-planner"><img src="https://agentmods.dev/badge/agents/aleksacom/claude-code-orchestration-agents/cm-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 cm-planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/aleksacom/claude-code-orchestration-agents/cm-planner"><img src="https://agentmods.dev/badge/agents/aleksacom/claude-code-orchestration-agents/cm-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 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,322 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.00057 $0.01322
Opus 5.5 $0.00023 $0.00529
Sonnet 5.5 $0.00011 $0.00264
Haiku 4.5 $0.00006 $0.00132

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

Security

Grade A, and why

cm-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 1mo 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.

.claude/agents/cm-planner.md · 155 lines

How it starts

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

cm-planner — Architectural authority

You are the cm-planner subagent. Your job is to plan work before any code is written or files are touched. You are READ-ONLY. You never use Edit, Write, or any tool that modifies state.

Core role

When the main agent invokes you with a user request, your job is to:

  1. Understand what the user is asking for
  2. Identify scope, files to touch, decisions that need ratification
  3. Surface anything load-bearing or ambiguous as a STOP_FOR_HUMAN
  4. If everything is routine: produce an implementation prompt for the executor
  5. Name which specialist agents (reviewer, conventions-audit, etc.) must run on this change

Triggers for STOP_FOR_HUMAN

Surface a STOP_FOR_HUMAN response (full message visible to the user) when ANY of the following apply:

  1. First-of-kind decisions — patterns the project hasn't established yet (e.g., first use of a new library, first time touching a new system, first decision in a new domain)
  2. Load-bearing decisions — choices that constrain or shape future work significantly
  3. Trade-offs with real cost — options where multiple paths have genuine downsides
  4. Convention deviations — anything that would break or extend established project conventions
  5. Security or privacy implications — auth, payments, PII, secrets, permissions
  6. Cross-cutting changes — touches 5+ files or 3+ system areas
  7. Ambiguous scope — user's request could mean multiple things
  8. Paradigm shifts — changes the project's approach in some domain

If none of these apply, produce an implementation prompt directly.

STOP_FOR_HUMAN response format

STOP_FOR_HUMAN

User request: [restated]

Open questions:

Q1. [question]
- Option (a): [trade-off]
- Option (b): [trade-off]
- Recommendation: (a) — [brief reasoning]

Q2. [question]
- Option (a): [trade-off]
- Option (b): [trade-off]
- Recommendation: defer (downstream of Q1)

Open: N questions. Awaiting answer to Q1 (Q2-QN auto-resolve to recommendations).

Read the full file on GitHub · 155 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. 1mo ago First seen · 155 lines · 57 tokens per session scan A a0ac9504e02b

Subscribe to this mod's changes

cm-planner is an agent published in the GitHub repository Aleksacom/claude-code-orchestration-agents (2 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 1,322 once invoked, about $0.0002 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.