agent-browser is a command-line tool that lets AI agents control web browsers for tasks such as clicking, navigation, and screenshots. Developers use it to automate browser interactions from agent workflows.
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.
npx skills add vercel-labs/agent-browser --skill coregit clone --depth 1 https://github.com/vercel-labs/agent-browserWrote 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.
[](https://agentmods.dev/skills/vercel-labs/agent-browser/core)<a href="https://agentmods.dev/skills/vercel-labs/agent-browser/core"><img src="https://agentmods.dev/badge/skills/vercel-labs/agent-browser/core/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.
<a href="https://agentmods.dev/skills/vercel-labs/agent-browser/core"><img src="https://agentmods.dev/badge/skills/vercel-labs/agent-browser/core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk warn
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 4 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00112 | $0.04361 |
| Opus 5.5 | $0.00045 | $0.01744 |
| Sonnet 5.5 | $0.00022 | $0.00872 |
| Haiku 4.5 | $0.00011 | $0.00436 |
Grade A, and why
core 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 today.
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.
Copies of this mod
3 near-identical copies found in the catalogue:
- agent-browser — 92% identical, 565 lines differ
- agent-browser — 86% identical, 489 lines differ
- core — 78% identical, 488 lines differ
How it starts
The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-browser core
agent-browser drives Chrome over CDP or Firefox over WebDriver BiDi from the command line. A snapshot returns the page's accessibility tree with a compact @eN ref for each element, and you act on those refs. This guide covers the loop and the common web tasks. Detailed flags, edge cases, and specialized workflows live in references and other skills; Load more when you need it says which one to load for what.
Pass --engine firefox when opening a session to use Firefox 150 or newer, or Zen Browser, a Gecko fork found on PATH and in standard install locations as a fallback to Firefox. See the Firefox engine guide.
Always use your own session
Before your first command, get a session name for the task. It is stable for the worktree, so running it again prints the same name:
agent-browser session id --scope worktree --prefix task # prints a name such as task-be5442ae6b6b
Pass that name with --session <name> on every command. Many agent harnesses run each command in a new shell, so an export AGENT_BROWSER_SESSION=... is gone by the next command, which then runs in the default session. Export the variable only when every command runs in the same shell.
The default unnamed session is one browser shared with every other agent on the machine, and it persists across conversations. Working in it can take over another agent's page or navigate away from something the human left open. Examples below omit --session for brevity; add it to each command.
The core loop
agent-browser open <url> # 1. Open a page
agent-browser snapshot -i # 2. See what's on it (interactive elements only)
agent-browser click @e3 # 3. Act on refs from the snapshot
agent-browser snapshot -i # 4. Re-snapshot after any page change
Refs stay valid for elements that survive a same-document update. A ref used after the page navigated to a new document, including a navigation caused by a click, fails with a "no longer loaded" error. Take a fresh snapshot after navigation or to observe page changes. back and forward are the exception: when Chrome restores a document you already snapshotted from its back/forward cache, the refs from that document still work.
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/authentication.md 15 KB
- references/commands.md 68 KB
- references/profiling.md 3.3 KB
- references/proxy-support.md 8.1 KB
- references/session-management.md 18 KB
- references/snapshot-refs.md 9.6 KB
- references/streaming.md 7.8 KB
- references/trust-boundaries.md 7.5 KB
- references/video-recording.md 8.6 KB
- references/webgpu.md 6.8 KB
- templates/authenticated-session.sh 4.8 KB runs code
- templates/capture-workflow.sh 1.8 KB runs code
- templates/form-automation.sh 2.1 KB runs code
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.
- today Changed · +1 lines c457183063a3
- 2d ago Changed · +1 lines 510b08041726
- 3d ago Changed · +1 lines a00b5f8c028b
- 8d ago Changed e34ac3cb76ee
- 9d ago Changed · +6 lines c80d11fcc3ff
- 10d ago Changed cbe96b466ccc
- 12d ago Changed e8ed63a1be67
- 13d ago Changed · +2 lines 7e27f60d2536
- 16d ago Changed · +2 lines 5c1ab70d3992
- 20d ago First seen · 263 lines · 112 tokens per session scan A b4ce4e0161f2
core is a skill published in the GitHub repository vercel-labs/agent-browser (55,345 stars, last pushed today), licensed Apache-2.0. It adds 112 tokens to every session and 4,361 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
core compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| corevercel-labs/agent-browser | Skill | 55k | today | Apache-2.0 | A | 112 | Claude Code |
| android-multiprofilechromium/chromium | Skill | 26k | today | BSD-3-Clause | A | 73 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 9d ago | MIT | A | 52 | Claude Code, Codex |
| azure-messaging-webpubsub-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 43 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | yesterday | MIT | A | 68 | Claude Code, Codex |
| open-design-browsercompozy/compozy | Skill | 2.9k | today | MIT | A | 56 | Claude Code, Codex |
| southwestborski/travel-hacking-toolkit | Skill | 1.1k | 3d ago | MIT | A | 40 | Claude Code |