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 modern-web-guidancegit 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/modern-web-guidance)<a href="https://agentmods.dev/skills/vercel-labs/agent-browser/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/vercel-labs/agent-browser/modern-web-guidance/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/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/vercel-labs/agent-browser/modern-web-guidance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00123 | $0.02258 |
| Opus 5.5 | $0.00049 | $0.00903 |
| Sonnet 5.5 | $0.00025 | $0.00452 |
| Haiku 4.5 | $0.00012 | $0.00226 |
Grade A, and why
modern-web-guidance 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modern Web Guidance
Modern Web Guidance is a set of guides from Chrome that describe how to build common UI with current web platform features, including Baseline compatibility data. Its CLI returns guidance and can statically scan source files for legacy patterns. It does not load or run the page, so it cannot tell you whether the result works.
Use Modern Web Guidance to decide what to write and agent-browser to check the built page in Chrome. Finish only after every rule you applied has a browser check with recorded evidence.
Get the guidance
Search for the task, then retrieve the guides that match. You do not need to install anything; npx runs the CLI directly.
npx modern-web-guidance@latest search "animate a dialog"
# [{"id":"animate-to-from-top-layer","description":"Animate elements such as dialogs, popovers, and tooltips as they're entering/exiting the top layer."}, ...]
npx modern-web-guidance@latest retrieve "dialog"
npx modern-web-guidance@latest retrieve "dialog,animate-to-from-top-layer"
npx modern-web-guidance@latest list
retrieve accepts one ID or several comma-separated IDs. When the text is larger than 9,500 bytes and standard output is not a file, the CLI saves it to a file in the system temporary directory and prints only its path, for example Output (12.1 KB, 220 lines) saved to .../mwg-guide-49624-1794420750850.md. Read that whole file before you write code. To choose the location, redirect the output to a file, which receives the full guide:
npx modern-web-guidance@latest retrieve "dialog" > dialog.md
To find existing code that a guide would replace, run the static scan on the source directory. It reads files only:
npx modern-web-guidance@latest legacy-scan ./src --json
npx modern-web-guidance@latest legacy-scan ./src --guide dialog
The scan has rules for only part of the guidance (33 guides in version 1.0.0), so a result with no findings does not mean the code already follows every guide.
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.
- 8d ago First seen · 166 lines · 123 tokens per session scan A 93234d8103db
modern-web-guidance is a skill published in the GitHub repository vercel-labs/agent-browser (53,083 stars, last pushed today), licensed Apache-2.0. It adds 123 tokens to every session and 2,258 once invoked, about $0.0005 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-11-13.
modern-web-guidance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| modern-web-guidancevercel-labs/agent-browser | Skill | 53k | today | Apache-2.0 | A | 123 | Claude Code |
| webui-codechromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 33 | Claude Code, Codex |
| figma-to-webuichromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 44 | Claude Code, Codex |
| modern-web-guidancefcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 46 | Claude Code |
| responsiveness-checkjezweb/claude-skills | Skill | 1.1k | 1mo ago | MIT | A | 85 | Claude Code |
| browser-81345ecdFuRongJun-1999/dsh-memory | Skill | 729 | today | MIT | A | 128 | Claude Code |
| browser-7e96fe1dFuRongJun-1999/dsh-memory | Skill | 729 | today | MIT | A | 86 | Claude Code |