Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sandbox-ops

БесплатноЗапускает вложенные скриптыНе проверен

Run work on hosted cloud sandboxes without leaking boxes, losing work or credentials: boat.dev (boat, boat new, boat exec, bx_), E2B, Modal Sandboxes, Vercel…

0xDarkMatterот 0xDarkMatter★ 86 звёзд на GitHub

Об этом скилле

sandbox-ops: hosted cloud sandboxes (boat.dev in depth)

A hosted sandbox is a Linux box you rent by the second, drive from a CLI or SDK, and throw away. It is the right tool when the local machine is short of CPU or memory, when a lane or CI job should run on clean Linux, or when the work must not touch the desk. boat.dev is the provider in production use and gets the full profile (references/boat-*.md); E2B, Modal, Vercel Sandbox, Daytona and Fly Machines get one card each. boat Facts verified 2026-10-27 against its docs and boat help; each card states its own date, and scripts/check-sandbox-facts.py re-checks them.

Hard rules, any provider

  1. Set a lifetime above the job, and know what the end does. Every provider has a default that ends a 1-4 h headless job: 5 min on E2B, Modal and Vercel, 15 min idle on Daytona, 1 h on boat, restart-forever on Fly. Know whether it kills, stops, pauses or erases. Table: ttl-traps.
  2. Delete only boxes you created, then confirm with two reads in the same scope (same account, org and key as the create; from another scope a live box can look missing). "<skill-dir>/scripts/confirm-gone.sh" --provider <p> <id> does the reads.
  3. Hunt what outlives the box: paused sandboxes, snapshots, volumes, stopped disks. Several never expire and keep billing (ttl-traps).
  4. One key per process; never switch the machine login; nothing in argv; no credentials left on the box. Put the key in the job's environment. Daytona needs DAYTONA_API_URL set too. credentials-and-auth.
  5. A box is readable by everything on it. Assume root inside; no production data, no long-lived secrets. security-and-residency.
  6. Pin the CLI. Self-updating CLIs (boat) break a 7-day supply-chain cooldown and change behaviour mid-run.
  7. Name boxes <who>-<what>-<MMDD-HHMM> (who from gh api user --jq .login, UTC time): the name is the only owner a shared dashboard shows (boat-lifecycle).

On boat

  • --no-update on every boat call. The CLI updates itself, at most every 6 hours, after a command ends [docs: cli-reference]. Never run boat self-update.
  • Create with --no-env --no-snapshots --no-monitoring. --no-env keeps the account's stored secrets out; with --no-snapshots a stop erases it; without --no-monitoring boat keeps command history for 90 days [docs: data-retention]. The one exception, a golden base image with no client code: boat-snapshots.
  • The TTL is a data-loss trap. Auto-stop defaults to 1 hour [docs: limits], and exec and SSH do not extend it [docs: cli-reference]. boat extend <id> --ttl <s> SETS the time left from now; read archiveAfter in boat info <id> --json first so you never shorten a shared box.
  • boat new --json prints JSONL: take the id from the created event, never jq -r .id (three lines; the delete fails and the box leaks).
  • boat exec does not forward stdin: pipe data with boat ssh <id> '<cmd>' < file.
  • BOAT_API_KEY in the job's environment, never boat login for a second company: the login is one machine-wide file under every shell. boat status shows whose wallet a create will bill. See boat-security.
  • Exec children hold CAP_DAC_READ_SEARCH: even a chmod 000 directory is readable.
B="boat --no-update"
$B new --type default --ttl 3600 --no-env --no-snapshots --no-monitoring \
       --name "$who-myrepo-$(date -u +%m%d-%H%M)" --json > new.jsonl
id="$(jq -rs 'map(select(.event=="created"))[0].id' new.jsonl | tr -d '\r')"
$B exec "$id" --json --timeout 120 -- bash -c 'uname -a'      # waits; 600 s max
$B exec "$id" --detach -- bash -c 'make test > out.log 2>&1'  # long jobs: --status/--attach/--kill <pid>
$B ssh "$id" 'cat > in.tar' < in.tar                          # ssh forwards stdin; exec does not
$B delete "$id" --yes --json
bash "<skill-dir>/scripts/confirm-gone.sh" "$id"              # exit 0 = gone, 10 = still there
  • One job end to end: boat --no-update run --type default --push . -- <cmd> creates, copies tracked files in, runs, deletes and exits with the command's code [cli].
  • --fail-fast creates only if a machine is ready now (about 1.5 s, free when none is); --setup-file seeds a 64KB script at create.
  • Sizes small / default / large / xlarge (2 to 16 vCPU), default $0.036 an hour; starts (12 a minute on the $20 plan) are the limit you hit first. Rates, limits, error codes: boat-cost-and-limits. Copy recipes, timings, Windows-host traps: boat-lifecycle.

Providers

| Provider | Pick it for | Key variable | Default end |

Полный SKILL.md на GitHub

Установить sandbox-ops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/facts-boat.jsonassets/facts-providers.jsonreferences/boat-ci-runner.mdreferences/boat-cost-and-limits.mdreferences/boat-docker-ddev.mdreferences/boat-fleetflow-lanes.mdreferences/boat-lifecycle.mdreferences/boat-security.mdreferences/boat-snapshots.mdreferences/credentials-and-auth.mdreferences/daytona.mdreferences/e2b.mdreferences/fly.mdreferences/lifecycle-contract.mdreferences/modal.mdreferences/security-and-residency.mdreferences/ttl-traps.mdreferences/vercel.mdscripts/check-sandbox-facts.pyscripts/confirm-gone.sh

FAQ

Что делает скилл sandbox-ops?

Run work on hosted cloud sandboxes without leaking boxes, losing work or credentials: boat.dev (boat, boat new, boat exec, bx_), E2B, Modal Sandboxes, Vercel Sandbox, Daytona, Fly Machines. Create and size a box, exec or ssh, copy files in and out, set the lifetime, delete and confirm it is gone, one API key per process. Covers remote agent lanes (fleetflow), one-time CI runners, heavy-job offload, Docker or DDEV on a box, residency. (Formerly boat-ops.) Not for writing @cloudflare/sandbox code: use sandbox-stable or sandbox-next.

Как установить скилл sandbox-ops?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sandbox-ops запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить sandbox-ops с