SkillsReviewed · fcakyon

sandbox-next: Cloudflare Sandbox preview skill

sandbox-next is an instruction pack for coding assistants helping developers build Cloudflare Sandbox apps, and it applies only to the changing 1.0 preview SDK. It explains matching package and container versions, process handles, credential boundaries and where to find task-specific documentation.

Researched 16 Nov 2026

In short.

sandbox-next is a coding-assistant skill for developers building Cloudflare Sandbox apps, with guidance restricted to the changing 1.0 preview SDK. Its strongest material explains process handles, independent command launches, cancellation and keeping credentials outside sandbox environments. It supplies reference links and a small code example, but no complete application or demonstrated runtime results. Current compatibility with an installed SDK is unknown, and nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied sandbox-next folder at commit 4357525298c7e450d27aed54321af33d693d9146: SKILL.md and the three references api-quick-ref.md, examples.md and skill-feedback.md, plus the repository LICENSE above the folder. Other repository content, sibling skills, linked documentation, SDK implementations and external example applications are excluded. Nothing was executed; installation, typechecking, runtime compatibility, deployment behavior, security properties and operating costs remain unassessed.

The overview

identity

sandbox-next supplies instructions that a coding assistant can load when building or maintaining Cloudflare Sandbox applications. It describes isolated Linux environments running on Cloudflare Containers and controlled from Workers.

The resource is the sandbox-next folder in fcakyon/claude-codex-settings, containing SKILL.md and three reference files. Its repository location is [https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/cloudflare-skills/skills/sandbox-next].

assessment

This is a useful reference for developers who have chosen the preview SDK and want their assistant to handle its execution model consistently. Concrete distinctions include receiving a process handle before a command finishes, explicitly launching a shell when needed, and treating local cancellation separately from stopping a remote process.

Its usefulness depends on checking the installed preview types and current documentation. The files provide instructions and navigation, without evidence that an assistant reliably follows them or that the sample works with a particular installed release.

users

The intended users are developers starting preview-based Sandbox projects or maintaining applications already on that line. Beginners receive a compact explanation of common pitfalls, but still need the linked setup documentation to configure an application. Experienced developers get specific constraints around process state, readiness, lifecycle and credentials.

The captured skill directs stable applications to sandbox-stable and stable-to-preview migrations to sandbox-migrate-to-next. It also states that self-deployed bridge deployments remain on stable at this revision.

capabilities

The skill explains command launching, output collection, logs, readiness waits, process termination and interactive terminals. Its reference map points to documentation for interpreters, lifecycle, environment settings, error recovery, files, mounts, backups, ports, tunnels and service exposure. These are guidance topics; the folder does not implement those SDK features.

The examples index points to basic Workers, interpreters, agent harnesses, collaborative terminals, S3 mounts and authentication on the SDK's next branch. A separate feedback reference describes reporting skill defects through public GitHub issues, with sensitive information removed and the exact proposed issue approved before posting.

Using it

requirements

For application development, the source expects @cloudflare/sandbox@next or another preview tag and a container image from the matching line, such as cloudflare/sandbox:next or next-python. It warns against combining a preview Worker package with a stable container image, or the reverse.

The guidance also depends on installed SDK types and access to the relevant Cloudflare documentation. Exact supported package versions, assistant compatibility, runtime versions and Cloudflare account requirements are not established by the supplied files.

mechanism

The instructions first distinguish the package line, then explain the preview API contract and direct the assistant to task-specific documentation. Under that contract, sandbox.exec accepts an argument array and resolves when the process starts. The returned handle supports output, logs, exit and readiness waits, and termination. Shell syntax requires an explicit shell invocation.

Each launch has independent state, so a previous launch's cd or export does not carry forward; working directory and environment must be supplied per launch or within one shell script. Process handles have no stdin, while interactive work uses terminals. Local wait timeouts and AbortSignal cancellation stop waiting without killing the process.

Inspection methods do not start a container, and process or terminal identifiers belong to the current container. For work that must survive container replacement, the source recommends retaining the full job definition and application state. Live credentials stay in the Worker, with outbound handlers used for external API calls.

setup

The described preparation is to inspect the dependency and container image, confirm both use the preview line, retrieve the documentation for the task and check signatures against installed types. Before deployment, the source calls for agreement between the lockfile and Dockerfile, typechecking and keeping live secrets out of sandbox environment variables.

For production preview URL patterns that require them, the source specifies wildcard DNS on a custom domain. It links to Cloudflare's agent setup documentation at [https://developers.cloudflare.com/agent-setup/index.md], but the supplied files do not provide a complete assistant installation procedure, Wrangler configuration or Dockerfile.

example

The included TypeScript example obtains a sandbox with getSandbox(env.Sandbox, "user-123"), then awaits sandbox.exec(["python3", "-c", "print(2 + 2)"]). It subsequently calls process.output({ encoding: "utf8" }) to collect a result exposing stdout and exitCode.

This illustrates the separate steps of launching a process and collecting its result. It assumes an available Sandbox binding and Python executable; their configuration is outside the snippet. The example was not executed, and no runtime output is established.

Assessment & evidence

limitations

The package gate and API rules are written instructions, without an included automatic enforcement mechanism. The folder supplies no complete deployable application, benchmark, compatibility matrix or runtime validation. The examples reference contains pointers rather than the example implementations.

Many differently labelled documentation links lead to the same Sandbox overview URL. The supplied evidence therefore does not establish whether those destinations provide the specific preview signatures needed for each task. Stable-only APIs such as session execution, core gitCheckout and sandbox.terminal(request) are explicitly excluded by the skill. Its credential guidance is not evidence of an audited security boundary.

reasoning

The practical value comes from making distinctions that affect application behavior. Confusing process startup with completion can lead to incorrect result handling. Assuming cancellation kills a process can leave work running. Reusing container-specific identifiers after replacement can break recovery. These are implications of the documented contract, rather than observed failures.

The focus on package and image alignment also gives developers a concrete compatibility question to resolve before using the instructions. Actual reliability improvements, development-time savings and security outcomes are unknown.

alternatives

The source names sandbox-stable for the default package line and sandbox-migrate-to-next for porting existing stable applications. Their contents are outside the supplied evidence, so their quality and completeness are unknown.

Developers can also consult the linked Cloudflare documentation directly at [https://developers.cloudflare.com/sandbox/index.md] and inspect preview examples at [https://github.com/cloudflare/sandbox-sdk/tree/next/examples]. Those external pages and implementations were not assessed here.

evidence

The supplied source comprises SKILL.md, references/api-quick-ref.md, references/examples.md and references/skill-feedback.md, together with the repository-level LICENSE. All are tied to commit 4357525298c7e450d27aed54321af33d693d9146 in fcakyon/claude-codex-settings.

The immutable main-file address is [https://raw.githubusercontent.com/fcakyon/claude-codex-settings/4357525298c7e450d27aed54321af33d693d9146/plugins/cloudflare-skills/skills/sandbox-next/SKILL.md]. These files establish the skill's documented instructions and licence, while linked documentation, installed SDK types and application behavior remain unassessed.

Access & freshness

costs

The Apache 2.0 licence grants no-charge rights to the covered material, subject to its conditions. This does not establish the cost of running a Sandbox application. Cloudflare service prices, account or plan requirements, assistant subscriptions and total operating costs are unknown from the supplied files.

rights

SKILL.md declares Apache-2.0, supported by the repository's Apache License 2.0 text at the same source revision. The licence permits use, modification and redistribution, including commercial use, subject to its terms.

Redistribution requires a licence copy and preservation of applicable notices. Modified files require prominent change notices, and applicable NOTICE attributions must be retained if present. The licence includes a conditional contributor patent grant, provides no general trademark permission and disclaims warranties. Separate terms for linked SDK code, examples and hosted services were not assessed.

freshness

The supplied snapshot was captured on 16 November 2026 at 11:27:06.338 UTC. This establishes the snapshot date, not when the skill was authored or last updated.

The source describes the SDK as a 1.0 preview and uses moving @next tags and next-branch references. It does not establish a precise installed package version or current compatibility. Its instruction to prefer installed types reflects that changing interface.

actions

Before adopting the skill, identify the application's package and container-image versions, confirm that preview guidance applies, and compare the relevant APIs with installed types and current documentation. Use a small process-output example to validate completion handling before adding terminals, interpreters or exposed services.

Review cancellation and recovery behavior, keep live credentials in the Worker, and check domain requirements when using production preview URLs. For stable applications, migrations or bridge deployments, first establish which separate guidance applies to the actual deployment.

Evidence for this report

LICENSEnotice · checked 2026-11-16