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.
npx skills add racecraft-lab/racecraft-plugins-public --skill speckit-archive-cleanupgit clone --depth 1 https://github.com/racecraft-lab/racecraft-plugins-publicWrote 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.
[](https://agentmods.dev/skills/racecraft-lab/racecraft-plugins-public/speckit-archive-cleanup)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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:
- Inspect
git status --short --branch. - 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.
- Confirm the PR is merged with GitHub tooling or the best available local merge evidence, and capture the required facts above.
- Read the archive extension command contract if
.specify/extensions/archive/commands/archive.mdexists. - Read the existing newest archive reports in
.specify/memory/archive-reports/to match local conventions. - Check whether
.specify/feature.jsonexists. 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. - List active specs with
find specs -mindepth 1 -maxdepth 4 -printand identify the exact folder that belongs to the merged spec.
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.
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.
- 1mo ago Changed · +8 lines 0d59c7b8c9c9
- 2mo ago Changed · +30 lines · -90 tokens per session b28e39d51d9e
- 2mo ago Changed · +27 lines baeae6fb45cb
- 2mo ago Changed · -1 lines 67907e7a1814
- 2mo ago Changed · -29 lines · +55 tokens per session 0a77df77852f
- 3mo ago First seen · 193 lines · 35 tokens per session scan A d4a8ead887ac
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.
speckit-archive-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| speckit-archive-cleanupracecraft-lab/racecraft-plugins-public | Skill | 5 | 2d ago | MIT | A | 0 | Claude Code, Codex |
| codex-issue-coordinatorowainlewis/blueprint | Skill | 449 | 9d ago | MIT | A | 59 | Claude Code, Codex |
| release-archivistMageByte-Zero/spec-superflow | Skill | 924 | 3d ago | MIT | A | 42 | Claude Code |
| prowainlewis/blueprint | Skill | 449 | 9d ago | MIT | A | 43 | Claude Code, Codex |
| task-to-prowainlewis/blueprint | Skill | 449 | 9d ago | MIT | A | 40 | Claude Code, Codex |
| cc-releaseyeisonrestrepo/code-conductor | Skill | 22 | today | MIT | A | 35 | Claude Code |
| mergeonur-aslan/sdd | Skill | 13 | today | MIT | A | 71 | Claude Code |