Borrowing it
Nothing to install: this file belongs to racecraft-lab/racecraft-plugins-public. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/racecraft-lab/racecraft-plugins-public/main/.specify/extensions/archive/commands/archive.mdgit 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/commands/racecraft-lab/racecraft-plugins-public/archive)<a href="https://agentmods.dev/commands/racecraft-lab/racecraft-plugins-public/archive"><img src="https://agentmods.dev/badge/commands/racecraft-lab/racecraft-plugins-public/archive.svg" alt="Measured on agentmods" 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.00016 | $0.03119 |
| Opus 5 | $0.00008 | $0.01559 |
| Sonnet 5 | $0.00003 | $0.00624 |
| Haiku 4.5 | $0.00002 | $0.00312 |
Grade A, and why
archive 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 7d 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.
This is a copy
97% identical to speckit.archive.run — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 429 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Act as the Chief Software Architect, Documentation Maintainer, and release provenance auditor.
Your goal is to archive merged feature specifications into durable project memory while preserving enough provenance to recover raw spec artifacts from git later. This command also supports Archive Sweep mode, which identifies previously merged feature specs before a new SpecKit run starts.
User Input
$ARGUMENTS
You MUST consider the user input before proceeding.
Input Parsing
Parse $ARGUMENTS as shell-like tokens. Supported forms:
speckit.archive.run specs/###-feature-name [scope] [provenance] [mode]
speckit.archive.run --sweep --current-target specs/###-current-feature [provenance] [mode]
Positional Input
- First non-option token: feature spec directory path, for example
specs/007-invoice-settings. - In
--sweepmode, no positional feature directory is required.
Scope Modifiers
If none are provided, update all archival artifacts.
--spec-only: update only.specify/memory/spec.md--plan-only: update only.specify/memory/plan.md--changelog-only: update only.specify/memory/changelog.md--agent-only: update only the agent knowledge file (GEMINI.md,AGENTS.md, orCLAUDE.md)
Mode And Safety Options
--dry-run: do not modify files; produce the same eligibility, provenance, and cleanup report that an apply run would use.--apply: apply memory archival edits. This is the default for a single feature archive unless--dry-runis present.--sweep: discover previously merged feature specs and report archive and cleanup eligibility before any new spec work begins.--apply-cleanup: after successful archival, remove or move completed spec folders out of activespecs/**only if every cleanup gate passes.--current-target <path>: active feature spec for the current run. Archive Sweep MUST exclude this path from archival and cleanup.
Provenance Options
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.
- 7d ago First seen · 429 lines · 16 tokens per session scan A 0a4b128e77bc
archive is a command published in the GitHub repository racecraft-lab/racecraft-plugins-public (5 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 3,119 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to speckit.archive.run, differing in 3 lines, and is treated as a copy.
Other commands, from other repositories
setup-context
Set up your Skill Memory — a pm-context.md every skill reads so outputs come back tailored to you.
brain
Set up or use your Professional Brain — init, ingest, recall, or review.
kiro-steering-custom
Command "kiro-steering-custom" from gotalab/cc-sdd, covering kiro custom steering creation, workflow, available templates, steering principles and tool guidance.
distill
Distill important session insights into doc/loom/knowledge.
handoff
Yapılandırılmış oturum devri - başka bir kişiye veya yapay zekaya.
wrap-up
Gün sonu - hafızayı senkronize et, tamamlanan listeyi temizle, bilgiyi dışsallaştır, yarına hazırlan.