# Namespace sandbox

> Namespace sandbox is an open-source agent skill for cloud and infrastructure. Lets an agent run code in Namespace cloud sandboxes via ComputeSDK. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/computesdk/computesdk/tree/main/skills/namespace-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** namespace-sandbox
- **Collection:** https://github.com/computesdk/computesdk
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/computesdk/computesdk/tree/HEAD/skills/namespace-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/namespace-sandbox)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/namespace-sandbox` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/namespace-sandbox` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/namespace-sandbox` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/computesdk/computesdk.git --path skills/namespace-sandbox
```

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Codesandbox sandbox](https://ai-powered.com/skills/codesandbox-sandbox): Codesandbox sandbox is an open-source agent skill for cloud and infrastructure.
- [Sandbox0 sandbox](https://ai-powered.com/skills/sandbox0-sandbox): Sandbox0 sandbox is an open-source agent skill for cloud and infrastructure.
- [Modal sandbox](https://ai-powered.com/skills/modal-sandbox): Modal sandbox is an open-source agent skill for cloud and infrastructure.
- [Cloud run sandbox](https://ai-powered.com/skills/cloud-run-sandbox): Cloud run sandbox is an open-source agent skill for cloud and infrastructure.
- [K8s sandbox](https://ai-powered.com/skills/k8s-sandbox): K8s sandbox is an open-source agent skill for cloud and infrastructure.
- [Vercel sandbox](https://ai-powered.com/skills/vercel-sandbox): Vercel sandbox is an open-source agent skill for cloud and infrastructure.
- [Sandbox router](https://ai-powered.com/skills/sandbox-router): Sandbox router is an open-source agent skill for cloud and infrastructure.
- [Givemeanode sandbox](https://ai-powered.com/skills/givemeanode-sandbox): Givemeanode sandbox is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/namespace-sandbox
