/computesdk-router:sandboxesfrom ComputeSDK Router
Creates and manages cloud sandboxes via ComputeSDK — run code, execute commands, host processes, and preview ports. Use for testing, hosting, or executing code in ephemeral environments.
Ships in ComputeSDK Router. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
ComputeSDK places cloud sandboxes through the ComputeSDK gateway. All usage bills the ComputeSDK org selected when the connection was authorized — no provider setup is needed or possible in-chat.
create_sandbox — returns a sandbox id. Args: size (small 1 vCPU/2 GB, medium 2/4 GB, large 4/8 GB, xlarge 8/16 GB, 2xlarge 16/32 GB, 3xlarge 32/64 GB; default medium; not every provider sells every size, sandboxes_get_options shows which), label, image, timeoutMs (lifetime in ms; default 30 minutes, max 6 hours), and providerOrder (camelCase routing preference).
Pin one provider with provider (mutually exclusive with providerOrder), plus region and credentialSource: auto (default) uses the org's own key for that provider, else a ComputeSDK managed account billed from prepaid credit; byok requires the org's key; house always uses a ComputeSDK managed account. The result's placement says where it landed and the rate it bills at.
What it can run on: sandboxes_get_options lists everything a create can land on, in the router's order: managed accounts (ComputeSDK-run, billed from prepaid credit, with a price per size) and the org's own provider keys (billed by the provider, ready says whether the key can place now). The first usable row is where a plain create_sandbox goes (strategy says how managed accounts are ordered: ComputeSDK's recommended order by default, cheapest first, or the org's own order). A size with rate: null isn't sold on that account. Call it when the user asks what they can run on or what it costs, before suggesting a provider. byok on create_sandbox/get_quote overrides the router for one call: only = the org's own keys only, off = managed accounts only (not with provider).
Pricing: get_quote (same size/region/timeout inputs; it creates nothing) walks the same router a create would and returns the provider it would place on, the rate in every unit (rateUsd.perHour — hourly is what users compare against) and the credit balance. Use it for long timeouts, large sizes, or whenever the user asks what one create will cost, and tell the user the hourly price; sandboxes_get_options shows the price of every size on every provider. For provider-specific pricing before creation, check sandboxes_get_options for the provider, size, and account type. If no rate is available, explain that and wait for the user to authorize creation before checking the actual placement and rateUsd on the result. insufficient_credits means the org is out of prepaid credit: tell the user to add credit in the ComputeSDK dashboard. Don't share a top-up or checkout link.write_file, read_file, make_directory, remove_path; run_command or start_process; sandbox_url for anything that listens on a port. File tools take absolute paths; read_file on a directory lists its entries.destroy_sandbox when the task is finished — sandboxes bill for runtime, so always clean up unless the user wants it kept alive.get_sandbox fetches one sandbox's details; list_sandboxes lists the visible ones. get_profile returns the connection's identity — an opaque id, and nickname, which is the name of the billed org.
run_command — one-shot commands under about 290 seconds. Returns buffered stdout/stderr/exit code.start_process — anything that outlives that: servers, watchers, builds, training. Returns jobId; follow up with wait_process, process_status (buffered output), kill_process, or list_processes to see all jobs on a sandbox. For interactive programs (REPLs, CLIs), spawn with stdin: true, then use write_process_stdin to send input; pass close: true to signal EOF.sandbox_url fails when the provider the sandbox was placed on has no ingress — say so, and offer to recreate pinned to a provider that supports preview URLs.0.0.0.0 and on the exact port passed to sandbox_url. Dev servers usually default to localhost, and the preview proxy then returns 502 even though the server is running. Per-framework:
app.run(host="0.0.0.0", port=N)vite --host 0.0.0.0 --port N --strictPort, and add the preview host to server.allowedHosts (Vite 5+ blocks unknown hosts)next dev -H 0.0.0.0 -p Nid; process tools take jobId.sandboxes_get_costs — the org's running and settled spend, by provider. Open to any member.sandboxes_get_settings — placement settings (provider order, sizes, warm pool). Owners/admins only; read-only here, changes are made in the dashboard or compute sandboxes settings.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub computesdk/computesdk --plugin computesdk-router4 skills in this plugin
/actionsWork with the org's ComputeSDK Actions CI runs — list connected repos and workflows, dispatch workflow runs, watch runs, read job logs, cancel and re-run. Use when the user asks about CI status, a failing run, or wants to kick off a workflow./benchmarksRead ComputeSDK benchmark results — list benchmarks, runs and per-provider results, reliability and uptime, per-iteration latencies and worker logs. Use when the user asks how sandbox providers compare, how a benchmark run went, or for a provider's reliability./providersCheck and manage the org's own provider (BYOK) keys and custom reporting rates in ComputeSDK — see which providers have a key, whether it works, what each provider costs, and verify, remove or re-rate a key. Use when the user asks about their provider keys, why a sandbox placed on a given provider, or what a provider costs.Other plugins' skills for the same job