Skip to content
Skill

Namespace sandbox

Lets an agent run code in Namespace cloud sandboxes via ComputeSDK

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

This skill covers running workloads in Namespace cloud sandboxes, which can optionally include GPUs. It offers two paths: a hosted route through the ComputeSDK Sandbox Router, where the CLI can run a command on Namespace and destroy the sandbox afterward, and a direct SDK path that installs the ComputeSDK core package together with the Namespace adapter.

The hosted route checks available offers and connected keys before running, and can require managed or bring-your-own-key account mode. The direct route walks through installing packages, reading the adapter's README for credentials and prerequisites, creating a sandbox, running work in it, and destroying it when finished. A TypeScript example shows creating and listing sandboxes and tearing one down.

Using the skill requires a Namespace account or connected key, Node.js with npm, and TypeScript or JavaScript. It refers to other skills in the same project for the full router example and the general SDK workflow.

When your agent uses it

Namespace sandbox adapter for ComputeSDK. Run code in cloud sandboxes with optional GPU support. Use for Namespace on the ComputeSDK Sandbox Router or @computesdk/namespace 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/namespace-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/namespace-sandbox &&
cp -R "$tmp/skills/namespace-sandbox" ~/.claude/skills/namespace-sandbox &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

Codex docs on skills

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

For one project only, put the folder in .cursor/skills/namespace-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/namespace-sandbox

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/namespace-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/namespace-sandbox into your agent's skills folder as namespace-sandbox. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hosted sandbox routing
Runs a command on Namespace through the ComputeSDK Sandbox Router CLI and cleans up afterward.
Offer and key checks
Lists current Namespace offers and connected keys before choosing an account mode.
Direct SDK setup
Installs the ComputeSDK core and Namespace adapter packages and points to the adapter README for configuration.
Sandbox lifecycle in TypeScript
Shows creating, listing and destroying sandboxes with the Namespace provider factory.
Optional GPU sandboxes
Notes that sandboxes can be created with optional GPU support.

Good for

  • Run a shell command in a temporary Namespace cloud sandbox
  • Create a sandbox from TypeScript code using the Namespace adapter
  • List and clean up existing Namespace sandboxes
  • Route sandbox creation through a connected Namespace key

Namespace sandbox FAQ

What do I need before using Namespace sandbox?

For the direct SDK path, install computesdk and @computesdk/namespace, then configure credentials as described in the adapter README. The hosted path uses the ComputeSDK router with a connected Namespace key.

Does Namespace sandbox run code on my local machine?

No. The skill directs the agent to create and run work in Namespace cloud sandboxes and destroy them when finished.

How do I choose between hosted and direct access?

Use the hosted router for CLI or organization-connected keys with providerOrder set to namespace. Use the direct SDK path when you integrate @computesdk/namespace in your own code.

How do I install Namespace sandbox in Claude Code?

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

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

The closest alternatives to Namespace sandbox are Codesandbox sandbox, Sandbox0 sandbox, Modal sandbox, Cloud run 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