sandbox-agent: Command for Claude Code

.claude/commands/release.md

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

A release workflow for the Gigacode project that creates a new version and follows its automated GitHub checks. A release candidate is a pre-release version made for final testing.

In plain words
What is it for?
Use it to choose a patch, minor, major, or release-candidate version, run the release script, monitor GitHub Actions, and fix failures.
Why use it?
It organizes version selection and helps investigate failed automated checks before a release is considered successful.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is echo "yes" | ./scripts/release/main.ts --<type> --phase setup-local.

About the project

sandbox-agent is an HTTP and server-sent-events service that runs coding agents inside isolated sandboxes and lets another application control them remotely. Developers use it to run agents such as Claude Code, Codex, OpenCode, Cursor, Amp, or Pi while streaming events, managing sessions, and storing transcripts. The catalogue entries provide agents, skills, commands, instructions, and MCP integration for working with the service.

rivet-dev/sandbox-agent · 1,609 stars · on GitHub · sandboxagent.dev

Reuse

Borrowing it

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

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/sandbox-agent/release/github.svg)](https://agentmods.dev/commands/rivet-dev/sandbox-agent/release)
Your own site
<a href="https://agentmods.dev/commands/rivet-dev/sandbox-agent/release"><img src="https://agentmods.dev/badge/commands/rivet-dev/sandbox-agent/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/sandbox-agent/release"><img src="https://agentmods.dev/badge/commands/rivet-dev/sandbox-agent/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,581 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.01581
Opus 5.5 $0.00000 $0.00632
Sonnet 5.5 $0.00000 $0.00316
Haiku 4.5 $0.00000 $0.00158

Measured 1mo ago against content hash 7452f5b6f104, 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 · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 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 Gigacode project (sandbox-agent). 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., 0.1.8 -> 0.1.9)
  • minor - New features (e.g., 0.1.8 -> 0.2.0)
  • major - Breaking changes (e.g., 0.1.8 -> 1.0.0)
  • rc - Release candidate (e.g., 0.2.0-rc.1)

For rc releases, also ask:

  1. What base version the RC is for (e.g., 0.2.0). If the user doesn't specify, determine it by bumping the minor 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., 0.2.0-rc.1).

Step 2: Confirm Release Details

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

  • Current version (read from Cargo.toml workspace.package.version)
  • 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 (Setup Local)

The release script handles version bumping, local checks, committing, pushing, and triggering the workflow.

For major, minor, or patch releases:

echo "yes" | ./scripts/release/main.ts --<type> --phase setup-local

For rc releases (using explicit version):

echo "yes" | ./scripts/release/main.ts --version <version> --phase setup-local

Where <type> is major, minor, or patch, and <version> is the full RC version string like 0.2.0-rc.1.

The --phase setup-local runs these steps in order:

  1. Confirms release details (interactive prompt - piping "yes" handles this)
  2. Updates version in all files (Cargo.toml, package.json files)
  3. Runs local checks (cargo check, cargo fmt, pnpm typecheck)
  4. Git commits with message chore(release): update version to X.Y.Z
  5. Git pushes
  6. Triggers the GitHub Actions workflow

Read the full file on GitHub · 166 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 · 166 lines · 0 tokens per session scan A 7452f5b6f104

Subscribe to this mod's changes

release is a command published in the GitHub repository rivet-dev/sandbox-agent (1,609 stars, last pushed 13d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,581 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.