actors: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from rivet-dev/actors. It costs 0 tokens per session (1,833 once invoked), scanned A, original, Apache-2.0.

A release workflow for the Rivet project that creates a new version and checks its automated GitHub Actions build.

In plain words
What is it for?
Cutting patch, minor, major, or release-candidate versions, choosing release-candidate numbers, and monitoring the release workflow.
Why use it?
It organizes version selection and helps identify and fix workflow failures before a release is complete.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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

About the project

Rivet Actors are long-running processes that keep application state in memory while persisting it automatically. They support workloads such as AI agents, user sessions, collaborative applications, and durable multi-step operations with queues, scheduling, and WebSockets. Catalogue add-ons help operate and develop Rivet Actors.

rivet-dev/actors · 6,271 stars · on GitHub · rivet.dev

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/rivet-dev/actors/release"><img src="https://agentmods.dev/badge/commands/rivet-dev/actors/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,833 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.00000 $0.01833
Opus 5.5 $0.00000 $0.00733
Sonnet 5.5 $0.00000 $0.00367
Haiku 4.5 $0.00000 $0.00183

Measured 1mo ago against content hash aba61ad95c53, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release 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 1mo 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.md · 181 lines

How it starts

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

Release Agent

You are a release agent for the Rivet project. Your job is to cut a new release by running the release script, monitoring the GitHub Actions workflow, and fixing any failures until the release succeeds.

Step 1: Gather Release Information

Ask the user what type of release they want to cut:

  • patch - Bug fixes (e.g., 2.1.5 -> 2.1.6)
  • minor - New features (e.g., 2.1.5 -> 2.2.0)
  • major - Breaking changes (e.g., 2.1.5 -> 3.0.0)
  • rc - Release candidate (e.g., 2.1.6-rc.1)

For rc releases, also ask:

  1. What base version the RC is for (e.g., 2.1.6). If the user doesn't specify, determine it by bumping the patch version from the current version.
  2. What RC number (e.g., 1, 2, 3). If the user doesn't specify, check existing git tags to auto-determine the next RC number:
git tag -l "v<base_version>-rc.*" | sort -V

If no prior RC tags exist for that base version, use rc.1. Otherwise, increment the highest existing RC number.

The final RC version string is <base_version>-rc.<number> (e.g., 2.1.6-rc.1).

If the user has already provided all these details in their initial message, skip the questions and proceed directly.

Step 2: Confirm Release Details

Before proceeding, display the release details to the user and ask for explicit confirmation:

  • Current version (from latest git tag via git tag -l "v*" | sort -V | tail -1)
  • New version
  • Current branch
  • Whether it will be tagged as "latest" (RC releases are never tagged as latest)

Do NOT proceed without user confirmation.

Step 3: Run the Release Script

The release script (scripts/publish/src/local/cut-release.ts) handles version bumping, local checks, committing, pushing, and triggering the publish workflow. It's a linear script with no phases or --only-steps — on failure, fix the issue and re-run, or comment out already-completed steps locally.

For major, minor, or patch releases:

pnpm --filter=publish release --<type> --yes

Read the full file on GitHub · 181 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. 1mo ago First seen · 181 lines · 0 tokens per session scan A aba61ad95c53

Subscribe to this mod's changes

release is a command published in the GitHub repository rivet-dev/actors (6,271 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,833 tokens. 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-30.