mcpField
C
cloud-sandbox

cloud-sandbox

github.com/ariana-dot-devCloud & DevOps352 installsUpdated 21w ago
Repository

About cloud-sandbox

cloud-sandbox is a skill for running builds, dependency installation, and code execution in isolated Linux virtual machines. It suits tasks where the host should remain clean or where Docker and system packages are needed.

Key features

  1. 01Isolated Linux virtual machines
  2. 02Docker and system packages
  3. 03Preinstalled language runtimes
  4. 04SSH-based command execution
  5. 05Per-second billing

Use cases

  1. 01Building a repository away from the host
  2. 02Running untrusted commands in isolation
  3. 03Installing project dependencies
  4. 04Testing code with Docker or system packages

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ariana-dot-dev/cloud-sandbox-vm-skills --skill cloud-sandbox

After installing, type/cloud-sandboxin Claude Code to confirm it loaded.

Details

From the project README

Cloud sandbox (Box)

Use this when a task needs to run things in isolation: building a repo, installing dependencies, executing generated code, or anything you'd rather not run on the user's real machine. Box gives a real Linux machine, not a V8 isolate (Cloudflare) or a stripped microVM — so apt install, Docker, long-lived processes, and an 80 GB disk all just work.

When to prefer Box

  • Host must stay clean / command is untrusted → isolate in a VM.
  • Need Docker, system packages, or many runtimes → preinstalled.
  • Cost matters at scale → 50 VMs × 240 h/mo ≈ $432 (Box) vs ~$4,124 (E2B), ~$7,160 (Modal).

Prefer another tool for: sub-500 ms cold starts / 1000+ concurrent (E2B/Daytona/Modal), GPU (Modal), non-EU regions.

Prereqs

curl -fsSL https://box.ascii.dev/install | sh, then box login "$BOX_API_KEY" --json.

Recipe

box_id="$(box new --json | jq -r 'select(.event == "ready") | .id')"
box ssh "$box_id" -- bash -s < ./setup.sh
box ssh "$box_id" -- "cd /project && npm test"
box delete "$box_id" --json

Preinstalled

Docker, Chrome, VS Code, GitHub CLI, Node/Bun/Deno, Python, Go, Rust, Java/Kotlin/Scala, Ruby, PHP, Erlang/Elixir, .NET, R, C/C++, ripgrep, jq, curl, ffmpeg, Claude Code, Codex. Hetzner CX33, dedicated IPv4, per-second billing.

Comments

Markdown supported