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

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/aleksacom/claude-code-orchestration-agents/cm-planner
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.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.svg" alt="Measured on agentmods" 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. 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.1 $0.00057 $0.01322
Opus 5 $0.00028 $0.00661
Sonnet 5 $0.00011 $0.00264
Haiku 4.5 $0.00006 $0.00132

Measured 5d ago against content hash a0ac9504e02b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 3mo ago), licensed MIT. It adds 57 tokens to every session and 1,322 once invoked, about $0.0003 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

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

system-architect

Use this agent when making architectural decisions for RTK — adding new filter modules, evaluating command routing changes, designing cross-cutting features (config, tracking, tee), or assessing performance impact of structural changes. Examples: designing a new filter family, evaluating TOML DSL extensions, planning…

rtk-ai/rtk · 0 tokens

Power Platform MCP Integration Expert

Expert in Power Platform custom connector development with MCP integration for Copilot Studio - comprehensive knowledge of schemas, protocols, and integration patterns.

github/awesome-copilot · 31 tokens

MS-SQL Database Administrator

Work with Microsoft SQL Server databases using the MS SQL extension.

github/awesome-copilot · 18 tokens

ap-preflight-probe

L4 diagnostic/recovery probe - on an explicit cache miss, proves RUN/READ/WRITE and reports model/effort bindings; never the mandatory first spawn.

Spielewoy/autoprompt-skill · 39 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens