browser-usage

browser-usage is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 56 tokens per session (1,594 once invoked), scanned A, original, MIT.

A browser automation guide built around Playwright, a tool for controlling web browsers from code. It reads the page's accessibility information to find and use buttons, fields, and links.

In plain words
What is it for?
It helps fill forms, click controls, inspect network activity, run browser scripts, and perform manual end-to-end tests. End-to-end tests check a complete user flow through the application.
Why use it?
It provides a consistent way to inspect live websites and test user journeys without relying on fragile screen coordinates or selectors.

Skill for Claude CodeCodex

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

Good fit It helps fill forms, click controls, inspect network activity, run browser scripts, and perform manual end-to-end tests. End-to-end tests check a complete user flow through the application.

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

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-usage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/browser-usage"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/browser-usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00056 $0.01594
Opus 5.5 $0.00022 $0.00638
Sonnet 5.5 $0.00011 $0.00319
Haiku 4.5 $0.00006 $0.00159

Measured yesterday against content hash 4eac59436b81, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

browser-usage scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Plain HTTP REST API calls or JSON fetching — use HTTP tools (`curl`, `web_extract`, `apiFetch`) instead of spinning up a full browser engine.
.ai-badger/skills/browser-usage/SKILL.md · 139 lines

How it starts

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

browser-usage

Universal browser automation and verification skill using Playwright MCP (@playwright/mcp). Operates on structured accessibility tree snapshots and element reference tokens ([ref=eN]), enabling reliable interaction, inspection, and end-to-end verification without vision models.

When NOT to Use

  • Plain HTTP REST API calls or JSON fetching — use HTTP tools (curl, web_extract, apiFetch) instead of spinning up a full browser engine.
  • Headless unit test runs in CI — use your framework's native test runner (bun test, dotnet test, vitest).
  • Static documentation or source code queries — inspect local project files directly.

Core Architecture: Text-First Accessibility Snapshots

Playwright MCP operates primarily on the browser's accessibility tree rather than raw pixel coordinates or fragile CSS selectors:

  1. Snapshot: browser_snapshot returns a hierarchical text tree of interactive and semantic elements:
    - heading "Dashboard" [level=1]
    - textbox "Job Title or Keywords" [ref=e12]
    - button "Search" [ref=e15]
    - list:
      - listitem:
        - link "Senior .NET Engineer" [ref=e22]
        - text: "Remote · Posted 2 days ago"
    
  2. Interact by Ref: Tools accept the ref identifier directly (e.g. ref="e12" or element="e12"), resolving precisely to the underlying DOM node without brittle selector guessing.
  3. Inspect: Visual evidence (browser_take_screenshot), network logs (browser_network_requests), and console streams (browser_console_messages) supplement the accessibility model.

Primary Workflows

1. Basic Navigation and Page Interaction

# 1. Navigate to target URL
browser_navigate(url="http://localhost:5173/applications")

# 2. Capture the page structure
snapshot = browser_snapshot()

# 3. Target elements using ref IDs from the snapshot
browser_click(element="e15")
browser_type(element="e12", text="Lead Engineer")
browser_press_key(key="Enter")

2. Form Filling and Option Selection

Read the full file on GitHub · 139 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. yesterday First seen · 139 lines · 56 tokens per session scan A 4eac59436b81

Subscribe to this mod's changes

browser-usage is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 1,594 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

browser-usage compared with skills from other repositories

browser-usage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
browser-usageArasz/ai-raccoonSkill7todayMITA56Claude Code, Codex
human-passariaxhan/kernel-claudeSkill16yesterdayMITA51Claude Code
agent-browser-verifybuild-with-dhiraj/ai-workflow-framework-portability-kitSkill55d agoMITA53Claude Code
Browser Smoke TestingRaidriar7170/hermes-skillevalSkill292mo agoMITA21Claude Code, Codex
playwright-browserTechNickAI/ai-coding-configSkill232mo agoMITA27Claude Code
e2e-setupTimothyHan/qa-buddy-skillsSkill92mo agoApache-2.0A152Claude Code, Codex
verify-fixTimothyHan/qa-buddy-skillsSkill92mo agoApache-2.0A116Claude Code, Codex