Cloudflare Sandbox SDK
Skill Verified ActiveBuild 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.
To enable developers to build secure, sandboxed applications and code execution environments on Cloudflare Workers, facilitating AI code interpretation, CI/CD systems, and development environments.
Features
- Secure code execution in isolated environments
- Support for multiple languages (Python, JS, TS)
- File system operations (read, write, mkdir, list)
- Command execution via `exec`
- Preview URL generation for exposed services
Use Cases
- Executing untrusted AI-generated code
- Building custom code interpreters
- Setting up CI/CD pipelines for secure testing
- Creating interactive development environments
Non-Goals
- Executing code outside of the isolated sandbox environment
- Replacing a full-fledged CI/CD system
- Managing user authentication or authorization within the sandbox
Prerequisites
- Cloudflare account and `wrangler.jsonc` configuration
- Docker installed and running for local development
- Node.js runtime for the agent environment
Installation
First, add the marketplace
/plugin marketplace add cloudflare/skills/plugin install skills@cloudflareQuality Score
VerifiedTrust Signals
Similar Extensions
Wasm Agent
99Create and manage sandboxed WASM agents for isolated code execution
Python Executor
99Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh). Pre-installed: NumPy, Pandas, Matplotlib, requests, BeautifulSoup, Selenium, Playwright, MoviePy, Pillow, OpenCV, trimesh, and 100+ more libraries. Use for: data processing, web scraping, image manipulation, video creation, 3D model processing, PDF generation, API calls, automation scripts. Triggers: python, execute code, run script, web scraping, data analysis, image processing, video editing, 3D models, automation, pandas, matplotlib
Agent Sandbox
95Agent skill for sandbox - invoke with $agent-sandbox
AgentBay AIO Skills
95用于任何「运行/执行/评估代码」的请求(如 run this code、execute script、用 Python 画图、跑代码/画图/执行脚本)。通过 AgentBay SDK 创建 code_latest 沙箱,调用 run_code 执行并返回结果。支持 Python、JavaScript、R、Java。
Wrangler
100Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
Devops
100Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.