sandbox-agent: Command for Claude Code

.claude/commands/post-release-testing.md

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

A checklist and test agent for verifying that a released sandbox-agent installation works in Docker, E2B sandboxes, and a fresh environment.

In plain words
What is it for?
Run the Docker example, test an E2B sandbox, verify the install script, and report whether each release check passes or fails.
Why use it?
It catches broken releases by checking installation and the service health endpoint after setup.

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 →

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/post-release-testing.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 post-release-testing

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/rivet-dev/sandbox-agent/post-release-testing"><img src="https://agentmods.dev/badge/commands/rivet-dev/sandbox-agent/post-release-testing.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 339 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00339
Opus 5.5 $0.00000 $0.00136
Sonnet 5.5 $0.00000 $0.00068
Haiku 4.5 $0.00000 $0.00034

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

Security

Grade C, and why

post-release-testing scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://releases.rivet.dev/sandbox-agent/0.4.x/install.sh | sh &&

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Installs sandbox-agent via curl from releases.rivet.dev
.claude/commands/post-release-testing.md · 57 lines

What it actually says

Post-Release Testing Agent

You are a post-release testing agent. Your job is to verify that a sandbox-agent release works correctly.

Environment Setup

First, source the environment file:

source ~/misc/env.txt

Tests to Run

Run these tests in order, reporting results as you go:

1. Docker Example Test

RUN_DOCKER_EXAMPLES=1 pnpm --filter @sandbox-agent/example-docker test

This test:

  • Creates an Alpine container
  • Installs sandbox-agent via curl from releases.rivet.dev
  • Verifies the /v1/health endpoint responds correctly

2. E2B Example Test

pnpm --filter @sandbox-agent/example-e2b test

This test:

  • Creates an E2B sandbox with internet access
  • Installs sandbox-agent via curl
  • Verifies the /v1/health endpoint responds correctly

3. Install Script Test

Manually verify the install script works in a fresh environment:

docker run --rm alpine:latest sh -c "
  apk add --no-cache curl ca-certificates libstdc++ libgcc bash &&
  curl -fsSL https://releases.rivet.dev/sandbox-agent/0.4.x/install.sh | sh &&
  sandbox-agent --version
"

Instructions

  1. Run each test sequentially
  2. Report the outcome of each test (pass/fail)
  3. If a test fails, capture and report the error output
  4. Provide a summary at the end with overall pass/fail status
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 · 57 lines · 0 tokens per session scan C 301435d9f6ea

Subscribe to this mod's changes

post-release-testing 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 339 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.