Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

vercel-sandbox

Skill by vercel-labs

Vercel Sandbox runs agent-browser and headless Chrome inside microVMs for browser automation. It is for developers building browser tasks into apps deployed on Vercel.

  • Score 91
  • 55k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install vercel-sandbox

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel-labs/agent-browser /tmp/agent-browser && mkdir -p ~/.claude/skills && cp -r /tmp/agent-browser/skill-data/vercel-sandbox ~/.claude/skills/vercel-sandbox

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install vercel-sandbox in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill runs agent-browser and headless Chrome inside ephemeral Vercel Sandbox microVMs. A Linux VM starts on demand, runs browser commands, and shuts down. It works with any Vercel-deployed framework, including Next.js, SvelteKit, Nuxt, Remix and Astro.

The skill includes code patterns for screenshots, accessibility snapshots, multi-step form workflows and scheduled cron jobs. It also covers an MCP mode that keeps one agent-browser process running over stdin. Sandbox snapshots can cut startup from about 30 seconds to under a second. The sandbox keeps state between commands, so a full session can run in one VM. It suits developers who need browser automation inside a Vercel app.

Written from the project's SKILL.md and checked against it.

What it can do

  • ScreenshotsOpens a URL, saves a screenshot and returns it as base64 with the page title.
  • Accessibility snapshotReturns an interactive accessibility snapshot of a page using the snapshot command.
  • Multi-step workflowsRuns sequences such as opening a page, filling fields, clicking and waiting in one sandbox.
  • MCP server over stdinKeeps one agent-browser mcp process running and sends tool calls over stdin, using agent_browser_open and agent_browser_snapshot.
  • Sandbox snapshotsBoots sandboxes from a saved image with dependencies and Chromium preinstalled for fast startup.
  • Scheduled browser tasksCombines browser runs with Vercel Cron Jobs for recurring checks such as pricing page snapshots.

What you need

  • A Vercel account and a Vercel-deployed app
  • Vercel personal access token, team ID and project ID for local development
  • @vercel/sandbox 3.7 or later for MCP stdin mode
  • pnpm to install the dependencies

Try asking

  • Take a screenshot of example.com using my Vercel app's browser sandbox
  • Get an accessibility snapshot of our pricing page in a Vercel Sandbox
  • Fill and submit a contact form on a site using agent-browser in a sandbox

Good to know

  • Without a sandbox snapshot, each run takes about 30 seconds to install dependencies and Chromium
  • The timeout option in MCP mode applies to each request and to close()
  • Pass installSystemDependencies as false only when the image already has Chromium's libraries

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skill-data/vercel-sandbox/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to vercel-sandbox

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

vercel-sandbox: common questions

Does Vercel Sandbox browser automation need a sandbox snapshot?

No, but the source recommends one for production. Without it, each run installs system dependencies, agent-browser and Chromium, which takes about 30 seconds. With AGENT_BROWSER_SNAPSHOT_ID set, startup is sub-second.

How does authentication work for Vercel Sandbox browser runs?

On Vercel deployments the Sandbox SDK authenticates automatically through OIDC. For local development, set VERCEL_TOKEN, VERCEL_TEAM_ID and VERCEL_PROJECT_ID.

Which frameworks does the agent-browser sandbox pattern support?

The source says the pattern works the same across Next.js, SvelteKit, Nuxt, Remix and Astro. Only the location of the server-side code changes.

How do I install vercel-sandbox?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is vercel-sandbox free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is vercel-sandbox safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, 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 vercel-sandbox?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

vercel-sandbox Install

Add to stack

Loading.