release

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/rivet-dev/sandbox-agent/release
Clone the repo
git clone --depth 1 https://github.com/rivet-dev/sandbox-agent

Made for: Claude Code.

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. Scan, not verified.
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 $0.00000 $0.01581
Opus 5 $0.00000 $0.00790
Sonnet 5 $0.00000 $0.00316
Haiku 4.5 $0.00000 $0.00158

Measured 2d ago against content hash 7452f5b6f104, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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. 2d 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,551 stars, last pushed 2mo 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.