
Cloudflare sandbox
Run code in Cloudflare Containers from an agent via ComputeSDK sandboxes
Cloudflare sandbox is an open-source agent skill for cloud and infrastructure. 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 Cloudflare sandbox
This skill points the agent at the Cloudflare provider in ComputeSDK, a way to run code inside Cloudflare Containers reached through Workers and Durable Objects. It covers two access paths: the hosted Sandbox Router, driven by the compute CLI or a providerOrder option on instance creation, and a direct integration that installs the computesdk and @computesdk/cloudflare packages.
The workflow is simple: create a sandbox, run a command inside it, read the output, and destroy the sandbox when finished. The skill includes a short TypeScript example that runs a Node command and prints its stdout. It also notes that the provider must be configured with a sandbox URL and API key before use, with details left to the adapter README.
Expect Node.js and TypeScript tooling, a Cloudflare sandbox deployment or hosted key, and the ComputeSDK packages. The skill defers to companion skills for the full Sandbox Router walkthrough and the general direct SDK workflow.
When your agent uses it
Cloudflare sandbox adapter for ComputeSDK. Run code in Cloudflare Containers through Workers and Durable Objects. Use for Cloudflare on the ComputeSDK Sandbox Router or @computesdk/cloudflare 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 (2 KB) on GitHub on 1 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/cloudflare-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/cloudflare-sandbox &&
cp -R "$tmp/skills/cloudflare-sandbox" ~/.claude/skills/cloudflare-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/cloudflare-sandbox inside it instead.
Copy the skill folder to ~/.agents/skills/cloudflare-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/cloudflare-sandbox &&
cp -R "$tmp/skills/cloudflare-sandbox" ~/.agents/skills/cloudflare-sandbox &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/cloudflare-sandbox inside it instead.
Copy the skill folder to ~/.cursor/skills/cloudflare-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/cloudflare-sandbox &&
cp -R "$tmp/skills/cloudflare-sandbox" ~/.cursor/skills/cloudflare-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/cloudflare-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/cloudflare-sandboxOr copy the folder to ~/.gemini/skills/cloudflare-sandbox yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cloudflare-sandbox:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cloudflare-sandbox &&
cp -R "$tmp/skills/cloudflare-sandbox" ~/.copilot/skills/cloudflare-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/cloudflare-sandbox inside it instead.
Get the folder:
git clone --depth 1 https://github.com/computesdk/computesdk.gitThen copy computesdk/skills/cloudflare-sandbox into your agent's skills folder as cloudflare-sandbox. Agents that support SKILL.md read one folder per skill.
What it does
- Hosted Sandbox Router
- Select Cloudflare as the provider through the compute CLI or a TypeScript provider order option.
- Direct SDK integration
- Install and configure the @computesdk/cloudflare adapter inside your own project.
- Command execution
- Create a sandbox, run shell commands inside it and read stdout.
- Sandbox lifecycle
- Create and destroy sandboxes so workloads are cleaned up after each run.
- Account mode selection
- Require managed or bring-your-own-key accounts when listing sandbox offers.
Good for
- Run a short Node.js script in an isolated Cloudflare sandbox
- Execute a shell command on Cloudflare without managing containers
- Set up a direct ComputeSDK integration with Cloudflare Containers
- Route sandbox runs through an organization's connected Cloudflare key
Cloudflare sandbox FAQ
What do I need to install to use Cloudflare sandbox?
The direct SDK path requires installing the computesdk and @computesdk/cloudflare npm packages, and the adapter README describes the credentials and provider setup.
Which environment variables does the example use?
The example reads CLOUDFLARE_SANDBOX_URL and CLOUDFLARE_SANDBOX_API_KEY to configure the provider.
Can I use this without writing code?
Yes, the hosted Sandbox Router path can be run from the compute CLI with a command such as compute sandboxes run --provider cloudflare.
How do I install Cloudflare sandbox in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/cloudflare-sandbox to use it in all your projects, or to .claude/skills/cloudflare-sandbox in one project.
Does Cloudflare 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 Cloudflare 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 Cloudflare sandbox?
The closest alternatives to Cloudflare sandbox are Codesandbox sandbox, Cloud run sandbox, Run cloud sandbox, Namespace sandbox and Sandbox router.
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



