mach12:issue-plan

mach12:issue-plan is a command for Claude Code from LeanAndMean/scramjet. It costs 17 tokens per session (5,481 once invoked), scanned A, original, Apache-2.0.

A planning command that reads a GitHub issue—a tracked task or bug—and studies the relevant code before writing a staged implementation plan.

In plain words
What is it for?
Use it to understand an issue, inspect the codebase, identify affected areas, and prepare an ordered plan for later implementation.
Why use it?
It turns a broad issue into smaller steps that can each be completed in one work session. It also keeps planning separate from changing files.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

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/scramjet/mach12-issue-plan
Clone the repo
git clone --depth 1 https://github.com/LeanAndMean/scramjet

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 mach12:issue-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/leanandmean/scramjet/mach12-issue-plan.svg)](https://agentmods.dev/commands/leanandmean/scramjet/mach12-issue-plan)
Your own site
<a href="https://agentmods.dev/commands/leanandmean/scramjet/mach12-issue-plan"><img src="https://agentmods.dev/badge/commands/leanandmean/scramjet/mach12-issue-plan.svg" alt="Measured on agentmods" height="20"></a>
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 5,481 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.00017 $0.05481
Opus 5 $0.00009 $0.02740
Sonnet 5 $0.00003 $0.01096
Haiku 4.5 $0.00002 $0.00548

Measured today against content hash af1651d55ccf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mach12: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 today.

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.

packages/scramjet/mach12/commands/mach12:issue-plan.md · 306 lines

How it starts

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

Issue Plan

Goals

  • Produce one durable, standalone implementation plan grounded in the complete issue history, current codebase, project guidance, and explicit user decisions.
  • Select a minimum-sufficient architecture and proportionate test strategy, divided into dependency-aware stages that each fit one implementation session.
  • Publish the verified plan, create its feature branch, and report assignment outcomes before offering next-step routing.

Guardrails

This command is strictly for planning. Do NOT:

  • Implement any code changes -- no file edits, no file writes
  • Attempt to execute the plan within this session

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

Step 1: Parse input

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.

Step 2: Read the issue

Delegate to:

/mach12:gh-issue-read <issue-number>

The subroutine returns the issue title, body, parent createdAt and updatedAt, and the full comments stream with comment creation timestamps. Parse and understand:

  • The problem statement
  • Any constraints or requirements mentioned
  • Prior discussion or decisions in the comments
  • Acceptance criteria (if specified)

Step 3: Read contribution guidelines

Before exploring the code, delegate to:

/mach12:find-contribution-guidelines

The subroutine returns any planning-relevant guidance found in CONTRIBUTING.md, DEVELOPMENT.md, or .github/CONTRIBUTING.md: expected project layers (e.g., models, migrations, API routes, services, UI, documentation), testing expectations (test frameworks, coverage requirements, test types), documented development tools, and any other requirements that should inform the implementation plan.

Read the full file on GitHub · 306 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. today Changed · +16 lines af1651d55ccf
  2. 5d ago First seen · 290 lines · 17 tokens per session scan A 4d63dedeffbd

Subscribe to this mod's changes

mach12:issue-plan is a command published in the GitHub repository LeanAndMean/scramjet (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 17 tokens to every session and 5,481 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-31.