vercel-sandbox

vercel-sandbox is a skill for Claude Code, Codex from unbrowse-ai/unbrowse. It costs 126 tokens per session (2,068 once invoked), scanned A, a copy of vercel-sandbox, Apache-2.0.

A way to run the agent-browser browser-automation tool and headless Chrome inside temporary Vercel Sandbox microVMs. A microVM is a small isolated virtual machine that starts for a task and then shuts down.

In plain words
What is it for?
It is for opening pages, running browser commands, taking screenshots, and keeping browser sessions for applications built with frameworks such as Next.js, SvelteKit, Nuxt, Remix, or Astro.
Why use it?
It provides a separate Linux environment for browser automation from a Vercel-deployed application without putting Chrome directly in the application's deployment bundle.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for opening pages, running browser commands, taking screenshots, and keeping browser sessions for applications built with frameworks such as Next.js, SvelteKit, Nuxt, Remix, or Astro.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unbrowse-ai/unbrowse/vercel-sandbox
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add unbrowse-ai/unbrowse --skill vercel-sandbox
Clone the repo
git clone --depth 1 https://github.com/unbrowse-ai/unbrowse

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vercel-sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/vercel-sandbox/github.svg)](https://agentmods.dev/skills/unbrowse-ai/unbrowse/vercel-sandbox)
Your own site
<a href="https://agentmods.dev/skills/unbrowse-ai/unbrowse/vercel-sandbox"><img src="https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/vercel-sandbox/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vercel-sandbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/unbrowse-ai/unbrowse/vercel-sandbox"><img src="https://agentmods.dev/badge/skills/unbrowse-ai/unbrowse/vercel-sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,068 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.02068
Opus 5.5 $0.00050 $0.00827
Sonnet 5.5 $0.00025 $0.00414
Haiku 4.5 $0.00013 $0.00207

Measured 7d ago against content hash 60efbb6cf778, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vercel-sandbox scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to vercel-sandbox — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

unbrowse-browser/skill-data/vercel-sandbox/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Browser Automation with Vercel Sandbox

Run agent-browser + headless Chrome inside ephemeral Vercel Sandbox microVMs. A Linux VM spins up on demand, executes browser commands, and shuts down. Works with any Vercel-deployed framework (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.).

Dependencies

pnpm add @agent-browser/sandbox @vercel/sandbox

The sandbox VM needs system dependencies for Chromium plus agent-browser itself. The @agent-browser/sandbox helpers install them by default for fresh sandboxes and use sandbox snapshots (below) for sub-second startup. Pass installSystemDependencies: false only when the sandbox image already provides Chromium's required libraries.

Core Pattern

import {
  createAgentBrowserSnapshot,
  runAgentBrowserCommand,
  withAgentBrowserSandbox,
  type VercelSandboxSession,
} from "@agent-browser/sandbox/vercel";

async function withBrowser<T>(
  fn: (sandbox: VercelSandboxSession) => Promise<T>,
): Promise<T> {
  return withAgentBrowserSandbox(fn);
}

Screenshot

The screenshot --json command saves to a file and returns the path. Read the file back as base64:

export async function screenshotUrl(url: string) {
  return withBrowser(async (sandbox) => {
    await runAgentBrowserCommand(sandbox, ["open", url]);

    const titleResult = await runAgentBrowserCommand<{ data?: { title?: string } }>(sandbox, [
      "get", "title",
    ]);
    const title = titleResult.json?.data?.title || url;

    const ssResult = await runAgentBrowserCommand<{ data?: { path?: string } }>(sandbox, [
      "screenshot",
    ]);
    const ssPath = ssResult.json?.data?.path;
    if (!ssPath) throw new Error("Screenshot did not return a file path.");
    const b64Result = await sandbox.runCommand("base64", ["-w", "0", ssPath]);
    const screenshot = (await b64Result.stdout()).trim();

    await runAgentBrowserCommand(sandbox, ["close"], { json: false });

    return { title, screenshot };
  });
}

Accessibility Snapshot

Read the full file on GitHub · 238 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +18 lines 60efbb6cf778
  2. 12d ago First seen · 220 lines · 126 tokens per session scan A 0ea19ce5023f

Subscribe to this mod's changes

vercel-sandbox is a skill published in the GitHub repository unbrowse-ai/unbrowse (951 stars, last pushed yesterday), licensed Apache-2.0. It adds 126 tokens to every session and 2,068 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to vercel-sandbox, differing in 0 lines, and is treated as a copy.

Related

vercel-sandbox compared with skills from other repositories

vercel-sandbox next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vercel-sandboxunbrowse-ai/unbrowseSkill951yesterdayApache-2.0A126Claude Code, Codex
transcriptapiZeroPointRepo/youtube-skillsSkill1.2k26d agoMITA110Claude Code
youtube-playlistZeroPointRepo/youtube-skillsSkill1.2k26d agoMITA64Claude Code
cross-validated-searchInternLM/WildClawBenchSkill53612d agoMITA39Claude Code, Codex
gogopowermanagerbastos/skillsSkill75d agoMITA82Codex
healthcheckSafeAI-Lab-X/ClawKeeperSkill1.0kyesterdaynoneA70Claude Code, Codex
apple-cktool-jsbastos/skillsSkill75d agoMITA141Codex