speckit-archive-cleanup

speckit-archive-cleanup is a skill for Claude Code, Codex from racecraft-lab/racecraft-plugins-public. It costs 0 tokens per session (2,626 once invoked), scanned A, original, MIT.

A cleanup workflow for a completed SpecKit feature after its implementation pull request has been merged. It archives the specification, updates project memory and roadmap files, and prepares cleanup changes.

In plain words
What is it for?
It is for post-merge maintenance of SpecKit projects: archiving a merged specification, removing its active folder, and refreshing planning records.
Why use it?
It removes finished work from the active planning area while preserving evidence needed to recover its source. It also keeps generated indexes and the roadmap current.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

Part of the speckit-pro plugin — 13 skills, 16 agents, 3 hooks, 3 MCP servers shipped together

Good fit It is for post-merge maintenance of SpecKit projects: archiving a merged specification, removing its active folder, and refreshing planning records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup
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.

Any agent
npx skills add racecraft-lab/racecraft-plugins-public --skill speckit-archive-cleanup
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/racecraft-plugins-public

Made for: Claude Code, Codex.

Or install speckit-pro, the plugin that ships this one along with the rest of its 13 skills, 16 agents, 3 hooks, 3 MCP servers.

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 speckit-archive-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup/github.svg)](https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup)
Your own site
<a href="https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup"><img src="https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup/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 speckit-archive-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup"><img src="https://agentmods.dev/badge/skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,626 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.02626
Opus 5.5 $0.00000 $0.01050
Sonnet 5.5 $0.00000 $0.00525
Haiku 4.5 $0.00000 $0.00263

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

Security

Grade A, and why

speckit-archive-cleanup 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 1mo 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.

speckit-pro/skills/speckit-archive-cleanup/SKILL.md · 228 lines

How it starts

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

SpecKit Archive Cleanup

Installed Runtime Contract

Before the first runner call, resolve <plugin-root> and keep the caller's working directory per Installed runner transport.

Invoke [resolved_python, "<plugin-root>/scripts/run-speckit-pro.py"] for runner helper requests.

Use this skill after a SpecKit implementation PR has merged and the repository still contains active workflow or specs/** residue for that completed work. The goal is to preserve recovery evidence in project memory, remove only the completed active spec folder, refresh generated SpecKit indexes, and leave the roadmap ready for the next SPEC.

This is a mutation-heavy archive workflow. Do not use it for normal status checks, scaffold setup, autopilot implementation, or read-only PR review. If merge status is unknown, first verify it. If the PR has not merged, stop and report that archive cleanup is premature, unless the user explicitly asks for an abandoned-spec cleanup and the repository has an established convention for that case.

Inputs

Accept a SPEC-ID such as SPEC-007 or SPEC-014, an active spec directory, a workflow file path, or a merged PR URL/number. If more than one is provided, cross-check that they all point to the same completed work. Do not archive based on a SPEC-ID alone when the merge source is ambiguous. Derive the repository from local git remote output when only a PR number is supplied.

Required facts before editing:

  • merged PR URL, number, title, merge timestamp, and merge commit
  • active spec directory under specs/
  • workflow file under docs/ai/specs/.process/, if present
  • current roadmap and traceability files affected by the spec family
  • installed archive extension contract, if .specify/extensions/archive/ exists

Ground Truth Checks

Start from live repository truth:

  1. Inspect git status --short --branch.
  2. Confirm the current branch is a cleanup branch based on the current mainline, or create one before editing.

Use the local branch naming convention.

Use the local branch naming convention, normally a codex/ branch.

  1. Confirm the PR is merged with GitHub tooling or the best available local merge evidence, and capture the required facts above.
  2. Read the archive extension command contract if .specify/extensions/archive/commands/archive.md exists.
  3. Read the existing newest archive reports in .specify/memory/archive-reports/ to match local conventions.
  4. Check whether .specify/feature.json exists. If it is absent, do not create it. If it exists and points at the completed spec, remove or rewrite it only according to repository convention.
  5. List active specs with find specs -mindepth 1 -maxdepth 4 -print and identify the exact folder that belongs to the merged spec.

Read the full file on GitHub · 228 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +8 lines 0d59c7b8c9c9
  2. 2mo ago Changed · +30 lines · -90 tokens per session b28e39d51d9e
  3. 2mo ago Changed · +27 lines baeae6fb45cb
  4. 2mo ago Changed · -1 lines 67907e7a1814
  5. 2mo ago Changed · -29 lines · +55 tokens per session 0a77df77852f
  6. 3mo ago First seen · 193 lines · 35 tokens per session scan A d4a8ead887ac

Subscribe to this mod's changes

speckit-archive-cleanup is a skill published in the GitHub repository racecraft-lab/racecraft-plugins-public (5 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,626 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-09-04.

Related

speckit-archive-cleanup compared with skills from other repositories

speckit-archive-cleanup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speckit-archive-cleanupracecraft-lab/racecraft-plugins-publicSkill52d agoMITA0Claude Code, Codex
codex-issue-coordinatorowainlewis/blueprintSkill4499d agoMITA59Claude Code, Codex
release-archivistMageByte-Zero/spec-superflowSkill9243d agoMITA42Claude Code
prowainlewis/blueprintSkill4499d agoMITA43Claude Code, Codex
task-to-prowainlewis/blueprintSkill4499d agoMITA40Claude Code, Codex
cc-releaseyeisonrestrepo/code-conductorSkill22todayMITA35Claude Code
mergeonur-aslan/sddSkill13todayMITA71Claude Code