Skip to content
Skill

Codesandbox sandbox

Run commands and manage files in CodeSandbox cloud sandboxes via ComputeSDK

Codesandbox sandbox 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 Codesandbox sandbox

This skill guides an agent to execute code and work with files inside CodeSandbox cloud development sandboxes through the ComputeSDK layer. It covers two routes: running a one-off command through the hosted Sandbox Router with the compute CLI, which selects CodeSandbox, runs the command and destroys the sandbox, or integrating the provider directly in TypeScript with the @computesdk/codesandbox adapter.

For the hosted route, the skill points the agent to check available provider offers and connected keys, and to choose managed or bring-your-own-key account mode. For the direct route, it walks through installing the packages, creating a sandbox, running a command, reading its output and destroying the sandbox when finished. The adapter README holds credentials and limitations, which the skill leaves to that document.

Using the direct route requires a CodeSandbox API key supplied through an environment variable, and a Node.js environment for the example. Related ComputeSDK skills cover the full router workflow and the common SDK usage.

When your agent uses it

CodeSandbox adapter for ComputeSDK. Run code and work with files in cloud development sandboxes. Use for CodeSandbox on the ComputeSDK Sandbox Router or @computesdk/codesandbox in a direct SDK integration.

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 (2 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/codesandbox-sandbox 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/codesandbox-sandbox &&
cp -R "$tmp/skills/codesandbox-sandbox" ~/.claude/skills/codesandbox-sandbox &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/codesandbox-sandbox inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/codesandbox-sandbox 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/codesandbox-sandbox &&
cp -R "$tmp/skills/codesandbox-sandbox" ~/.agents/skills/codesandbox-sandbox &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/codesandbox-sandbox inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/codesandbox-sandbox 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/codesandbox-sandbox &&
cp -R "$tmp/skills/codesandbox-sandbox" ~/.cursor/skills/codesandbox-sandbox &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/codesandbox-sandbox inside it instead.

Cursor docs on skills

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/codesandbox-sandbox

Or copy the folder to ~/.gemini/skills/codesandbox-sandbox yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/codesandbox-sandbox:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/codesandbox-sandbox &&
cp -R "$tmp/skills/codesandbox-sandbox" ~/.copilot/skills/codesandbox-sandbox &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/codesandbox-sandbox inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/computesdk/computesdk.git

Then copy computesdk/skills/codesandbox-sandbox into your agent's skills folder as codesandbox-sandbox. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hosted sandbox commands
Run a command in a CodeSandbox sandbox through the ComputeSDK Sandbox Router with the compute CLI.
Provider offer checks
Inspect current provider offers and connected keys before choosing managed or bring-your-own-key mode.
Direct SDK integration
Install the CodeSandbox adapter and create sandboxes from TypeScript code.
Sandbox lifecycle steps
Covers creating a sandbox, running a workload and destroying it when finished.
Adapter configuration example
Shows a provider factory setup with an API key, template ID and timeout.

Good for

  • Run a quick Node.js script in an isolated cloud sandbox
  • Execute a command on CodeSandbox without managing infrastructure
  • Set up a CodeSandbox-backed sandbox in a TypeScript project
  • Tear down a cloud sandbox after a test run completes

Codesandbox sandbox FAQ

What do I need to use the direct SDK route?

Install computesdk and @computesdk/codesandbox, configure a CodeSandbox API key as described in the adapter README, and use the provider factory in your code.

Does Codesandbox sandbox change files on my machine?

The skill describes running commands and files inside remote CodeSandbox sandboxes, not on your local machine.

When does Codesandbox sandbox apply?

It applies when a task involves CodeSandbox through the ComputeSDK Sandbox Router or the @computesdk/codesandbox package in a direct integration.

How do I install Codesandbox sandbox in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/codesandbox-sandbox to use it in all your projects, or to .claude/skills/codesandbox-sandbox in one project.

Does Codesandbox sandbox 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 Codesandbox sandbox?

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 Codesandbox sandbox?

The closest alternatives to Codesandbox sandbox are Sandbox0 sandbox, Cloud run sandbox, Cocoonstack sandbox, Namespace sandbox and K8s sandbox.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from computesdk/computesdk

  1. Reference for driving the compute CLI to run sandboxes, Actions and market tasks

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

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

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

    • Open source
    • 305 GitHub stars
    • Developer tools
  5. Lets an agent check, verify, remove and re-rate a ComputeSDK org's provider keys

    • Open source
    • 305 GitHub stars
    • Cloud and infrastructure
  6. Lets an agent run code, files and servers in ComputeSDK cloud sandboxes

    • Open source
    • 305 GitHub stars
    • Developer tools