Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Integrations

Sandbox @next: verify the SDK line before using process handles

Align preview package/image and implement the exec(argv) handle lifecycle.

Skills

Verify the dependency is `@cloudflare/sandbox@next` (or a preview tag) and the Container image matches. Stable apps use `sandbox-stable`; migrations use `sandbox-migrate-to-next`. Read current preview docs and installed types: `exec(argv)` returns a started-process handle; use output, waitForPort/waitForExit, and kill as needed. Argv is literal, not an implicit shell; wait timeout only ends observation. Test long processes, terminals/interpreter, and timeout boundaries. Isolate users with separate Sandbox IDs and keep production secrets in the Worker.

Permissions

Prerequisites

Permissions

Limitations

Gate on matching preview package/image; exec returns a handle, not the result; keep live secrets out of untrusted containers.

Pinned upstream source

https://github.com/cloudflare/skills/blob/53395984c3ea1925d00fce03b266112302f050e6/skills/sandbox-next/SKILL.md

Repository
cloudflare/skills
File path
skills/sandbox-next/SKILL.md
Pinned commit
53395984c3ea1925d00fce03b266112302f050e6
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: Apache-2.0

Compatible tools

@cloudflare/sandbox@next · Sandbox process/terminal APIs · Cloudflare Containers

View skill directory

Main topic

Take a coding Agent change from context to verification

Related resources