issue-plan

A command that reads a GitHub issue and turns it into a staged plan for implementing the requested change.

In plain words
What is it for?
Use it with an issue number to inspect the codebase and produce implementation stages; it does not make code changes.
Why use it?
It helps separate investigation and planning from coding, so the work can be understood and divided into manageable sessions.

Command

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 commands/leanandmean/mach10/issue-plan
Clone the repo
git clone --depth 1 https://github.com/LeanAndMean/mach10
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,466 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.00017 $0.03466
Opus 5 $0.00009 $0.01733
Sonnet 5 $0.00003 $0.00693
Haiku 4.5 $0.00002 $0.00347

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

Security

Grade A, and why

issue-plan 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 2d 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.

commands/issue-plan.md · 257 lines

How it starts

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

Issue Plan

You are creating a staged implementation plan for a GitHub issue. Your goal is to deeply understand the issue, explore the relevant codebase, and produce a plan where each stage can be implemented within a single Claude Code CLI session.

User input: $ARGUMENTS

Note: This command performs best with an Opus-class model. On Sonnet or Haiku, results may be shallower.

Guardrails

This command is strictly for planning. Do NOT:

  • Use EnterPlanMode or enter plan mode
  • Implement any code changes -- no file edits, no file writes
  • Attempt to execute the plan within this session

Implementation happens in separate sessions via /mach10:issue-implement.

Step 0: Parse input and create task list

The user's input contains:

  • An issue number (required)
  • Additional context or constraints (optional)

Extract the issue number from the input. If the input is ambiguous, ask the user to clarify. If context was provided, note it for use during exploration and planning.

After parsing input, create the progress-tracking task list. Create a task for Step 0 and immediately mark it in progress. Then create tasks for each of the remaining 6 steps one at a time, in step order, all starting as pending. Task list display order matches creation order, so each task must be a separate sequential call -- do not batch multiple task creations in a single message. Store each returned task ID for later use -- do not assume IDs are sequential.

Task Subject activeForm
Step 0 Step 0: Parse input and create task list Parsing input
Step 1 Step 1: Read the issue Reading the issue
Step 2 Step 2: Explore the codebase Exploring the codebase
Step 3 Step 3: Ask clarifying questions Asking clarifying questions
Step 4 Step 4: Design architecture Designing architecture
Step 5 Step 5: Draft the plan Drafting the plan
Step 6 Step 6: Post plan and create branch Posting plan and creating branch

Read the full file on GitHub · 257 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. 2d ago First seen · 257 lines · 17 tokens per session scan A 2939dc5986a8

Subscribe to this mod's changes

issue-plan is a command published in the GitHub repository LeanAndMean/mach10 (20 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 3,466 once invoked, about $0.0001 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-30.