sandbox-sdk
Secure, isolated code execution environments for LLM-generated code and shell commands on Cloudflare Workers.
Install
npx skills add https://github.com/cloudflare/skills --skill sandbox-sdkStats
| Total installs | 1,875 |
| Weekly installs | 1.9K |
| GitHub stars | 727 |
| First seen | Feb 5, 2026 |
| Source | @cloudflare/skills |
Summary
- Provides exec() for shell commands, runCode() for LLM-generated code with state persistence, and file operations (read, write, mkdir, list)
- Supports Python, JavaScript, and TypeScript with a base image including Python 3.11, Node.js 20, and common tools; extend via Dockerfile for additional dependencies
- Includes code interpreter contexts for data analysis workflows, port exposure for HTTP services, and lazy container startup with automatic sleep after 10 minutes of inactivity
- Requires Docker for local development, wrangler.jsonc configuration with Durable Objects bindings, and explicit Sandbox class re-export in Worker entry point
Tags
Related skills
| Skill | Installs | vs sandbox-sdk |
|---|---|---|
| agents | 1,689 | -186 |
| tavily-extract | 1,731 | -144 |
| exa-web-search-free | 1,774 | -101 |
| text-optimizer | 1,860 | -15 |
| meme-rush | 1,993 | +118 |
FAQ
- How many installs does sandbox-sdk have?
- sandbox-sdk has 1,875 total installs and 1.9K installs this week.
- Where is sandbox-sdk hosted?
- sandbox-sdk is published by @cloudflare/skills at https://github.com/cloudflare/skills.
- How many GitHub stars does sandbox-sdk have?
- sandbox-sdk has 727 GitHub stars.
- When was sandbox-sdk first indexed?
- OrangeBot.AI first indexed sandbox-sdk on Feb 5, 2026.
- How do I install sandbox-sdk?
- Run: npx skills add https://github.com/cloudflare/skills --skill sandbox-sdk