sandbox-sdk

Execute Python, JavaScript, and TypeScript code in isolated Cloudflare Workers sandboxes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dwhoban/chanfana-vite-kumo --skill sandbox-sdk-dwhoban
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sandbox-sdk
Source: https://github.com/dwhoban/chanfana-vite-kumo/tree/main/.agents/skills/sandbox-sdk
Command: npx skills add https://github.com/dwhoban/chanfana-vite-kumo --skill sandbox-sdk-dwhoban

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a secure and isolated environment for executing untrusted code, making it ideal for AI code execution, interpreters, and CI/CD systems.

Core Features & Use Cases

  • Secure Code Execution: Run code in isolated Docker containers managed by Cloudflare Workers.
  • Code Interpreter: Execute Python, JavaScript, and TypeScript with rich output support, ideal for AI-driven analysis.
  • File System Operations: Read, write, and manage files within the sandbox.
  • Command Execution: Run shell commands and scripts.
  • Port Exposure: Expose services running inside the sandbox via preview URLs.
  • Use Case: An AI agent needs to analyze a dataset. This Skill can execute Python code using pandas and return the results, charts, or tables.

Quick Start

Use the sandbox-sdk skill to execute the python command 'pip list'.

Frequently Asked Questions about sandbox-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run untrusted code securely in isolated environments on Cloudflare Workers?

Secure code execution on Cloudflare Workers is achieved by isolating untrusted code in Docker containers using the sandbox SDK. This approach provides a safe environment ideal for AI code execution and CI/CD systems.

Can I execute Python scripts and return rich output like charts using a code interpreter?

Yes, the code interpreter executes Python, JavaScript, and TypeScript with rich output support. This allows AI agents to run Python code, such as pandas data analysis, and return generated charts or tables.

How do I expose a service running inside an isolated Docker sandbox via a preview URL?

You can expose services running inside the sandbox by utilizing the port exposure feature. This creates preview URLs that allow external access to the isolated Docker container's running services.

Does the sandbox SDK integrate with the OpenAI Agents SDK for AI-driven code tasks?

Yes, the sandbox SDK integrates directly with the OpenAI Agents SDK. This integration enables advanced AI-driven code tasks by allowing agents to securely execute scripts and commands in isolated environments.

What file system operations are supported inside the isolated code execution sandbox?

The sandbox supports standard file system operations, allowing you to read, write, and manage files within the isolated environment. You can also run shell commands and scripts directly inside the container.