# Offstage sandbox

> Offstage sandbox is an open-source agent skill for developer tools. Lets an agent create and drive real macOS sandboxes on Apple silicon 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/offstage-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** offstage-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 documents the Offstage provider for ComputeSDK, which gives an agent access to real macOS environments on Apple silicon hardware. It covers installing the computesdk and @computesdk/offstage packages, creating a sandbox, running shell commands, and writing files into the sandbox root before destroying the sandbox when the work is done.

The guidance is a short direct-SDK walkthrough that points to the adapter README for prerequisites, credentials, the provider factory, and known limitations. An example shows creating a sandbox with a timeout, writing a Swift file, running it, and reading stdout.

Using it requires a Node.js project with the ComputeSDK packages, an Offstage API key set in the environment, and access to Offstage's macOS sandboxes. The skill is part of the MIT-licensed ComputeSDK repository.

## When your agent uses it

> Offstage provider for ComputeSDK - real macOS sandboxes on Apple silicon for AI agents and CI, with commands, files, Xcode, iOS simulators and GUI sessions. Use for @computesdk/offstage 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/offstage-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/offstage-sandbox)

## Features

- **Direct SDK setup:** Steps to install the computesdk and @computesdk/offstage packages and import the provider factory.
- **Sandbox lifecycle:** Covers creating a macOS sandbox with a timeout, running the workload, and destroying it afterward.
- **Command execution:** Shows running shell commands inside the sandbox and reading their standard output.
- **File writing:** Shows writing files under the sandbox root before running them.
- **Apple silicon macOS:** Describes sandboxes that are real macOS user accounts on Apple silicon Macs, including Xcode and iOS simulators.

## Good for

- Run a Swift script in an isolated macOS environment
- Build an Xcode project inside a sandbox for CI
- Execute iOS simulator tests from an agent workflow
- Create a disposable macOS sandbox for an agent task

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### What do I need to install to use Offstage sandbox?

Run npm install computesdk @computesdk/offstage, then configure the provider as described in the adapter README.

### Where do I find the API key setup?

The skill points to the adapter README for prerequisites and credentials and does not list the steps itself.

### What does a sandbox represent?

The example describes a sandbox as a macOS user account on an Apple silicon Mac.

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

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

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

The closest alternatives to Offstage sandbox are Sandbox CLI sandbox, Cocoonstack sandbox, K8s sandbox, Computesdk and Createos sandbox.

## Where this comes from

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

## Alternatives

- [Sandbox CLI sandbox](https://ai-powered.com/skills/sandbox-cli-sandbox): Sandbox CLI sandbox is an open-source agent skill for developer tools.
- [Cocoonstack sandbox](https://ai-powered.com/skills/cocoonstack-sandbox): Cocoonstack 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.
- [Computesdk](https://ai-powered.com/skills/computesdk): Computesdk 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.
- [Opencomputer sandbox](https://ai-powered.com/skills/opencomputer-sandbox): Opencomputer sandbox is an open-source agent skill for developer tools.
- [Render sandbox](https://ai-powered.com/skills/render-sandbox): Render sandbox is an open-source agent skill for developer tools.
- [Runtime sandbox](https://ai-powered.com/skills/runtime-sandbox): Runtime sandbox is an open-source agent skill for cloud and infrastructure.

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