# Computesdk

> Computesdk is an open-source agent skill for developer tools. Lets an agent build TypeScript sandbox apps using direct ComputeSDK provider adapters. 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/computesdk
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** computesdk
- **Collection:** https://github.com/computesdk/computesdk
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill guides an agent through writing TypeScript applications that create and control isolated sandboxes via ComputeSDK, using provider adapters the application configures itself. It covers running sandboxes locally with the just-bash adapter, then swapping in a cloud vendor's adapter package while keeping its credentials in the server environment.

The skill walks the agent through core operations: creating instances, running one-shot commands and checking exit codes and output, moving or inspecting files, and exposing a port when the adapter supports ingress. It also points to the provider-specific skills for setup details, and explains configuring a shared or scoped client and fallback between several adapters. Cleanup is emphasized, including destroying instances and checking for existing ones before retrying a timed-out create.

It expects a TypeScript project with the computesdk npm package and the adapter for the chosen provider, plus vendor credentials where a cloud provider is used. Organization-managed hosted routing is handled by a separate sandbox-router skill.

## When your agent uses it

> Build sandbox applications in TypeScript with direct ComputeSDK provider adapters. Use for local sandboxes, provider credentials and SDK integrations that call a vendor directly. Use sandbox-router for org-managed placement.

## 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/computesdk)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/computesdk)

## Features

- **Local sandbox setup:** Shows how to run sandboxes locally with the just-bash adapter and a minimal install.
- **Direct provider adapters:** Explains swapping vendor adapter packages into the client and keeping credentials server-side.
- **Command execution:** Covers one-shot commands and checking exit code, stdout and stderr.
- **File handling:** Describes using the sandbox filesystem to move or inspect files.
- **Port exposure:** Describes getting a URL for a port when the adapter supports ingress.
- **Multi-adapter fallback:** Describes configuring several adapters with a provider strategy and fallback on error.
- **Instance cleanup:** Advises destroying instances and checking for duplicates after a failed create.

## Good for

- Run a shell command inside a throwaway sandbox from a TypeScript app
- Set up a cloud sandbox provider with its own API credentials
- Move files into a sandbox and read back the output
- Expose a web server running in a sandbox on a chosen port
- Configure fallback between two sandbox providers in an application

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

Or copy the folder to `~/.gemini/skills/computesdk` yourself.

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### Do I need an account to start?

The local example uses the just-bash adapter with npm install of computesdk and @computesdk/just-bash, so no vendor account is needed for that path. Cloud adapters need their own vendor credentials.

### When should I use this instead of sandbox-router?

Use this skill when your application owns the vendor account or runs sandboxes locally. The skill points to sandbox-router for hosted routing with an organization API key.

### How do I find the right provider skill?

Run npx skills add computesdk/computesdk --list to find the provider's skill, which links to its setup and create options.

### Should I use client.sandbox?

No. The skill recommends client.instances.create() for new code, since client.sandbox is a deprecated alias.

### How do I install Computesdk in Claude Code?

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

### Does Computesdk 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 Computesdk?

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 Computesdk?

The closest alternatives to Computesdk are Codesandbox sandbox, Just bash sandbox, K8s sandbox, Sandbox CLI sandbox and Agentuity 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.
- [Just bash sandbox](https://ai-powered.com/skills/just-bash-sandbox): Just bash 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.
- [Sandbox CLI sandbox](https://ai-powered.com/skills/sandbox-cli-sandbox): Sandbox CLI sandbox is an open-source agent skill for developer tools.
- [Agentuity sandbox](https://ai-powered.com/skills/agentuity-sandbox): Agentuity 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.
- [Lizard sandbox](https://ai-powered.com/skills/lizard-sandbox): Lizard sandbox is an open-source agent skill for developer tools.
- [Lelantos sandbox](https://ai-powered.com/skills/lelantos-sandbox): Lelantos sandbox is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/computesdk
