# Runtime sandbox

> Runtime sandbox is an open-source agent skill for cloud and infrastructure. Lets an agent run code in isolated Firecracker microVM 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/runtime-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** runtime-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 guides an agent through integrating the @computesdk/runtime adapter into a project that uses the ComputeSDK direct SDK. It covers installing the packages, pointing the agent to the adapter README for prerequisites, credentials and provider setup, and then following a create, run, destroy sandbox lifecycle.

The workflow centers on creating a sandbox instance through the SDK client, running a command inside it and tearing it down once the work finishes. The included example shows a provider configured with an API key from the environment and a simple command executed in the sandbox. The skill points to the separate computesdk skill for the general direct SDK workflow.

It expects a TypeScript or JavaScript project with Node tooling and an API key for the runtime provider. The skill ships only its SKILL.md with no scripts.

## When your agent uses it

> Runtime sandbox adapter for ComputeSDK. Run agent code in Firecracker microVMs. Use for @computesdk/runtime 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/runtime-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/runtime-sandbox)

## Features

- **Sandbox adapter setup:** Installs the ComputeSDK and runtime adapter packages and wires the provider factory into a client.
- **Sandbox lifecycle steps:** Walks through creating an instance, running a workload and destroying the sandbox afterward.
- **Firecracker microVM isolation:** Runs agent-generated code inside Firecracker microVMs rather than on the host.
- **Command execution example:** Provides a short code sample that runs a shell command in a sandbox and reads its output.
- **Adapter documentation pointer:** Directs the agent to the adapter README for credentials, limitations and example code.

## Good for

- Set up a sandbox runtime for an agent in a TypeScript project
- Run untrusted generated code in an isolated microVM
- Execute a shell command inside a remote sandbox and capture stdout
- Wire the runtime provider into an existing ComputeSDK client

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

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

It needs the computesdk and @computesdk/runtime npm packages and a runtime API key, which the adapter README describes how to configure.

### Does Runtime sandbox run scripts or change files in my project?

The skill ships only its SKILL.md with no scripts. It instructs the agent to install packages and write integration code.

### When is Runtime sandbox used?

It applies when the task involves @computesdk/runtime in a direct SDK integration to run agent code in Firecracker microVMs.

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

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

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

The closest alternatives to Runtime sandbox are Cocoonstack sandbox, Sandbox CLI sandbox, K8s sandbox, Ec2 firecrab sandbox and Sail sandbox.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Cocoonstack sandbox](https://ai-powered.com/skills/cocoonstack-sandbox): Cocoonstack 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.
- [K8s sandbox](https://ai-powered.com/skills/k8s-sandbox): K8s sandbox is an open-source agent skill for cloud and infrastructure.
- [Ec2 firecrab sandbox](https://ai-powered.com/skills/ec2-firecrab-sandbox): Ec2 firecrab 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.
- [Lelantos sandbox](https://ai-powered.com/skills/lelantos-sandbox): Lelantos sandbox is an open-source agent skill for developer tools.
- [Uno sandbox](https://ai-powered.com/skills/uno-sandbox): Uno sandbox is an open-source agent skill for cloud and infrastructure.
- [Agentcore sandbox](https://ai-powered.com/skills/agentcore-sandbox): Agentcore sandbox is an open-source agent skill for cloud and infrastructure.

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