
Compute sandboxes CLI
Create and control hosted ComputeSDK sandboxes from a shell using the compute CLI
Compute sandboxes CLI is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 305
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Compute sandboxes CLI
This skill teaches an agent to drive ComputeSDK Platform sandboxes through the compute command line tool from @computesdk/cli 2.x, using the compute sandboxes group (alias compute sbx). It covers placing a sandbox on managed accounts, the organization's own provider keys, or a compute-market fill, then running commands in it, starting detached processes, copying files, exposing ports as preview URLs and taking snapshots. Creating sandboxes requires the organization to have sandboxes enabled, and usage is billed to that organization.
The guidance is built around a create, work, destroy lifecycle. It recommends quoting a price first and capping market orders with a max price, using one-shot run and serve shortcuts for simple cases, and always destroying sandboxes when finished because they bill while running. It also warns about practical limits: buffered exec output stops around 290 seconds, servers must listen on 0.0.0.0 on the exact port for previews to work, and the agent should pass sandbox IDs explicitly rather than relying on a per-directory default.
Users need Node.js to install the CLI and either a login through the device flow or an organization API key supplied through an environment variable. Authentication, org selection and error codes such as market access or insufficient credits are documented in the skill.
When your agent uses it
Drive hosted ComputeSDK Platform sandboxes from a shell with `compute sandboxes` (alias `compute sbx`) from @computesdk/cli 2.x — create sandboxes on your org's providers or the compute market, run commands (one-shot `run`, `exec`, detached `spawn`), serve ports, copy files, get preview URLs, and take snapshots. Use when creating, running commands in, or managing hosted ComputeSDK sandboxes from a shell.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (13 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/compute-sandboxes-cli to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/compute-sandboxes-cli &&
cp -R "$tmp/skills/compute-sandboxes-cli" ~/.claude/skills/compute-sandboxes-cli &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/compute-sandboxes-cli inside it instead.
Copy the skill folder to ~/.agents/skills/compute-sandboxes-cli to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/compute-sandboxes-cli &&
cp -R "$tmp/skills/compute-sandboxes-cli" ~/.agents/skills/compute-sandboxes-cli &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/compute-sandboxes-cli inside it instead.
Copy the skill folder to ~/.cursor/skills/compute-sandboxes-cli to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/compute-sandboxes-cli &&
cp -R "$tmp/skills/compute-sandboxes-cli" ~/.cursor/skills/compute-sandboxes-cli &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/compute-sandboxes-cli inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/computesdk/computesdk.git --path skills/compute-sandboxes-cliOr copy the folder to ~/.gemini/skills/compute-sandboxes-cli yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/compute-sandboxes-cli:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/compute-sandboxes-cli &&
cp -R "$tmp/skills/compute-sandboxes-cli" ~/.copilot/skills/compute-sandboxes-cli &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/compute-sandboxes-cli inside it instead.
Get the folder:
git clone --depth 1 https://github.com/computesdk/computesdk.gitThen copy computesdk/skills/compute-sandboxes-cli into your agent's skills folder as compute-sandboxes-cli. Agents that support SKILL.md read one folder per skill.
What it does
- Sandbox lifecycle management
- Create, list, inspect, use and destroy hosted sandboxes, with placement across providers or the compute market.
- Command execution
- Run buffered commands, start detached background jobs, and stream or stop their logs.
- File transfer
- List, read, write, create and remove files in a sandbox, and copy directories in either direction.
- Preview URLs and servers
- Serve a process on a port and obtain a public preview URL for it.
- Price quoting and caps
- Dry-run a create to see rate and balance, then cap market fills with a max price.
- Snapshots
- Take, list and delete snapshots of running sandboxes where the provider supports them.
Good for
- Spin up a sandbox, install Flask and run a small web server
- Run a one-off build or test script in a temporary remote environment
- Start a dev server and get a public preview link to share
- Copy a project folder into a sandbox and pull results back out
- Check the price of a medium sandbox before creating one
Compute sandboxes CLI FAQ
What do I need before using Compute sandboxes CLI?
Install @computesdk/cli 2.x, then log in with compute login or supply an org API key through COMPUTE_API_KEY. The organization must have sandboxes enabled to create them.
Who pays for the sandboxes?
Usage bills to the organization that owns the sandbox, and sandboxes keep billing while running, so the skill says to destroy them when done.
Why does a market create fail without a price?
The default order type is limit, so a create needs a max price, typically the rate from a quote, unless market mode is chosen explicitly.
Can Compute sandboxes CLI run long-lived servers?
Yes. Exec buffers output and stops around 290 seconds, so servers should be started with spawn and their logs followed or waited on.
How do I install Compute sandboxes CLI in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/compute-sandboxes-cli to use it in all your projects, or to .claude/skills/compute-sandboxes-cli in one project.
Does Compute sandboxes CLI run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Compute sandboxes CLI?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Compute sandboxes CLI?
The closest alternatives to Compute sandboxes CLI are Sandboxes, Sandbox router, Compute CLI, Sail sandbox and Namespace sandbox.
Where this comes from
- Description: from the skill's own SKILL.md.
More from computesdk/computesdk

Reference for driving the compute CLI to run sandboxes, Actions and market tasks
- Open source
- 305 GitHub stars
- Developer tools

Guides contributors through adding a sandbox compute provider to ComputeSDK
- Open source
- 305 GitHub stars
- Developer tools

Lets your agent inspect, dispatch and manage ComputeSDK CI workflow runs for your org
- Open source
- 305 GitHub stars
- Developer tools

Lets an agent read ComputeSDK sandbox provider benchmark results, runs and logs
- Open source
- 305 GitHub stars
- Developer tools

Lets an agent check, verify, remove and re-rate a ComputeSDK org's provider keys
- Open source
- 305 GitHub stars
- Cloud and infrastructure

Lets an agent run code, files and servers in ComputeSDK cloud sandboxes
- Open source
- 305 GitHub stars
- Developer tools

