sandbox-stable
Agent skill fromfcakyon/claude-codex-settings
Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox package. Use sandbox-next for preview apps and sandbox-migrate-to-next for stable-to-preview migrations.
How to install sandbox-stable
install sandbox-stable
# 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-stable/
# into
~/.claude/skills/sandbox-stable/ (all projects)
.claude/skills/sandbox-stable/ (one project)
1# Sandbox SDK — stable package23Isolated Linux environments on [Cloudflare Containers](https://developers.cloudflare.com/containers/index.md), driven from Workers.45**Prefer the main Sandbox docs and installed stable types over memory.** This skill is a gate, a contract, and a retrieval map—not a full manual.67This line is the **current stable** default npm package. The main [Sandbox documentation](https://developers.cloudflare.com/sandbox/index.md) describes it. Existing apps can stay here and keep shipping.89We recommend **new projects** on `@cloudflare/sandbox@next` with **`sandbox-next`**. When you can, plan a move with **`sandbox-migrate-to-next`** so you are ready when 1.0 becomes the stable release. Do not force that port unless the user asks.1011## 1. Gate — confirm the package line1213Before writing code, inspect the app:1415| Check | Must match |16| ----- | ---------- |17| npm dependency | Default `@cloudflare/sandbox` (**not** `@next` / preview tags) |18| Container image | Matching **stable** image (not `cloudflare/sandbox:next`) |1920| If you find… | Action |21| ------------ | ------ |22| `@cloudflare/sandbox@next` or a `next` image | **Stop.** Load **`sandbox-next`**. |23| User wants to port to 1.0 / `@next` | **Stop.** Load **`sandbox-migrate-to-next`**. Do not half-apply preview APIs on a stable package. |24…
Excerpt shown under the repository's Apache-2.0 license.
