Skip to content
Skill

Microsandbox sandbox

Run code in Microsandbox microVM sandboxes through ComputeSDK

Microsandbox sandbox is an open-source agent skill for developer tools. 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 Microsandbox sandbox

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.

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/microsandbox-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/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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/microsandbox-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/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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/microsandbox-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/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.

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Microsandbox sandbox 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.

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