browser-use

browser-use is a skill for Claude Code, Codex from PeakCode-AI/PeakCode. It costs 37 tokens per session (1,055 once invoked), scanned A, original, MIT.

A tool for controlling a real web browser by reading page content, clicking controls, entering text, filling forms, taking screenshots, and checking the result. It reads the page's accessibility information so actions can target specific elements.

In plain words
What is it for?
Use it to open pages, inspect content, complete web forms, interact with sites, and confirm visible page changes.
Why use it?
It helps automate browser work while verifying what actually happened instead of assuming a click or form submission succeeded. The visible browser also lets the user watch the work.

Skill for Claude CodeCodex

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

Good fit Use it to open pages, inspect content, complete web forms, interact with sites, and confirm visible page changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peakcode-ai/peakcode/browser-use
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 PeakCode-AI/PeakCode --skill browser-use
Clone the repo
git clone --depth 1 https://github.com/PeakCode-AI/PeakCode

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/peakcode-ai/peakcode/browser-use/github.svg)](https://agentmods.dev/skills/peakcode-ai/peakcode/browser-use)
Your own site
<a href="https://agentmods.dev/skills/peakcode-ai/peakcode/browser-use"><img src="https://agentmods.dev/badge/skills/peakcode-ai/peakcode/browser-use/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 browser-use

Your own site · 80×15
<a href="https://agentmods.dev/skills/peakcode-ai/peakcode/browser-use"><img src="https://agentmods.dev/badge/skills/peakcode-ai/peakcode/browser-use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,055 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 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.1 $0.00037 $0.01055
Opus 5 $0.00018 $0.00528
Sonnet 5 $0.00007 $0.00211
Haiku 4.5 $0.00004 $0.00105

Measured today against content hash 2e1e3fda8163, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-18, from the pricing page.

Security

Grade A, and why

browser-use 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.

plugins/browser-use/skills/browser-use/SKILL.md · 99 lines

How it starts

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

Browser Use

The browser tool drives a real browser pane belonging to this conversation. The pane is visible: when you open a tab it appears, and it follows what you do. That is the point — the user can watch the work instead of trusting your summary of it.

The loop

Observe, act once, observe again. Never act twice without looking in between.

  1. navigate to the page (a URL the user gave you, or one you verified from the page — not a guessed variant), or get_tabs if a tab is already open.
  2. snapshot to read it. Snapshot is how you see a page: it returns role, name, state and a short ref for every element worth acting on.
  3. Act with a ref from that snapshot.
  4. Observe the result before concluding anything.

An action returns a receipt — what was dispatched, not what happened. click saying Dispatched click (ref e5) means the event was sent. Whether the page changed is a separate question you answer with another observation.

Reading a page

snapshot is the default and the primary. It is cheaper than a screenshot, works without a vision model, and gives you the refs the actions need. Reuse the snapshot you already have until the page changes underneath it.

Take a screenshot only when sight is genuinely required:

  • the question is visual — layout, styling, whether something rendered at all;
  • the user asked for a screenshot;
  • the target is not in the tree (canvas, custom-drawn widget) and you need to aim at it.

Do not take a snapshot and a screenshot of the same state as a matter of habit.

Refs

A ref (e12) names an element in one snapshot. It is not a stable identifier:

  • A ref from an earlier snapshot is refused. That is deliberate — the node behind it may now be a different element. Take a fresh snapshot and use a ref from it.
  • Navigating, reloading, or moving through history invalidates every ref, because they described the previous document.
  • After an action that changes the page, snapshot again before you act on anything you saw before it.

Read the full file on GitHub · 99 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. today First seen · 99 lines · 37 tokens per session scan A 2e1e3fda8163

Subscribe to this mod's changes

browser-use is a skill published in the GitHub repository PeakCode-AI/PeakCode (134 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,055 once invoked, about $0.0002 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-09-18.

Related

Other skills, from other repositories

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

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

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

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

open-design-browser

Inspect and exercise local HTML design artifacts with the existing agent-browser CLI, including screenshots and keyboard or interaction checks. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser automation.

compozy/compozy · 49 tokens