specops: Command for Claude Code

.claude/commands/resume-plan.md

resume-plan is a command for Claude Code from sanmak/specops. It costs 0 tokens per session (1,779 once invoked), scanned A, original, MIT.

A command workflow for finding a saved implementation plan and preparing it for continued work. It can identify a plan by filename or show recent plans to choose from.

In plain words
What is it for?
Use it when resuming an unfinished plan, browsing recent plan files, reviewing the plan's title and date, or syncing the plan with current project code.
Why use it?
It helps recover work that was planned earlier instead of starting the design process again. It also brings the selected plan in line with the latest main branch.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions Claude Code.

This is sanmak/specops's own configuration. It tells Claude Code how to work on specops 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 specops configures →

Part of the specops plugin — 2 skills, 14 commands shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to sanmak/specops. 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/sanmak/specops/main/.claude/commands/resume-plan.md
Clone the repo
git clone --depth 1 https://github.com/sanmak/specops

Made for: Claude Code.

Or install specops, the plugin that ships this one along with the rest of its 2 skills, 14 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/sanmak/specops/resume-plan/github.svg)](https://agentmods.dev/commands/sanmak/specops/resume-plan)
Your own site
<a href="https://agentmods.dev/commands/sanmak/specops/resume-plan"><img src="https://agentmods.dev/badge/commands/sanmak/specops/resume-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 resume-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/sanmak/specops/resume-plan"><img src="https://agentmods.dev/badge/commands/sanmak/specops/resume-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,779 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.01779
Opus 5.5 $0.00000 $0.00712
Sonnet 5.5 $0.00000 $0.00356
Haiku 4.5 $0.00000 $0.00178

Measured 3mo ago against content hash 09c75bbcd697, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

resume-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 3mo 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/commands/resume-plan.md · 142 lines

How it starts

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

Resume a previously created plan — discovers plan files, syncs with latest main, and presents the plan ready for implementation.

Instructions

Follow these steps precisely.

Argument Parsing

Parse $ARGUMENTS:

  • If non-empty, treat as a plan file identifier: a full filename (e.g., serene-hugging-orbit.md), a name without extension (e.g., serene-hugging-orbit), or a full path.
  • If empty, proceed to plan discovery in Step 1.

Step 1: Discover and select plan file

If $ARGUMENTS is empty:

  1. List all .md files in ~/.claude/plans/ sorted by modification time (newest first): ls -t ~/.claude/plans/*.md 2>/dev/null
  2. If no files are found, report "No plan files found in ~/.claude/plans/. Create a plan using Claude Code's plan mode first." and stop.
  3. For each plan file (limit to the 15 most recent), extract:
    • The filename (without path)
    • The modification date: stat -f '%Sm' -t '%Y-%m-%d %H:%M' <file> (macOS) or stat -c '%y' <file> (Linux)
    • The first # heading from the file content, or "Untitled plan" if none
  4. Display the list as a numbered table:
Available plans (most recent first):

 #  Plan file                          Last modified       Title
 1  serene-hugging-orbit.md            2025-03-18 23:14    Plan: Resolve PR #56 Conflicts
 2  majestic-knitting-haven.md         2025-03-17 14:22    Plan: Update README
 ...
  1. Ask the user: "Which plan would you like to resume? Enter a number or filename." Wait for their response. Save the selection as PLAN_PATH.

If $ARGUMENTS is non-empty:

  1. If $ARGUMENTS is a full path:
    • Reject if it is outside ~/.claude/plans/ unless the user explicitly confirms.
    • Require .md extension.
    • If valid and the file exists, save as PLAN_PATH; otherwise report an error and stop.
  2. If $ARGUMENTS is a filename (with or without .md), look for it in ~/.claude/plans/. Append .md if not already present. If found, save as PLAN_PATH.
  3. If the file is not found, report "Plan file not found: $ARGUMENTS. Run /resume-plan without arguments to list available plans." and stop.

Read the full file on GitHub · 142 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. 3mo ago First seen · 142 lines · 0 tokens per session scan A 09c75bbcd697

Subscribe to this mod's changes

resume-plan is a command published in the GitHub repository sanmak/specops (58 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,779 tokens. 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.

Related

resume-plan compared with commands from other repositories

resume-plan next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
resume-plansanmak/specopsCommand584mo agoMITA0Claude Code
skill-creatorGentleman-Programming/gentle-aiCommand9.7kyesterdayMITA14Claude Code
skill-registryGentleman-Programming/gentle-aiCommand9.7kyesterdayMITA14Claude Code
evolution-enginezxpmail/ReqForgeCommand1814d agoMITA11Claude Code
test-mapsamibs/skillfoundryCommand132mo agoMITA0Claude Code
architectsamibs/skillfoundryCommand132mo agoMITA0Claude Code
generatesamibs/skillfoundryCommand132mo agoMITA0Claude Code