claude-code-autoconfig: Command for Claude Code

.claude/commands/abort-plan.md

abort-plan is a command for Claude Code from design-and-deliver/claude-code-autoconfig. It costs 0 tokens per session (1,575 once invoked), scanned C, original, MIT.

A command that permanently marks a selected development plan as stopped in the repository's planning files. A plan is a written checklist of implementation steps and its Ledger is the record of progress and decisions.

In plain words
What is it for?
Use it to select a plan, review its progress and branch state, record the reason for stopping, and update the plan's files. It asks instead of guessing when more than one plan matches.
Why use it?
Stopping only in chat can make other tools mistake an abandoned plan for unfinished work. This command leaves a terminal status on disk so later continuation checks do not resume it accidentally.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is design-and-deliver/claude-code-autoconfig's own configuration. It tells Claude Code how to work on claude-code-autoconfig itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-autoconfig configures →

Reuse

Borrowing it

Nothing to install: this file belongs to design-and-deliver/claude-code-autoconfig. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/design-and-deliver/claude-code-autoconfig/main/.claude/commands/abort-plan.md
Clone the repo
git clone --depth 1 https://github.com/design-and-deliver/claude-code-autoconfig

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/design-and-deliver/claude-code-autoconfig/abort-plan/github.svg)](https://agentmods.dev/commands/design-and-deliver/claude-code-autoconfig/abort-plan)
Your own site
<a href="https://agentmods.dev/commands/design-and-deliver/claude-code-autoconfig/abort-plan"><img src="https://agentmods.dev/badge/commands/design-and-deliver/claude-code-autoconfig/abort-plan/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 abort-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/design-and-deliver/claude-code-autoconfig/abort-plan"><img src="https://agentmods.dev/badge/commands/design-and-deliver/claude-code-autoconfig/abort-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,575 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00000 $0.01575
Opus 5 $0.00000 $0.00788
Sonnet 5 $0.00000 $0.00315
Haiku 4.5 $0.00000 $0.00158

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

Security

Grade C, and why

abort-plan scanned grade C with 1 finding 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 9d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- @description Kill a plan that isn't worth finishing — stamps the doc ABORTED so /continue stops resuming it, writes the post-mortem, tags and deletes the branch, and tables the idea for a future revisit. -->
.claude/commands/abort-plan.md · 121 lines

How it starts

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

Stop a plan for good, and make every piece of tooling agree that it stopped.

The argument is: $ARGUMENTS

An abort that lives only in a chat window is not an abort. A plan killed at 4 of 9 substeps is byte-identical to one that merely stalled — same unchecked boxes, same Ledger, same branch — so /continue's plan probe finds it, reconciles it, and reports "next: substep 2.3" to a session weeks later. This command exists to leave a terminal state on disk.

Step 0: Identify the plan, and confirm

Resolve $ARGUMENTS to one plan doc — scan both docs/*.md and .claude/plans/*.md (a plan lives in either; the second is gitignored in some repos). Match on the alias in the filename or the H1. If the argument is empty, infer from what this session has been executing.

Then read three slices — the header, the substep checkboxes, and the Ledger tail — and report before changing anything:

  • how far it got (N of M substeps checked),
  • its branch and worktree, and whether any of the branch is already in main,
  • the reason being recorded.

Ambiguous or zero matches → stop and ask. Never guess which plan to kill. And if /fleet shows a live sibling session on this plan's branch, stop: aborting under a session that is mid-substep destroys uncommitted work. Report the sibling and stand down.

Read the full file on GitHub · 121 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. 9d ago First seen · 121 lines · 0 tokens per session scan C f027dece50db

Subscribe to this mod's changes

abort-plan is a command published in the GitHub repository design-and-deliver/claude-code-autoconfig (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,575 tokens. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.