speckit-companion: Command for Claude Code

.claude/commands/release-loop.md

release-loop is a command for Claude Code from alfredoperez/speckit-companion. It costs 59 tokens per session (1,082 once invoked), scanned A, original, MIT.

A release workflow that takes a batch of issue tickets from selection through fixes, quality checks, a release report, and publishing after approval.

In plain words
What is it for?
It helps teams triage GitHub issues, run fixes, check CI and desktop behavior, record release results, and publish an approved release.
Why use it?
It removes the need to coordinate each release step manually and limits interruptions to the decisions and approval that require a person.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

This is alfredoperez/speckit-companion's own configuration. It tells Claude Code how to work on speckit-companion 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 speckit-companion configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alfredoperez/speckit-companion. 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/alfredoperez/speckit-companion/main/.claude/commands/release-loop.md
Clone the repo
git clone --depth 1 https://github.com/alfredoperez/speckit-companion

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 release-loop

README.md
[![agentmods](https://agentmods.dev/badge/commands/alfredoperez/speckit-companion/release-loop/github.svg)](https://agentmods.dev/commands/alfredoperez/speckit-companion/release-loop)
Your own site
<a href="https://agentmods.dev/commands/alfredoperez/speckit-companion/release-loop"><img src="https://agentmods.dev/badge/commands/alfredoperez/speckit-companion/release-loop/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 release-loop

Your own site · 80×15
<a href="https://agentmods.dev/commands/alfredoperez/speckit-companion/release-loop"><img src="https://agentmods.dev/badge/commands/alfredoperez/speckit-companion/release-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 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,082 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.00059 $0.01082
Opus 5.5 $0.00024 $0.00433
Sonnet 5.5 $0.00012 $0.00216
Haiku 4.5 $0.00006 $0.00108

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

Security

Grade A, and why

release-loop 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 16d 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/release-loop.md · 54 lines

How it starts

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

Release loop

The loop stops twice and nowhere else: at step 4, to ask every open decision in one round, and at step 7, for the user to approve the release report. Everything else runs unattended. The agreed design is the canvas at ~/dev/GitHub/obsidian-vault/Projects/speckit companion/Release Loop.canvas.

This command only sequences. Each step's rules live in the command it calls. Create one task per step (TaskCreate) so progress shows.

1. Pick

Triage the open issues (gh issue list), or take the numbers in $ARGUMENTS. Verify each still reproduces on main and close the ones that don't, with the evidence. Form the batch and mark each ticket full or light: full (/speckit-companion-auto) by default, light only for a mechanical fix such as a regex, a doc or a manifest.

2. Fix

Run /fix-tickets with the batch's issue numbers, so it does not stop to confirm the queue. Full tickets run the full loop sequentially, one at a time; light tickets go in a separate --light run. Anything already built by hand goes through /ship-ticket. Merge a PR only after every CI check has finished and passed, never with a check still pending. Nothing is desktop-tested per ticket. Every merged change a user will meet has an entry under ## [Unreleased]; write a missing one with /changelog-entry.

3. QA

Once the batch is merged, run /release-qa on the fresh main: the automated gates, the terminal run, the scripted real-window checks (viewer, navigation, builder, themes, graded by grade-scripted.py), the headless canvas checks, then qa-stage.sh until it prints READY. Hand the user the short click-only Claude Desktop handoff path to paste (first open, stock and two roots, the timed run, the GitHub Copilot app), and turn Desktop's reply into the QA report. A FAIL with an obvious fix goes back to step 2; one that needs a call becomes a step 4 question.

4. Decide (stop)

Collect every decision the fixes and QA raised and ask them all in one round with AskUserQuestion, your recommendation as the first option of each. Never ask whether to release here; that question belongs to step 7.

Read the full file on GitHub · 54 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. 16d ago Changed 5ab22785d407
  2. 19d ago Changed 34c70b2ee970
  3. 21d ago Changed · +1 tokens per session 7d03ff0df2df
  4. 23d ago First seen · 54 lines · 58 tokens per session scan A c733142b3c7b

Subscribe to this mod's changes

release-loop is a command published in the GitHub repository alfredoperez/speckit-companion (99 stars, last pushed 6d ago), licensed MIT. It adds 59 tokens to every session and 1,082 once invoked, about $0.0002 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-02.