Build sandboxed applications for secure code execution. Load when building AI code execution, code interpreters, CI/CD systems, interactive dev environments, or executing untrusted code.
cloudflare-sandbox-sdk/SKILL.md
---
name: sandbox-sdk
description: Build sandboxed applications for secure code execution. Load when building AI code execution, code interpreters, CI/CD systems, interactive dev environments, or executing untrusted code. Covers Sandbox SDK lifecycle, commands, files, code interpreter, and preview URLs. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
---
# Cloudflare Sandbox SDK
Build secure, isolated code execution environments on Cloudflare Workers.
## FIRST: Verify Installation
```bash
npm install @cloudflare/sandbox
docker info # Must succeed - Docker required for local dev
```
## Retrieval Sources
Your knowledge of the Sandbox SDK may be outdated. **Prefer retrieval over pre-training** for any Sandbox SDK task.
| Resource | URL |
|----------|-----|
| Docs | https://developers.cloudflare.com/sandbox/ |
| API Reference | https://developers.cloudflare.com/sandbox/api/ |
| Examples | https://github.com/cloudflare/sandbox-sdk/tree/main/examples |… load the full skill through Skill MeIn any connected conversation, say:
Install the Sandbox Sdk skill
If full content is available, it applies in this conversation and stays installed for future sessions.
Not connected yet? It takes about a minute.
Connect your AIOr add it to a project with the CLI
npx @skillme/cli add cloudflare-sandbox-sdkMCP endpoint
https://skillme.dev/api/mcpUse it across a team
Pin this skill in a team library and every member's AI loads this exact version until an admin updates it.
How Teams works