Borrowing it
Nothing to install: this file belongs to tensorbee/rdocx. 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/tensorbee/rdocx/main/.claude/commands/spec-bump.mdgit clone --depth 1 https://github.com/tensorbee/rdocxWrote 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/tensorbee/rdocx/spec-bump)<a href="https://agentmods.dev/commands/tensorbee/rdocx/spec-bump"><img src="https://agentmods.dev/badge/commands/tensorbee/rdocx/spec-bump/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/commands/tensorbee/rdocx/spec-bump"><img src="https://agentmods.dev/badge/commands/tensorbee/rdocx/spec-bump.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.00025 | $0.00910 |
| Opus 5.5 | $0.00010 | $0.00364 |
| Sonnet 5.5 | $0.00005 | $0.00182 |
| Haiku 4.5 | $0.00003 | $0.00091 |
Grade A, and why
spec-bump 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 26d 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 — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/spec-bump vX.Y [--apply]
Give docs/hld/ a version number and a tag, so a spec can be cited by version
rather than by "whatever main said that day".
Two stages, and the first is not optional. A spec version that was tagged over known drift is worse than no version, because it lends authority to a document that does not describe the code.
Stage 1, audit
/spec-bump vX.Y
- Refuse a dirty working tree.
- Run
/audit-specin full. - Report the drift by bucket. Any
contradiction, or anyshape divergence, stops the bump. Those must be resolved by fixing the spec or fixing the code. missingfindings owned by apendingstory do not block. The spec is allowed to describe work that is scheduled and not yet built. That is what the set is for. Record them in the bump commit message so a reader of the tag knows what was intentionally ahead of the code.undocumentedfindings block, because they are the case where the code moved and the spec did not notice.
Stage 1 changes nothing. If it is clean enough, it prints the exact --apply
command.
Stage 2, apply
/spec-bump vX.Y --apply
Refuse unless stage 1 has just run clean against the current HEAD.
-
Set the version in
docs/hld/README.md, under "Living status", as a**Spec version**: vX.Y, YYYY-MM-DDline. The first bump introduces that line, later bumps replace it. -
Update the set index in the same file if documents were added, removed or renumbered since the last bump.
-
Record what is intentionally ahead of the code. The
missingfindings stage 1 allowed through, as a short list with their owning story IDs. A reader of the tag needs to know the difference between "not built yet" and "the spec lied". -
Commit once:
spec vX.Y, short summary of what changed in the set One paragraph: what moved in the set since the previous version, and what is intentionally ahead of the code. Tests, not applicable Harness, unchanged
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.
- 26d ago First seen · 96 lines · 25 tokens per session scan A b5020899897b
spec-bump is a command published in the GitHub repository tensorbee/rdocx (44 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 910 once invoked, about $0.0001 per session on Opus 5.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-10-04.
Other commands, from other repositories
sync-coordinator
Multi-package synchronization and version alignment with ruv-swarm coordination for seamless integration between claude-code-flow and ruv-swarm packages.
land
Resolve and squash merge one named, currently authorized pull request.
sync-coordinator
Multi-package synchronization and version alignment with ruv-swarm coordination for seamless integration between claude-code-flow and ruv-swarm packages.
lavra-ship
Fully automated ship sequence from code-ready to PR-open with beads closed and knowledge captured.
github-modes
This document describes all GitHub integration modes available in Claude-Flow with ruv-swarm coordination. Each mode is optimized for specific GitHub workflows and includes batch tool integration for maximum efficiency.
gsd:ship
Create PR, run review, and prepare for merge after verification passes.