# Blaxel sandbox

> Blaxel sandbox is an open-source agent skill for cloud and infrastructure. Lets an agent run commands in isolated Blaxel 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/blaxel-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** blaxel-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 teaches an agent how to use Blaxel as a cloud sandbox provider within the ComputeSDK ecosystem. It covers two routes: running a command through the hosted Sandbox Router using the compute CLI, which can pick Blaxel and check connected keys and account modes, and a direct integration that installs the ComputeSDK and Blaxel adapter packages and creates, uses and destroys a sandbox from code.

The direct route points to the adapter README for credentials, the provider factory and limitations, and the skill includes a TypeScript example that sets a workspace, API key, image, memory, exposed ports, a timeout and environment variables before running a shell command inside the sandbox. The skill notes that Blaxel enforces a minimum sandbox lifetime of five minutes. It also delegates the full router example and the common SDK workflow to companion skills.

Expected inputs are a Blaxel workspace and API key for the direct path, or a connected key in the ComputeSDK organization for the router path. The examples are written in TypeScript and use Node.js packages.

## When your agent uses it

> Blaxel sandbox adapter for ComputeSDK. Run code in isolated cloud sandboxes. Use for Blaxel on the ComputeSDK Sandbox Router or @computesdk/blaxel 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/blaxel-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/blaxel-sandbox)

## Features

- **Hosted router execution:** Runs a command on Blaxel through the ComputeSDK Sandbox Router with the compute CLI.
- **Direct SDK integration:** Shows how to install and configure the Blaxel adapter in a TypeScript project.
- **Sandbox lifecycle steps:** Covers creating a sandbox, running a command, and destroying it when finished.
- **Resource and port settings:** Example configuration for image, memory, exposed ports and environment variables.
- **Account mode selection:** Options to require managed or bring-your-own-key accounts when routing.
- **Companion skill references:** Points to related skills for the full router example and common SDK workflow.

## Good for

- Run a short script in an isolated cloud sandbox
- Execute untrusted code on Blaxel without touching the local machine
- Set up a Blaxel sandbox from a TypeScript project using ComputeSDK
- Route a sandbox command through a connected ComputeSDK provider key

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### What do I need to use the direct SDK route?

Install computesdk and @computesdk/blaxel, then configure a Blaxel workspace and API key as described in the adapter README.

### Does the skill run code locally?

No. The examples create a sandbox on Blaxel and run the command inside it.

### What is the minimum sandbox timeout?

Blaxel rejects a time-to-live under five minutes, so shorter values are raised to five minutes with a warning.

### Which command runs the hosted router example?

compute sandboxes run --provider blaxel -- echo hello selects Blaxel, runs the command and destroys the sandbox.

### How do I install Blaxel sandbox in Claude Code?

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

### Does Blaxel 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 Blaxel 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 Blaxel sandbox?

The closest alternatives to Blaxel sandbox are Codesandbox sandbox, Sandbox0 sandbox, Gravixlayer sandbox, Lightning sandbox and Sandbox router.

## 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.
- [Gravixlayer sandbox](https://ai-powered.com/skills/gravixlayer-sandbox): Gravixlayer sandbox is an open-source agent skill for cloud and infrastructure.
- [Lightning sandbox](https://ai-powered.com/skills/lightning-sandbox): Lightning 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.
- [Sail sandbox](https://ai-powered.com/skills/sail-sandbox): Sail 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.
- [Sprites sandbox](https://ai-powered.com/skills/sprites-sandbox): Sprites sandbox is an open-source agent skill for cloud and infrastructure.

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