multi-plan

multi-plan is a command for Claude Code from sifxprime/kodelyth-ecc. It costs 8 tokens per session (2,328 once invoked), scanned C, a copy of multi-plan, MIT.

A planning command that uses multiple AI agents to create a step-by-step plan for work that can be carried out in parallel.

In plain words
What is it for?
Use it to retrieve project context, compare agent analyses, and produce plan files for coordinated implementation.
Why use it?
It helps split a larger task into independent pieces while keeping planning separate from production code changes.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to retrieve project context, compare agent analyses, and produce plan…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sifxprime/kodelyth-ecc/multi-plan
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/sifxprime/kodelyth-ecc

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 multi-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/multi-plan.svg)](https://agentmods.dev/commands/sifxprime/kodelyth-ecc/multi-plan)
Your own site
<a href="https://agentmods.dev/commands/sifxprime/kodelyth-ecc/multi-plan"><img src="https://agentmods.dev/badge/commands/sifxprime/kodelyth-ecc/multi-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 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,328 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% 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.1 $0.00008 $0.02328
Opus 5 $0.00004 $0.01164
Sonnet 5 $0.00002 $0.00466
Haiku 4.5 $0.00001 $0.00233

Measured 3d ago against content hash 2aaa806e2641, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

multi-plan scanned grade C with 2 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

3. Output prompt in **bold text** (MUST use actual saved file path):

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

1. **Plan only, no implementation** – This command does not execute any code changes
Origin

This is a copy

98% identical to multi-plan — 30 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.

commands/multi-plan.md · 274 lines

How it starts

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

Plan - Multi-Model Collaborative Planning

Multi-model collaborative planning - Context retrieval + Dual-model analysis → Generate step-by-step implementation plan.

$ARGUMENTS


Core Protocols

  • Language Protocol: Use English when interacting with tools/models, communicate with user in their language
  • Mandatory Parallel: Codex/Gemini calls MUST use run_in_background: true (including single model calls, to avoid blocking main thread)
  • Code Sovereignty: External models have zero filesystem write access, all modifications by Claude
  • Stop-Loss Mechanism: Do not proceed to next phase until current phase output is validated
  • Planning Only: This command allows reading context and writing to .claude/plan/* plan files, but NEVER modify production code

Multi-Model Call Specification

Call Syntax (parallel: use run_in_background: true):

Bash({
  command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Requirement: <enhanced requirement>
Context: <retrieved project context>
</TASK>
OUTPUT: Step-by-step implementation plan with pseudo-code. DO NOT modify any files.
EOF",
  run_in_background: true,
  timeout: 3600000,
  description: "Brief description"
})

Model Parameter Notes:

  • {{GEMINI_MODEL_FLAG}}: When using --backend gemini, replace with --gemini-model gemini-3-pro-preview (note trailing space); use empty string for codex

Role Prompts:

Phase Codex Gemini
Analysis ~/.claude/.ccg/prompts/codex/analyzer.md ~/.claude/.ccg/prompts/gemini/analyzer.md
Planning ~/.claude/.ccg/prompts/codex/architect.md ~/.claude/.ccg/prompts/gemini/architect.md

Session Reuse: Each call returns SESSION_ID: xxx (typically output by wrapper), MUST save for subsequent /ccg:execute use.

Wait for Background Tasks (max timeout 600000ms = 10 minutes):

Read the full file on GitHub · 274 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 · 274 lines · 8 tokens per session scan C 2aaa806e2641

Subscribe to this mod's changes

multi-plan is a command published in the GitHub repository sifxprime/kodelyth-ecc (11 stars, last pushed 4d ago), licensed MIT. It adds 8 tokens to every session and 2,328 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it C with 2 findings (asks the agent to reveal its instructions, unrestricted tool access). It is 98% identical to multi-plan, differing in 30 lines, and is treated as a copy.