Tooluck logoTooluck
SKILL.md

sandbox-next

Agent skill fromfcakyon/claude-codex-settings

Build or maintain Cloudflare Sandbox apps on @cloudflare/sandbox@next (SDK 1.0 preview). Use sandbox-migrate-to-next when porting a stable app.

How to install sandbox-next

install sandbox-next
# install the claude-codex-settings pack with the skills CLI
npx skills add fcakyon/claude-codex-settings

# or add only this skill to Claude Code: copy the folder

plugins/cloudflare-skills/skills/sandbox-next/

# into

~/.claude/skills/sandbox-next/ (all projects)

.claude/skills/sandbox-next/ (one project)

plugins/cloudflare-skills/skills/sandbox-next/SKILL.md

Apache-2.0Full file
1# Sandbox SDK — `@next` (1.0 preview)
2
3Isolated Linux environments on [Cloudflare Containers](https://developers.cloudflare.com/containers/index.md), driven from Workers.
4
5**Prefer preview docs and installed `@next` types over memory.** APIs change; this skill is a gate, a contract, and a retrieval map—not a full manual.
6
7We recommend **new projects** on this line. Apps still on the default package use **`sandbox-stable`**. Port only when asked, via **`sandbox-migrate-to-next`**.
8
9## 1. Gate — confirm the package line
10
11Before writing code, inspect the app:
12
13| Check | Must match |
14| ----- | ---------- |
15| npm dependency | `@cloudflare/sandbox@next` (or another preview tag) |
16| Container image | Same line (e.g. `cloudflare/sandbox:next`, `next-python`) |
17
18| If you find… | Action |
19| ------------ | ------ |
20| Default `@cloudflare/sandbox` (no `@next`) | **Stop.** Load **`sandbox-stable`**. Do not apply this skill’s APIs. |
21| User wants to port stable → `@next` | **Stop.** Load **`sandbox-migrate-to-next`**. |
22| Self-deployed **bridge** only | Bridge is **not** on the 1.0 preview line yet. Keep bridge on stable package + image. [Bridge (stable)](https://developers.cloudflare.com/sandbox/sdk/bridge/index.md) |
23
24Never mix an `@next` Worker package with a stable container image (or the reverse).
25
26Skills install: [Agent setup](https://developers.cloudflare.com/agent-setup/index.md) · [cloudflare/skills](https://github.com/cloudflare/skills)
27
28## 2. Contract — non-negotiables
29…

Excerpt shown under the repository's Apache-2.0 license.

More skills in claude-codex-settings

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates