Skip to content
Skill

Opencomputer sandbox

Run code in persistent OpenComputer VMs via ComputeSDK, with checkpoints and preview URLs

Opencomputer 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 Opencomputer sandbox

This skill guides an AI coding agent to use OpenComputer as the sandbox provider for ComputeSDK. It covers two routes: selecting OpenComputer through the hosted ComputeSDK Sandbox Router with the compute CLI or TypeScript provider ordering, or installing the @computesdk/opencomputer adapter for a direct SDK integration.

The direct route walks the agent through installing the packages, pointing to the adapter README for credentials and configuration, creating an instance, running commands, reading and writing files, exposing a port as a URL, and destroying the sandbox when finished. The example uses an API key read from the environment.

Expect Node.js with the ComputeSDK packages and an OpenComputer API key, or a connected key in a ComputeSDK organization for the hosted route. Companion skills cover the full router examples and the general SDK workflow.

When your agent uses it

OpenComputer sandbox adapter for ComputeSDK. Run code in persistent VMs with checkpoints and preview URLs. Use for OpenComputer on the ComputeSDK Sandbox Router or @computesdk/opencomputer 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/opencomputer-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/opencomputer-sandbox &&
cp -R "$tmp/skills/opencomputer-sandbox" ~/.claude/skills/opencomputer-sandbox &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/opencomputer-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/opencomputer-sandbox into your agent's skills folder as opencomputer-sandbox. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hosted router selection
Runs commands on OpenComputer through the ComputeSDK Sandbox Router CLI and TypeScript provider ordering.
Direct SDK integration
Explains installing and wiring the @computesdk/opencomputer adapter into a project.
Command execution
Shows how to run shell commands inside a sandbox and read their output.
File read and write
Covers writing and reading files inside a sandbox filesystem.
Preview URLs
Demonstrates retrieving a public URL for a port exposed by the sandbox.
Sandbox lifecycle
Guides creating a sandbox and destroying it once the workload is done.

Good for

  • Run a short script in an isolated cloud VM
  • Test a web app and get a preview URL for a running port
  • Persist a working environment across multiple agent sessions
  • Execute untrusted or generated code away from the local machine
  • Set up a direct ComputeSDK integration with OpenComputer

Opencomputer sandbox FAQ

What do I need to use Opencomputer sandbox?

A ComputeSDK setup with OpenComputer access: either a connected OpenComputer key for the hosted router, or an OpenComputer API key for the direct @computesdk/opencomputer adapter, configured as described in the adapter README.

Which packages does the direct route install?

It runs npm install for computesdk and @computesdk/opencomputer.

Does the skill include scripts or extra files?

No. It is a single SKILL.md that points to the adapter README and other skills for details.

How do I install Opencomputer sandbox in Claude Code?

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

Does Opencomputer 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 Opencomputer 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 Opencomputer sandbox?

The closest alternatives to Opencomputer sandbox are Createos sandbox, Codesandbox sandbox, Sandbox0 sandbox, Runloop sandbox and Microsandbox 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