rdocx: Command for Claude Code

.claude/commands/close-sprint.md

close-sprint is a command for Claude Code from tensorbee/rdocx. It costs 19 tokens per session (1,575 once invoked), scanned A, original, MIT.

A sprint-closing command that merges the sprint branch into main, creates an sNN sprint tag, pushes the results, and opens the next sprint. A sprint is a planned batch of development work; a tag is a fixed Git label for a commit.

In plain words
What is it for?
Use it to run the final checks for a sprint, merge its completed or explicitly carried features, create the sprint tag, and prepare the next sprint.
Why use it?
It gives the repository one controlled path for closing sprint work and prevents unfinished stories, stray worker branches, or incomplete verification from being released to main.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is tensorbee/rdocx's own configuration. It tells Claude Code how to work on rdocx itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rdocx configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/tensorbee/rdocx/main/.claude/commands/close-sprint.md
Clone the repo
git clone --depth 1 https://github.com/tensorbee/rdocx

Made for: Claude Code.

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 close-sprint

README.md
[![agentmods](https://agentmods.dev/badge/commands/tensorbee/rdocx/close-sprint/github.svg)](https://agentmods.dev/commands/tensorbee/rdocx/close-sprint)
Your own site
<a href="https://agentmods.dev/commands/tensorbee/rdocx/close-sprint"><img src="https://agentmods.dev/badge/commands/tensorbee/rdocx/close-sprint/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 close-sprint

Your own site · 80×15
<a href="https://agentmods.dev/commands/tensorbee/rdocx/close-sprint"><img src="https://agentmods.dev/badge/commands/tensorbee/rdocx/close-sprint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,575 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.00019 $0.01575
Opus 5.5 $0.00008 $0.00630
Sonnet 5.5 $0.00004 $0.00315
Haiku 4.5 $0.00002 $0.00158

Measured 6d ago against content hash 38d92a5bb978, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

close-sprint 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 6d 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.

.claude/commands/close-sprint.md · 131 lines

How it starts

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

/close-sprint SNN [--next SMM]

Merge the sprint branch to main, tag it, push both, and open the next sprint. A prepared release follows through /release at this exact main merge SHA.

This is the only command in the repository that may touch main or create an sNN sprint tag. /release alone owns v* release tags and crates.io publication.

Steps

  1. Pre-flight. python3 scripts/sprint_workflow.py close-preflight SNN, plus:

    • Every F-ID in CURRENT_SPRINT.md is done, or explicitly carried with a stated reason.
    • The working tree is clean.
    • The current branch is sprint/sNN.
    • main has no commits the sprint branch lacks. If it does, rebase or merge main in first and re-verify.
    • No worker work is stranded. git worktree list and git branch --list 'work/*' against the run state. close-preflight already refuses an unconsumed .claude/handoffs/F-XXX-ready.md. Record the completed workers that become cleanup targets after the push. A carried worker, an untracked branch or a worktree absent from the run state is not a cleanup target.
  2. Consume final verification. Require the latest applicable passing full sprint evidence and any validated completion-only metadata adoption. Run missing or invalidated categories only, never the full gate a second time because /close-sprint was invoked. Completion metadata requires applicable post-edit policy checks as well as prose. A clean code tree cannot excuse capability rows still owned by done stories. Failed or missing evidence blocks close.

  3. Consume /sprint-review SNN. Require its latest clean bounded review. Invoke it only when absent or invalidated by material changes. Do not run a confirmation pass after clean review. Source remediation requires affected checks and review of its new material, not automatic repetition of all work.

  4. Confirm the milestone gate if this sprint closes one. Find the "End-of-milestone gate" in docs/hld/14-development-backlog.md and check it explicitly. Some gates are manual, such as opening corpus decks in PowerPoint. Do not mark a manual gate as met without performing it.

Read the full file on GitHub · 131 lines

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. 6d ago Changed · +3 lines 38d92a5bb978
  2. 11d ago Changed · +7 lines be21b50ab503
  3. 26d ago First seen · 121 lines · 19 tokens per session scan A d2221d5a6b22

Subscribe to this mod's changes

close-sprint is a command published in the GitHub repository tensorbee/rdocx (44 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,575 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.