sandbox-stable
Skill by midudev
Guides building and maintaining Cloudflare Sandbox apps on the stable @cloudflare/sandbox npm package. It is for developers with existing or new projects on that stable line. Preview 1.0 and stable-to-preview migration work is routed to other skills.
Install sandbox-stable
Built from the published package, never by AI.
git clone --depth 1 https://github.com/midudev/autoskills /tmp/autoskills && mkdir -p ~/.claude/skills && cp -r /tmp/autoskills/packages/autoskills/skills-registry/sandbox-stable ~/.claude/skills/sandbox-stableRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/midudev/autoskills /tmp/autoskills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/autoskills/packages/autoskills/skills-registry/sandbox-stable ~/.gemini/antigravity-cli/skills/sandbox-stableAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide for working with the stable @cloudflare/sandbox npm package. The package provides isolated Linux environments on Cloudflare Containers, driven from Workers. Before writing code, it checks that the npm dependency and the container image are both on the stable line, and it stops if it finds an @next tag or image. It tells the assistant to prefer the main Sandbox docs and the installed stable types over memory.
It covers the stable command contract, where exec takes a command string and resolves when the command finishes with stdout, stderr and exitCode. It also maps tasks to documentation pages for commands, sessions, files, storage, backups, ports, tunnels, terminals, the code interpreter and git. It includes a search pattern for cleaning up deprecated stable APIs. It is for developers who keep an app on the stable package. The source recommends that new projects use sandbox-next, and that existing apps move with sandbox-migrate-to-next when the team is ready.
Written from the project's SKILL.md and checked against it.
What it can do
- Package line gateChecks that the npm dependency and container image both match the stable line before coding.
- Command contractExplains that exec takes a command string and resolves with stdout, stderr and exitCode.
- Streaming and background workPoints to stable command APIs such as startProcess and execStream for long-running tasks.
- SessionsDescribes keeping working directory and environment across commands with sessions.
- Documentation retrieval mapLinks tasks such as files, ports, tunnels, backups and terminals to the matching docs pages.
- Deprecated API cleanupGives a search pattern and the 2026 deprecation guide for staying on the stable package.
- Preview routingSends 1.0 preview work to sandbox-next and stable-to-preview moves to sandbox-migrate-to-next.
What you need
- Cloudflare Workers
- Cloudflare Containers
- npm package @cloudflare/sandbox on the stable line
- Matching stable container image
Try asking
- Build a Worker that runs a Python script in a Cloudflare Sandbox
- Check my project for deprecated stable Sandbox APIs to clean up
- Add a streaming background process to my stable Sandbox app
Good to know
- Covers the stable line only; 1.0 preview work uses sandbox-next instead.
- HTTP and WebSocket transports are deprecated; RPC is preferred for tunnels and large or binary streams.
- Do not mix a stable Worker package with an @next container image.
- Does not force migration to 1.0 unless the user asks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/autoskills/skills-registry/sandbox-stable/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to sandbox-stable
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sandbox-stable: common questions
Should new Cloudflare Sandbox projects use this skill?
The source recommends that new projects use @cloudflare/sandbox@next with sandbox-next. Existing apps can stay on the stable package and keep shipping.
What does sandbox.exec return?
The source says exec takes a command string and resolves when the command finishes. It returns buffered stdout, stderr and exitCode, along with related fields.
Are HTTP transports still supported?
The source says HTTP and WebSocket transports are deprecated. It recommends RPC transport when using tunnels or large or binary streaming.
How do I install sandbox-stable?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sandbox-stable free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is sandbox-stable safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sandbox-stable?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
