[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71JPG2HZ211C1N90EQMKXKG":3,"skill-same:01M71JPG2HZ211C1N90EQMKXKG":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":5,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M71JPG2HZ211C1N90EQMKXKG","sandbox-stable",null,"Use when building or changing Cloudflare Sandbox apps on the current stable @cloudflare\u002Fsandbox package (default npm tag)—commands, sessions, files, ports, tunnels, terminals, bridge, production, or deprecated-API cleanup while staying on stable. Not for @cloudflare\u002Fsandbox@next (use sandbox-next) or for porting to 1.0 (use sandbox-migrate-to-next).","caezium\u002Fskills","caezium","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113233555?v=4","01M71JB77ZPBAWEK009Y2W8BP7","Henry Zhang","01M71JB792NVXCWSYD27HQ0964",3,"MIT","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fsandbox-stable\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"sandbox stable","sandbox","deprecated","cloudflare sandbox","next","api","migrate","when","apps","use","package","cleanup","files","sessions","cloudflare","porting","default","for","bridge","ports","2026-11-10 10:12:30",false,"---\nname: sandbox-stable\ndescription: Use when building or changing Cloudflare Sandbox apps on the current stable @cloudflare\u002Fsandbox package (default npm tag)—commands, sessions, files, ports, tunnels, terminals, bridge, production, or deprecated-API cleanup while staying on stable. Not for @cloudflare\u002Fsandbox@next (use sandbox-next) or for porting to 1.0 (use sandbox-migrate-to-next).\n---\n\n# Sandbox SDK — stable package\n\nIsolated Linux environments on [Cloudflare Containers](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcontainers\u002F), driven from Workers.\n\n**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.\n\nThis line is the **current stable** default npm package. The main [Sandbox documentation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F) describes it. Existing apps can stay here and keep shipping.\n\nWe recommend **new projects** on `@cloudflare\u002Fsandbox@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.\n\n## 1. Gate — confirm the package line\n\nBefore writing code, inspect the app:\n\n| Check | Must match |\n| ----- | ---------- |\n| npm dependency | Default `@cloudflare\u002Fsandbox` (**not** `@next` \u002F preview tags) |\n| Container image | Matching **stable** image (not `cloudflare\u002Fsandbox:next`) |\n\n| If you find… | Action |\n| ------------ | ------ |\n| `@cloudflare\u002Fsandbox@next` or a `next` image | **Stop.** Load **`sandbox-next`**. |\n| User wants to port to 1.0 \u002F `@next` | **Stop.** Load **`sandbox-migrate-to-next`**. Do not half-apply preview APIs on a stable package. |\n| Only cleaning deprecated stable APIs | Stay here; use the [2026 deprecation guide](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F). That is **not** a move to `@next`. |\n\nNever mix a stable Worker package with an `@next` container image (or the reverse).\n\nSkills install: [Agent setup](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagent-setup\u002F) · [cloudflare\u002Fskills](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fskills)\n\n## 2. Contract — non-negotiables\n\n- `await sandbox.exec(command)` takes a **command string** and resolves when the command **finishes**, with buffered `stdout` \u002F `stderr` \u002F `exitCode` (and related fields).\n- Long-running and streaming work use the **stable** command APIs (`startProcess`, `execStream`, and related helpers)—not the `@next` single-handle model. Open the Commands docs; do not invent `@next` `output()` handles on stable.\n- **Sessions** can preserve working directory and environment across commands (default session \u002F `enableDefaultSession`, `createSession`). See Sessions docs when state must carry across calls.\n- Interactive browser terminals often use **`sandbox.terminal(request)`** and session\u002Fxterm helpers on stable—not preview `createTerminal` unless the package is `@next`.\n- Prefer **RPC** transport when using tunnels or large\u002Fbinary streaming. HTTP\u002FWebSocket transports are deprecated (cleanup guide below).\n- Files, mounts, ports, tunnels, backups, lifecycle, and interpreter: use main docs for signatures; trust installed **stable** types.\n- Non-secret config in sandbox env; live credentials in the Worker. Use outbound handlers when processes call external APIs.\n- Production preview hostnames need wildcard DNS on a custom domain when using those URL patterns.\n- Do **not** apply `@next` argv\u002F`process.output()` APIs while the dependency is still stable.\n- Self-deployed **bridge** stays on the stable package and image. [Bridge](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fbridge\u002F)\n\nMinimal shape:\n\n```ts\nimport { getSandbox, proxyToSandbox, Sandbox } from \"@cloudflare\u002Fsandbox\";\n\nexport { Sandbox };\n\nconst sandbox = getSandbox(env.Sandbox, \"user-123\");\nconst result = await sandbox.exec('python3 -c \"print(2 + 2)\"');\n\u002F\u002F result.stdout, result.exitCode, result.success\n```\n\n## 3. Retrieve — open the doc for the task\n\nFetch the page before implementing. Installed stable types win over guesses.\n\n| You need to… | Open |\n| ------------ | ---- |\n| Orient | [Sandbox overview](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F) |\n| First Worker, template, Docker | [Get started](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fget-started\u002F) |\n| `exec`, streaming, background processes | [Commands API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fcommands\u002F) · [Execute commands](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fexecute-commands\u002F) · [Background processes](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fbackground-processes\u002F) · [Streaming output](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fstreaming-output\u002F) |\n| Sessions \u002F shell state across commands | [Sessions concept](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconcepts\u002Fsessions\u002F) · [Sessions API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fsessions\u002F) |\n| `getSandbox` options, sleep, destroy | [Lifecycle API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Flifecycle\u002F) · [Sandbox options](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconfiguration\u002Fsandbox-options\u002F) |\n| Env vars | [Environment variables](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconfiguration\u002Fenvironment-variables\u002F) |\n| Files | [Files API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Ffiles\u002F) · [Manage files](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fmanage-files\u002F) · [File watching](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Ffile-watching\u002F) |\n| Buckets \u002F mounts | [Storage API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fstorage\u002F) · [Mount buckets](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fmount-buckets\u002F) |\n| Backups | [Backups API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fbackups\u002F) · [Backup and restore](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fbackup-restore\u002F) |\n| Ports, preview URLs, expose | [Ports API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fports\u002F) · [Expose services](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fexpose-services\u002F) |\n| Tunnels | [Tunnels API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Ftunnels\u002F) |\n| Proxy \u002F Workers connections | [Proxy requests](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fproxy-requests\u002F) · [Workers connections](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fworkers-connections\u002F) |\n| Browser \u002F PTY terminal | [Terminal API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fterminal\u002F) · [Terminal concept](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconcepts\u002Fterminal\u002F) · [Browser terminals](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fbrowser-terminals\u002F) |\n| Code interpreter | [Interpreter API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Finterpreter\u002F) · [Code execution](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fcode-execution\u002F) |\n| Git in the sandbox | [Git workflows](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fgit-workflows\u002F) |\n| Secrets \u002F egress | [Outbound traffic](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Foutbound-traffic\u002F) |\n| WebSockets | [WebSocket connections](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fwebsocket-connections\u002F) |\n| Docker-in-Docker | [Docker in Docker](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fdocker-in-docker\u002F) |\n| Production deploy | [Production deployment](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fproduction-deployment\u002F) |\n| Containers concept | [Containers](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconcepts\u002Fcontainers\u002F) |\n| How-to index | [Guides](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F) |\n| API index | [API reference](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002F) |\n| Deprecated APIs **while staying on stable** | [2026 deprecation guide](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F) |\n| Self-deployed bridge | [Bridge](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fbridge\u002F) · [Bridge HTTP API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fbridge\u002Fhttp-api\u002F) |\n| Examples (stable\u002F`main`) | [examples on GitHub](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fsandbox-sdk\u002Ftree\u002Fmain\u002Fexamples) |\n| New work on 1.0 preview | **`sandbox-next`** · [1.0 preview](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002F) |\n| Port existing app to `@next` | **`sandbox-migrate-to-next`** · [Migrate](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fmigrate\u002F) |\n\n### Deprecated-API cleanup (stay on stable)\n\nUpdate package + matching image first, then follow the guide. Typical search:\n\n```sh\nrg 'SANDBOX_TRANSPORT|transport:|exposePort\\(|enableDefaultSession|execStream\\(|readFileStream|writeFileStream'\n```\n\nThis path does **not** switch you to `@next`.\n\n## 4. Before you ship\n\n- Worker package and container image on the **same stable** line  \n- Typecheck against installed stable types  \n- No live secrets in sandbox env  \n- If using deprecated transports\u002Fhelpers, finish or track [2026 deprecation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F) cleanup  \n- When the team is ready for 1.0, use **`sandbox-migrate-to-next`**—do not force cutover unprompted  \n","# Sandbox SDK — stable package\n\nIsolated Linux environments on [Cloudflare Containers](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcontainers\u002F), driven from Workers.\n\n**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.\n\nThis line is the **current stable** default npm package. The main [Sandbox documentation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F) describes it. Existing apps can stay here and keep shipping.\n\nWe recommend **new projects** on `@cloudflare\u002Fsandbox@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.\n\n## 1. Gate — confirm the package line\n\nBefore writing code, inspect the app:\n\n| Check | Must match |\n| ----- | ---------- |\n| npm dependency | Default `@cloudflare\u002Fsandbox` (**not** `@next` \u002F preview tags) |\n| Container image | Matching **stable** image (not `cloudflare\u002Fsandbox:next`) |\n\n| If you find… | Action |\n| ------------ | ------ |\n| `@cloudflare\u002Fsandbox@next` or a `next` image | **Stop.** Load **`sandbox-next`**. |\n| User wants to port to 1.0 \u002F `@next` | **Stop.** Load **`sandbox-migrate-to-next`**. Do not half-apply preview APIs on a stable package. |\n| Only cleaning deprecated stable APIs | Stay here; use the [2026 deprecation guide](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F). That is **not** a move to `@next`. |\n\nNever mix a stable Worker package with an `@next` container image (or the reverse).\n\nSkills install: [Agent setup](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fagent-setup\u002F) · [cloudflare\u002Fskills](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fskills)\n\n## 2. Contract — non-negotiables\n\n- `await sandbox.exec(command)` takes a **command string** and resolves when the command **finishes**, with buffered `stdout` \u002F `stderr` \u002F `exitCode` (and related fields).\n- Long-running and streaming work use the **stable** command APIs (`startProcess`, `execStream`, and related helpers)—not the `@next` single-handle model. Open the Commands docs; do not invent `@next` `output()` handles on stable.\n- **Sessions** can preserve working directory and environment across commands (default session \u002F `enableDefaultSession`, `createSession`). See Sessions docs when state must carry across calls.\n- Interactive browser terminals often use **`sandbox.terminal(request)`** and session\u002Fxterm helpers on stable—not preview `createTerminal` unless the package is `@next`.\n- Prefer **RPC** transport when using tunnels or large\u002Fbinary streaming. HTTP\u002FWebSocket transports are deprecated (cleanup guide below).\n- Files, mounts, ports, tunnels, backups, lifecycle, and interpreter: use main docs for signatures; trust installed **stable** types.\n- Non-secret config in sandbox env; live credentials in the Worker. Use outbound handlers when processes call external APIs.\n- Production preview hostnames need wildcard DNS on a custom domain when using those URL patterns.\n- Do **not** apply `@next` argv\u002F`process.output()` APIs while the dependency is still stable.\n- Self-deployed **bridge** stays on the stable package and image. [Bridge](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fbridge\u002F)\n\nMinimal shape:\n\n```ts\nimport { getSandbox, proxyToSandbox, Sandbox } from \"@cloudflare\u002Fsandbox\";\n\nexport { Sandbox };\n\nconst sandbox = getSandbox(env.Sandbox, \"user-123\");\nconst result = await sandbox.exec('python3 -c \"print(2 + 2)\"');\n\u002F\u002F result.stdout, result.exitCode, result.success\n```\n\n## 3. Retrieve — open the doc for the task\n\nFetch the page before implementing. Installed stable types win over guesses.\n\n| You need to… | Open |\n| ------------ | ---- |\n| Orient | [Sandbox overview](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F) |\n| First Worker, template, Docker | [Get started](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fget-started\u002F) |\n| `exec`, streaming, background processes | [Commands API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fcommands\u002F) · [Execute commands](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fexecute-commands\u002F) · [Background processes](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fbackground-processes\u002F) · [Streaming output](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fstreaming-output\u002F) |\n| Sessions \u002F shell state across commands | [Sessions concept](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconcepts\u002Fsessions\u002F) · [Sessions API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fsessions\u002F) |\n| `getSandbox` options, sleep, destroy | [Lifecycle API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Flifecycle\u002F) · [Sandbox options](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconfiguration\u002Fsandbox-options\u002F) |\n| Env vars | [Environment variables](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconfiguration\u002Fenvironment-variables\u002F) |\n| Files | [Files API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Ffiles\u002F) · [Manage files](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fmanage-files\u002F) · [File watching](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Ffile-watching\u002F) |\n| Buckets \u002F mounts | [Storage API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fstorage\u002F) · [Mount buckets](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fmount-buckets\u002F) |\n| Backups | [Backups API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fbackups\u002F) · [Backup and restore](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fbackup-restore\u002F) |\n| Ports, preview URLs, expose | [Ports API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fports\u002F) · [Expose services](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fexpose-services\u002F) |\n| Tunnels | [Tunnels API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Ftunnels\u002F) |\n| Proxy \u002F Workers connections | [Proxy requests](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fproxy-requests\u002F) · [Workers connections](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fworkers-connections\u002F) |\n| Browser \u002F PTY terminal | [Terminal API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Fterminal\u002F) · [Terminal concept](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconcepts\u002Fterminal\u002F) · [Browser terminals](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fbrowser-terminals\u002F) |\n| Code interpreter | [Interpreter API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002Finterpreter\u002F) · [Code execution](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fcode-execution\u002F) |\n| Git in the sandbox | [Git workflows](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fgit-workflows\u002F) |\n| Secrets \u002F egress | [Outbound traffic](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Foutbound-traffic\u002F) |\n| WebSockets | [WebSocket connections](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fwebsocket-connections\u002F) |\n| Docker-in-Docker | [Docker in Docker](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fdocker-in-docker\u002F) |\n| Production deploy | [Production deployment](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002Fproduction-deployment\u002F) |\n| Containers concept | [Containers](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fconcepts\u002Fcontainers\u002F) |\n| How-to index | [Guides](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F) |\n| API index | [API reference](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fapi\u002F) |\n| Deprecated APIs **while staying on stable** | [2026 deprecation guide](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F) |\n| Self-deployed bridge | [Bridge](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fbridge\u002F) · [Bridge HTTP API](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fbridge\u002Fhttp-api\u002F) |\n| Examples (stable\u002F`main`) | [examples on GitHub](https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fsandbox-sdk\u002Ftree\u002Fmain\u002Fexamples) |\n| New work on 1.0 preview | **`sandbox-next`** · [1.0 preview](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002F) |\n| Port existing app to `@next` | **`sandbox-migrate-to-next`** · [Migrate](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002F1-0-preview\u002Fmigrate\u002F) |\n\n### Deprecated-API cleanup (stay on stable)\n\nUpdate package + matching image first, then follow the guide. Typical search:\n\n```sh\nrg 'SANDBOX_TRANSPORT|transport:|exposePort\\(|enableDefaultSession|execStream\\(|readFileStream|writeFileStream'\n```\n\nThis path does **not** switch you to `@next`.\n\n## 4. Before you ship\n\n- Worker package and container image on the **same stable** line  \n- Typecheck against installed stable types  \n- No live secrets in sandbox env  \n- If using deprecated transports\u002Fhelpers, finish or track [2026 deprecation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fsandbox\u002Fguides\u002F2026-deprecation\u002F) cleanup  \n- When the team is ready for 1.0, use **`sandbox-migrate-to-next`**—do not force cutover unprompted  \n",{"name":5,"description":7},"main","6ef866230c1ba3459fd08fc65141dfd37fffd41a",0,"https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills","https:\u002F\u002Fskills.henryzh.dev","https:\u002F\u002Fgithub.com\u002Fcaezium","henryzh.dev","quant, data science, full-stack, robotics.\r\nbuilding cool stuff","2026-08-24 19:21:44",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add caezium\u002Fskills --skill sandbox-stable",{"tool":59,"command":60},"bunx","bunx skills add caezium\u002Fskills --skill sandbox-stable",{"tool":62,"command":63},"pnpm","pnpm dlx skills add caezium\u002Fskills --skill sandbox-stable","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fsandbox-stable\u002FSKILL.md",true,[],[68,79,103,121,142,164],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":39},"01M71JT4RYCAS18RF6003YYR1D","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FSKILL.md",[],[75,36,76,77,28,78,26],"writing for agents","writing","editing","documents",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":39},"01M71JT0GES4AZ5ADH8EADNN1Z","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwrangler\u002FSKILL.md",[],[81,33,86,87,88,89,90,91,92,93,94,95,96,36,97,98,99,100,101,102],"d1","knowledge","workflows","cli","secrets","commands","syntax","cloudflare workers","r2","queues","running","containers","correct","load","workers","best practices","store",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":39},"01M71JSWX4R203M32K9A18AAW8","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fworkers-best-practices\u002FSKILL.md",[],[110,100,101,111,112,113,36,33,114,87,115,81,76,99,26,116,117,118,119,120],"workers best practices","observability","reviews","promises","worker","new","code","common","streaming","state","anti-patterns",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":39},"01M71JST6P88MXGT2MWDTPJGEG","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwizard\u002FSKILL.md",[],[123,96,128,36,129,130,131,132,28,133,26,134,135,136,137,138,139,140,141,90],"setting","up","ci","provisioning infrastructure","only","invoke","Bash","one","interactive","can","credentials","dashboard","generate","human",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":146,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":39},"01M71JSQ95S7BQ61DAPN95X2W4","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available evidence sources, searches each relevant category, and returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwhy\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwhy\u002FSKILL.md",[],[144,150,151,152,153,36,154,155,28,156,157,158,159,160,161,162,163],"sources","thresholds","evidence","relevant","runtime","design","decisions","work","how","behavior","read","data","rationale","returns",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":39},"01M71JSMHFVSH8HK8GXN6YAX6J","week-prep","Generate a briefing with calendar, tasks, and attention flags. Use for \"week prep\", \"briefing\", or \"what's on this week\".","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fweek-prep\u002FSKILL.md",[],[171,172,173,174,175,36,176,177,178,179,28,134,180,181,182,140,183,160,184,185],"week prep","prep","deep","attention","get","search","messages","briefing","MCP","tasks","with","slack","calendar","flags","grep"]