
Secure exec sandbox
Run JavaScript in a local V8 sandbox with an in-memory filesystem via ComputeSDK
Secure exec 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 Secure exec sandbox
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.
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 (917 bytes) on GitHub on 5 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/secure-exec-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/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.
Copy the skill folder to ~/.agents/skills/secure-exec-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/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.
Copy the skill folder to ~/.cursor/skills/secure-exec-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/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.
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/secure-exec-sandboxOr copy the folder to ~/.gemini/skills/secure-exec-sandbox yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/secure-exec-sandbox:
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.
Get the folder:
git clone --depth 1 https://github.com/computesdk/computesdk.gitThen 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.
What it does
- 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
Secure exec sandbox 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.
More from computesdk/computesdk

Reference for driving the compute CLI to run sandboxes, Actions and market tasks
- Open source
- 305 GitHub stars
- Developer tools

Guides contributors through adding a sandbox compute provider to ComputeSDK
- Open source
- 305 GitHub stars
- Developer tools

Lets your agent inspect, dispatch and manage ComputeSDK CI workflow runs for your org
- Open source
- 305 GitHub stars
- Developer tools

Lets an agent read ComputeSDK sandbox provider benchmark results, runs and logs
- Open source
- 305 GitHub stars
- Developer tools

Lets an agent check, verify, remove and re-rate a ComputeSDK org's provider keys
- Open source
- 305 GitHub stars
- Cloud and infrastructure

Lets an agent run code, files and servers in ComputeSDK cloud sandboxes
- Open source
- 305 GitHub stars
- Developer tools

