
This wraps Vercel's Firecracker microVM service for running untrusted code in ephemeral, isolated environments. The skill covers the full pattern: spinning up a sandbox, installing dependencies (including system libs for Chromium), running commands, and tearing it down. The browser automation examples are solid and show real use cases like screenshots, accessibility snapshots, and multi-step form workflows. The snapshot feature is the performance trick here: pre-bake your dependencies into a VM image so cold starts drop to under a second instead of waiting through package installs every time. Reach for this when you need to execute user-generated code, run AI agent tools safely, or automate headless browsers without trusting the input.
$ npx -y skills add vercel/vercel-plugin --skill vercel-sandbox --agent claude-codeInstalls into .claude/skills of the current project.
@vercel/sandbox DocumentationYour knowledge of @vercel/sandbox may be outdated.
Follow these instructions before starting on any sandbox-related tasks:
The @vercel/sandbox@2 SDK and sandbox@3 CLI replace anonymous, ephemeral
sandboxes with named, persistent sandboxes. Key differences from v1:
Sponsors