# Kubi sandbox

> Kubi sandbox is an open-source agent skill for cloud and infrastructure. Lets an agent create and drive always-on Linux desktop 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/kubi-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** kubi-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 documents the Kubi provider for ComputeSDK, which gives an agent a Linux desktop running in its own virtual machine. It covers the direct SDK route: installing the computesdk and @computesdk/kubi packages, creating an instance, running shell commands, reading and writing files inside the sandbox, exposing a port through an HTTPS URL, and destroying the sandbox when the work is done.

The skill points to the adapter README for prerequisites, credentials, the provider factory and limitations, and includes a short TypeScript example that sets a timeout so Kubi deletes the sandbox automatically. It also refers to a separate computesdk skill for the general SDK workflow.

Using it requires a Kubi API key set in the environment, Node.js with npm, and TypeScript or JavaScript code that calls the SDK.

## When your agent uses it

> Kubi provider for ComputeSDK - always-on Linux desktops in their own VM, for AI agents. Use for @computesdk/kubi 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/kubi-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/kubi-sandbox)

## Features

- **Direct SDK setup:** Shows how to install the computesdk and @computesdk/kubi packages and import the provider factory.
- **Sandbox lifecycle:** Covers creating an instance, running the workload and destroying the sandbox when finished.
- **Command execution:** Runs shell commands inside the Linux sandbox and reads their output.
- **File operations:** Writes and reads files at paths inside the sandbox filesystem.
- **Port URLs:** Returns an HTTPS URL that reaches a service on a chosen port inside the sandbox.
- **Automatic cleanup:** Sets a timeout so the provider deletes the sandbox after a set duration.

## Good for

- Run a script in an isolated Linux desktop for an agent
- Write a file into a sandbox and read it back
- Start a web app inside a sandbox and get a public URL for it
- Check the OS and Python version available in a remote environment
- Spin up a temporary desktop for a task and destroy it afterwards

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### What do I need to use Kubi sandbox?

You need to install the computesdk and @computesdk/kubi npm packages and provide a Kubi API key, for example through the KUBI_API_KEY environment variable. The adapter README lists the other prerequisites.

### Does the skill include scripts?

No. It is a single SKILL.md file with instructions and one code example.

### Can the sandbox be removed automatically?

Yes. The example passes a timeout when creating the instance, and Kubi deletes the sandbox after that time. The skill also says to destroy the sandbox when the work is finished.

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

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

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

The closest alternatives to Kubi sandbox are K8s sandbox, Cocoonstack sandbox, Sandbox0 sandbox, Runtime sandbox and Neevcloud sandbox.

## Where this comes from

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

## Alternatives

- [K8s sandbox](https://ai-powered.com/skills/k8s-sandbox): K8s sandbox is an open-source agent skill for cloud and infrastructure.
- [Cocoonstack sandbox](https://ai-powered.com/skills/cocoonstack-sandbox): Cocoonstack sandbox is an open-source agent skill for cloud and infrastructure.
- [Sandbox0 sandbox](https://ai-powered.com/skills/sandbox0-sandbox): Sandbox0 sandbox is an open-source agent skill for cloud and infrastructure.
- [Runtime sandbox](https://ai-powered.com/skills/runtime-sandbox): Runtime sandbox is an open-source agent skill for cloud and infrastructure.
- [Neevcloud sandbox](https://ai-powered.com/skills/neevcloud-sandbox-computesdk): Neevcloud sandbox is an open-source agent skill for cloud and infrastructure.
- [Uno sandbox](https://ai-powered.com/skills/uno-sandbox): Uno sandbox is an open-source agent skill for cloud and infrastructure.
- [Kosa8 sandbox](https://ai-powered.com/skills/kosa8-sandbox): Kosa8 sandbox is an open-source agent skill for developer tools.
- [Compute sandboxes CLI](https://ai-powered.com/skills/compute-sandboxes-cli): Compute sandboxes CLI is an open-source agent skill for cloud and infrastructure.

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