sandbox

sandbox is a skill for Claude Code, Codex from rysh-ai/rysh-cli-code. It costs 37 tokens per session (1,689 once invoked), scanned A, original, Apache-2.0.

Use rysh Sandboxes from a coding agent — create a Linux sandbox, run commands and move files in it, drive the agents inside it, and delete it when done.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install with agentmods
npx agentmods add skills/rysh-ai/rysh-cli-code/sandbox
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.

Any agent
npx skills add rysh-ai/rysh-cli-code --skill sandbox
Clone the repo
git clone --depth 1 https://github.com/rysh-ai/rysh-cli-code

Made for: Claude Code, Codex.

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 sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/rysh-ai/rysh-cli-code/sandbox/github.svg)](https://agentmods.dev/skills/rysh-ai/rysh-cli-code/sandbox)
Your own site
<a href="https://agentmods.dev/skills/rysh-ai/rysh-cli-code/sandbox"><img src="https://agentmods.dev/badge/skills/rysh-ai/rysh-cli-code/sandbox/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 sandbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/rysh-ai/rysh-cli-code/sandbox"><img src="https://agentmods.dev/badge/skills/rysh-ai/rysh-cli-code/sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,689 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 unknown 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.00037 $0.01689
Opus 5.5 $0.00015 $0.00676
Sonnet 5.5 $0.00007 $0.00338
Haiku 4.5 $0.00004 $0.00169

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

Security

Grade A, and why

sandbox 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 today.

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.

packages/sandbox/SKILL.md · 142 lines

How it starts

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

A rysh sandbox is a Linux machine that rysh runs for your workspace. You drive it with rysh sandbox … from the person's machine. rysh sandbox reads the server, workspace and API key from the upstream: block of rysh.config.yaml; if that block is missing, or the server answers that sandboxes are not enabled for this workspace, tell the person and stop. Do not retry in a loop.

No workspace yet

When the person wants you to have a workspace of your own, ask for their e-mail address, then:

rysh sandbox signup --email <their address> --agent-name <your name> --server <url> --json
  • The server mails them a link; they open it, signed in with that address, and click Confirm. Tell them so, then wait: the command polls by itself. Never confirm it for them.
  • The key comes back once. It is saved owner-only and the reply names the file (key_file); never paste the key anywhere else.
  • If you cannot wait, add --no-wait and later run rysh sandbox signup --poll <signup-id>.

When to use one

Use a sandbox for builds, test runs, code you do not trust and long jobs, so they do not run on the person's own computer. Ask before creating one if the person has not asked for it.

The rules

  • Always pass the sandbox id. Every command after create takes it; never guess one, and never act on a sandbox you did not create unless the person names it.
  • Never quote prices or limits from memory. If the person asks what a sandbox costs, say you do not know and point them to their workspace.
  • Secrets by name only. Never paste a key or token into a command line, a file you copy in, or a prompt. If a job needs one, ask the person to put it in the workspace's secret store.
  • Delete the sandboxes you created when the work is done, after copying out what the person needs (forks and snapshots too).

Create, use, delete

rysh sandbox create --name tests --size default --json   # prints the new sandbox, with its id
rysh sandbox list
rysh sandbox get <id>
rysh sandbox exec <id> --cwd /tmp/work -- make test      # exits with the command's own exit code
rysh sandbox exec <id> --stdin -- sh -c 'cat > /tmp/work/input.txt' < input.txt
rysh sandbox cp ./repo.tar.gz <id>:/tmp/repo.tar.gz      # copy in
rysh sandbox cp <id>:/tmp/work/report.txt ./report.txt   # copy out
rysh sandbox stop <id>                                   # stop; the disk is kept
rysh sandbox resume <id>
rysh sandbox delete <id>                                 # cannot be undone

Read the full file on GitHub · 142 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 142 lines · 37 tokens per session scan A a30cad6880ff

Subscribe to this mod's changes

sandbox is a skill published in the GitHub repository rysh-ai/rysh-cli-code (6 stars, last pushed today), licensed Apache-2.0. It adds 37 tokens to every session and 1,689 once invoked, about $0.0001 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-12-03.

Related

sandbox compared with skills from other repositories

sandbox next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sandboxrysh-ai/rysh-cli-codeSkill6todayApache-2.0A37Claude Code, Codex
weknora-sharedTencent/WeKnoraSkill39kyesterdaynoneA68Claude Code, Codex
weknora-rag-searchTencent/WeKnoraSkill39kyesterdaynoneA54Claude Code, Codex
agent-browserTencent/WeKnoraSkill39kyesterdaynoneA83Claude Code, Codex
pdf-processingTencent/WeKnoraSkill39kyesterdaynoneA36Claude Code, Codex
golang-developmentsammcj/agentic-codingSkill175yesterdayApache-2.0A14Claude Code, Codex
golang-manual-disoulcodex/agenticSkill1013d agoMITA97Claude Code, Codex