Skill

Sandbox SDK

Skill

Run untrusted code on Workers, officially.

Cloudflare’s Sandbox SDK skill. Isolated execution for the agent that must run what it just wrote.

spec·Apache-2.0·Updated this quarter·github.com/cloudflare/skills

Claude CodeCursorDesktop
Scanned
npx skills add cloudflare/sandbox-sdk

By Cloudflare

Input

Code the agent should not run on the host.

Output

A sandbox invocation.

cf-sandbox.skill/invoke

You say

Run the user’s snippet.

It returns

Sandbox binding. Timeout 2s. No network.

Prompt notebook

Prompts this skill is built for.

  • You say

    Run the user’s snippet.

    It returns

    Sandbox binding. Timeout 2s. No network.

  • You say

    Can it install a package?

    It returns

    No. Ship the runtime you allow.

What it teaches

  1. 01Isolate
  2. 02Execute
  3. 03Limits