Skip to content
Skill

Cocoonstack sandbox

Run code in self-hosted Cocoon Stack microVMs through the ComputeSDK adapter

Cocoonstack sandbox is an open-source agent skill for cloud and infrastructure. 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 Cocoonstack sandbox

This skill guides an agent through using the @computesdk/cocoonstack adapter inside a direct ComputeSDK integration. It covers installing the npm packages, pointing the agent to the adapter README for prerequisites, credentials and the provider factory, and then creating a sandbox, running a command and destroying the sandbox when finished.

The skill is a short set of instructions with an example snippet that configures the provider from a base URL and API key read from environment variables, then runs a simple command inside the sandbox. It does not ship scripts or reference files of its own; the detailed setup and limitations live in the external adapter README.

The workflow assumes a reachable self-hosted sandboxd service and a Node.js/TypeScript project. It points to the separate computesdk skill for the general SDK workflow.

When your agent uses it

Cocoon Stack sandbox adapter for ComputeSDK. Run code in self-hosted microVMs managed by sandboxd. Use for @computesdk/cocoonstack 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 (1 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/cocoonstack-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/cocoonstack-sandbox &&
cp -R "$tmp/skills/cocoonstack-sandbox" ~/.claude/skills/cocoonstack-sandbox &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Direct SDK setup
Steps to install the computesdk and cocoonstack packages in a project.
Provider configuration
Shows how to configure the cocoonstack provider with a base URL and API key.
Sandbox lifecycle
Covers creating a sandbox, running a command and destroying it afterwards.
Adapter README pointer
Directs the agent to the adapter docs for prerequisites and limitations.

Good for

  • Run a Node.js command inside a self-hosted microVM
  • Set up ComputeSDK with the Cocoon Stack provider
  • Create and tear down an isolated sandbox from TypeScript code

Cocoonstack sandbox FAQ

What does the skill need to run?

It expects the computesdk and @computesdk/cocoonstack npm packages, a Cocoon Stack sandboxd endpoint, and an API key, which the adapter README describes.

Does Cocoonstack sandbox run scripts or change files in my project?

The skill has no scripts. It describes installing packages and writing SDK code that creates and destroys a sandbox.

What is the license?

The repository is licensed under MIT.

How do I install Cocoonstack sandbox in Claude Code?

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

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

The closest alternatives to Cocoonstack sandbox are Codesandbox sandbox, K8s sandbox, Runtime sandbox, Sandbox CLI sandbox and Neevcloud 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