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 agentmods add commands/9j/rapidspec/archivegit clone --depth 1 https://github.com/9j/RapidSpecWhat 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 | $0.00013 | $0.01508 |
| Opus 5 | $0.00006 | $0.00754 |
| Sonnet 5 | $0.00003 | $0.00302 |
| Haiku 4.5 | $0.00001 | $0.00151 |
Grade A, and why
RapidSpec: 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 yesterday.
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 — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Archive RapidSpec Change
<command_purpose> Archive completed RapidSpec changes and merge spec deltas to canonical specs. Move to timestamped archive, validate strictly, close linked Linear issues. </command_purpose>
<change_id> #$ARGUMENTS </change_id>
<critical_requirement> MUST verify all tasks completed before archiving. MUST validate canonical specs after delta merge. MUST rollback if validation fails. CAN auto-close linked Linear issues when found. </critical_requirement>
Quick Archive (CLI Option)
Basic archive with CLI (no spec merging):
# Simple timestamp + move to archive
rapid archive <change-id>
# Skip validation check
rapid archive <change-id> --skip-validation
This CLI command only:
- Checks task completion (warns if incomplete)
- Generates Supabase timestamp (YYYYMMDDhhmmss)
- Moves to archive directory
For full spec delta merging, Linear closing, and validation, continue with Main Tasks below.
Main Tasks
1. Verify Completion (ALWAYS FIRST)
Completion checklist:
- Check all tasks in tasks.md marked
[x] - Verify code committed to git
- Ensure tests passing
- If incomplete, list remaining tasks and abort
2. Archive with Timestamp
Actions:
- Generate timestamp:
date +%Y%m%d%H%M%S(Supabase format) - Move
rapidspec/changes/<change-id>/→rapidspec/changes/archive/<timestamp>-<change-id>/ - Example:
20251111123045-prevent-duplicate-smartlinks
3. Merge Spec Deltas
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.
- yesterday First seen · 242 lines · 0 tokens per session scan A 0e130ed7668d
RapidSpec: Archive is a command published in the GitHub repository 9j/RapidSpec (5 stars, last pushed 9mo ago), licensed MIT. It adds 13 tokens to every session and 1,508 once invoked, about $0.0001 per session on Opus 5. 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-31.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.