# Microsandbox sandbox

> Microsandbox sandbox is an open-source agent skill for developer tools. Run code in Microsandbox microVM sandboxes through 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/microsandbox-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** microsandbox-sandbox
- **Collection:** https://github.com/computesdk/computesdk
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill covers using Microsandbox, a microVM sandbox backend, from ComputeSDK. It describes two routes: selecting Microsandbox through the hosted Sandbox Router with the compute CLI or a providerOrder option in TypeScript, or wiring the @computesdk/microsandbox adapter directly into an SDK project.

The workflow centers on creating a sandbox, running a command or workload inside it, and destroying it afterward. The example shows configuring the provider factory with an API key and container image, then running a command such as checking the Node version. The skill points the agent to the adapter README for prerequisites, credentials and limitations, and to companion skills for the broader Router and SDK workflows.

Expects a ComputeSDK account or a Microsandbox API key, Node.js with npm, and TypeScript for the SDK examples. The skill is a single SKILL.md with no scripts.

## When your agent uses it

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

## Features

- **Hosted Router selection:** Choose Microsandbox as the provider for a command run through the ComputeSDK Sandbox Router CLI.
- **Direct SDK integration:** Install and configure the @computesdk/microsandbox adapter inside a TypeScript project.
- **Sandbox lifecycle steps:** Covers creating an instance, running a command inside it and destroying it when done.
- **Account mode options:** Shows how to require managed or bring-your-own-key accounts when listing provider offers.
- **Provider configuration example:** Includes a short TypeScript snippet setting the API key and container image for the provider.

## Good for

- Run a short Node.js script in an isolated microVM sandbox
- Check the runtime version inside a sandbox before running a build
- Set up a direct ComputeSDK integration that executes code on Microsandbox
- Route a sandbox command to Microsandbox through the hosted Router

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### What does the skill need before Microsandbox sandbox can run?

A ComputeSDK route is needed: either a hosted Sandbox Router with a connected Microsandbox key, or the npm packages computesdk and @computesdk/microsandbox with an MSB_API_KEY configured. Prerequisites are detailed in the adapter README.

### Which tools or languages does Microsandbox sandbox use?

The examples use TypeScript with npm and the compute CLI. The adapter is published as @computesdk/microsandbox.

### Does the skill include scripts?

No. The skill is a single SKILL.md file with instructions and example code, and it defers setup details to the adapter README.

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

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

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

The closest alternatives to Microsandbox sandbox are Codesandbox sandbox, Sandbox CLI sandbox, Createos sandbox, Sandbox0 sandbox and Sail 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.
- [Sandbox CLI sandbox](https://ai-powered.com/skills/sandbox-cli-sandbox): Sandbox CLI sandbox is an open-source agent skill for developer tools.
- [Createos sandbox](https://ai-powered.com/skills/createos-sandbox): Createos sandbox is an open-source agent skill for developer tools.
- [Sandbox0 sandbox](https://ai-powered.com/skills/sandbox0-sandbox): Sandbox0 sandbox 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.
- [Namespace sandbox](https://ai-powered.com/skills/namespace-sandbox): Namespace sandbox 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.
- [Buddy sandbox](https://ai-powered.com/skills/buddy-sandbox): Buddy sandbox is an open-source agent skill for developer tools.

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