# Secure exec sandbox

> Secure exec sandbox is an open-source agent skill for developer tools. Run JavaScript in a local V8 sandbox with an in-memory filesystem 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/secure-exec-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** secure-exec-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 how to use the secure-exec adapter from ComputeSDK to create isolated sandboxes that execute JavaScript on the local machine. It walks the agent through installing the computesdk and @computesdk/secure-exec packages, importing the provider factory, and building a scoped client that creates a sandbox, runs a workload, and tears the sandbox down afterwards.

The skill is a short integration guide rather than a set of scripts. It points to the adapter's README for prerequisites, credentials, example code and known limitations, and it refers to a separate computesdk skill for the general direct SDK workflow.

The agent needs Node.js with npm to install the packages and a project where the direct SDK integration is set up. The workload itself runs inside a V8 runtime with a non-persistent in-memory filesystem.

## When your agent uses it

> Local secure-exec adapter for ComputeSDK. Run JavaScript with a V8 runtime and an in-memory filesystem. Use for @computesdk/secure-exec 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/secure-exec-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/secure-exec-sandbox)

## Features

- **Local V8 execution:** Runs JavaScript inside a V8 runtime on the local machine through the secure-exec provider.
- **In-memory filesystem:** Gives each sandbox a filesystem held in memory rather than on disk.
- **Scoped SDK client:** Shows how to wrap the adapter with compute() to get a scoped client for creating instances.
- **Sandbox lifecycle steps:** Covers creating a sandbox, running work in it, and destroying it when finished.
- **Adapter setup pointers:** Directs the agent to the adapter README for prerequisites, credentials and example code.

## Good for

- Run a short JavaScript snippet in an isolated sandbox from a project
- Set up @computesdk/secure-exec in a direct ComputeSDK integration
- Create and destroy a local sandbox around a test workload
- Prototype code execution that keeps files in memory only

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### What do I need to install?

Run npm install computesdk @computesdk/secure-exec. The skill points to the adapter README for other prerequisites and credentials.

### Does Secure exec sandbox run code locally?

Yes. The adapter runs JavaScript with a V8 runtime and an in-memory filesystem, as described in the skill's frontmatter.

### Where do I find example code and limitations?

The skill links to the adapter README at packages/secure-exec, which covers the provider factory, examples and limitations.

### How do I install Secure exec sandbox in Claude Code?

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

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

The closest alternatives to Secure exec sandbox are Computesdk, K8s sandbox, Sandbox CLI sandbox, Docker sandbox and Runtime sandbox.

## Where this comes from

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

## Alternatives

- [Computesdk](https://ai-powered.com/skills/computesdk): Computesdk 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.
- [Docker sandbox](https://ai-powered.com/skills/docker-sandbox): Docker 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.
- [Neevcloud sandbox](https://ai-powered.com/skills/neevcloud-sandbox-computesdk): Neevcloud 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.
- [Cocoonstack sandbox](https://ai-powered.com/skills/cocoonstack-sandbox): Cocoonstack sandbox is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/secure-exec-sandbox
