agent-browser

agent-browser is a skill for Claude Code, Codex from full-stack-skills/agent-skills. It costs 87 tokens per session (1,934 once invoked), scanned A, original, Apache-2.0.

A command-line tool for having an AI agent control web browsers. It can open pages, inspect their accessibility structure, interact with elements, and manage browser sessions.

In plain words
What is it for?
Use it to navigate websites, fill forms, click controls, collect page content, take screenshots or PDFs, connect to an existing browser, and run multiple sessions.
Why use it?
It provides repeatable browser actions and element references, making web automation easier to run and debug from scripts or an agent.

Skill for Claude CodeCodex

Part of the agent-skills plugin — 15 skills, 2 commands shipped together

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.

agentmods
npx agentmods add skills/full-stack-skills/agent-skills/agent-browser
Any agent
npx skills add full-stack-skills/agent-skills --skill agent-browser
Clone the repo
git clone --depth 1 https://github.com/full-stack-skills/agent-skills

Made for: Claude Code, Codex.

Or install agent-skills, the plugin that ships this one along with the rest of its 15 skills, 2 commands.

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 agent-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/full-stack-skills/agent-skills/agent-browser.svg)](https://agentmods.dev/skills/full-stack-skills/agent-skills/agent-browser)
Your own site
<a href="https://agentmods.dev/skills/full-stack-skills/agent-skills/agent-browser"><img src="https://agentmods.dev/badge/skills/full-stack-skills/agent-skills/agent-browser.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00087 $0.01934
Opus 5 $0.00044 $0.00967
Sonnet 5 $0.00017 $0.00387
Haiku 4.5 $0.00009 $0.00193

Measured 4d ago against content hash e4ca830cca7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-browser 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 4d 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.

skills/agent-browser/SKILL.md · 177 lines

How it starts

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

When to use this skill

Use this skill whenever the user wants to:

  • Automate browser interactions via CLI commands
  • Use browser automation for AI agents
  • Navigate websites and interact with pages using command-line tools
  • Use refs-based element selection for deterministic automation
  • Integrate browser automation into AI agent workflows
  • Capture snapshots of web pages with accessibility trees
  • Fill forms, click elements, and extract content via CLI
  • Use semantic locators for more reliable element selection
  • Work with browser automation in agent mode with JSON output
  • Manage multiple browser sessions
  • Debug browser automation with headed mode
  • Use authenticated sessions with custom headers
  • Connect to existing browsers via CDP
  • Stream browser viewport for live preview

How to use this skill

This skill is organized to match the agent-browser official documentation structure (https://github.com/vercel-labs/agent-browser/blob/main/README.md). When working with agent-browser:

  1. Install agent-browser:

    • Load examples/getting-started/installation.md for installation instructions
  2. Quick Start:

    • Load examples/quick-start/quick-start.md for basic workflow examples
  3. Learn core commands:

    • Load examples/commands/basic-commands.md for basic commands (open, click, fill, etc.)
    • Load examples/commands/advanced-commands.md for advanced commands (snapshot, eval, etc.)
    • Load examples/commands/get-info/ for information retrieval commands
    • Load examples/commands/check-state/ for state checking commands
    • Load examples/commands/find-elements/ for semantic locator commands
    • Load examples/commands/wait/ for wait commands
    • Load examples/commands/mouse-control/ for mouse control commands
    • Load examples/commands/browser-settings/ for browser configuration
    • Load examples/commands/cookies-storage/ for cookies and storage management
    • Load examples/commands/network/ for network interception
    • Load examples/commands/tabs-windows/ for tab and window management
    • Load examples/commands/frames/ for iframe handling
    • Load examples/commands/dialogs/ for dialog handling
    • Load examples/commands/debug/ for debugging commands
    • Load examples/commands/navigation/ for navigation commands
    • Load examples/commands/setup/ for setup commands

Read the full file on GitHub · 177 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. 4d ago First seen · 177 lines · 87 tokens per session scan A e4ca830cca7d

Subscribe to this mod's changes

agent-browser is a skill published in the GitHub repository full-stack-skills/agent-skills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 1,934 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

every-app/open-seo · 35 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens