next-role: Skill for Claude Code

.agents/skills/agent-browser/SKILL.md

agent-browser is a skill for Claude Code from tam159/next-role. It costs 200 tokens per session (620 once invoked), scanned A, a copy of agent-browser, MIT.

A command-line browser automation tool for AI agents. It can control Chrome or Chromium through page navigation, accessible element references, form entry, clicks, screenshots, and data extraction.

In plain words
What is it for?
Use it to test web apps, fill in online forms, navigate sites, capture screenshots, or extract information from pages. Specialized workflows also cover Electron apps, Slack, and exploratory testing.
Why use it?
It lets an agent work with real websites and web applications instead of only reading source code. Accessibility-tree snapshots provide a compact way to identify page elements.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is tam159/next-role's own configuration. It tells Claude Code how to work on next-role itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything next-role configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tam159/next-role. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tam159/next-role/main/.agents/skills/agent-browser/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tam159/next-role

Made for: Claude Code.

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/tam159/next-role/agent-browser/github.svg)](https://agentmods.dev/skills/tam159/next-role/agent-browser)
Your own site
<a href="https://agentmods.dev/skills/tam159/next-role/agent-browser"><img src="https://agentmods.dev/badge/skills/tam159/next-role/agent-browser/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 agent-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/tam159/next-role/agent-browser"><img src="https://agentmods.dev/badge/skills/tam159/next-role/agent-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 200 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 620 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 86% copy Near-identical to another mod 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.00200 $0.00620
Opus 5.5 $0.00080 $0.00248
Sonnet 5.5 $0.00040 $0.00124
Haiku 4.5 $0.00020 $0.00062

Measured 2mo ago against content hash fbf43a132222, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

Origin

This is a copy

86% identical to agent-browser — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/agent-browser/SKILL.md · 52 lines

What it actually says

agent-browser

Fast browser automation CLI for AI agents. Chrome/Chromium via CDP with accessibility-tree snapshots and compact @eN element refs.

The CLI is already installed on this machine. Do not run npm i -g agent-browser or agent-browser install.

Start here

This file is a discovery stub, not the usage guide. Before running any agent-browser command, load the actual workflow content from the CLI:

agent-browser skills get core             # start here — workflows, common patterns, troubleshooting
agent-browser skills get core --full      # include full command reference and templates

The CLI serves skill content that always matches the installed version, so instructions never go stale. The content in this stub cannot change between releases, which is why it just points at skills get core.

Specialized skills

Load a specialized skill when the task falls outside browser web pages:

agent-browser skills get electron          # Electron desktop apps (VS Code, Slack, Discord, Figma, ...)
agent-browser skills get slack             # Slack workspace automation
agent-browser skills get dogfood           # Exploratory testing / QA / bug hunts
agent-browser skills get vercel-sandbox    # agent-browser inside Vercel Sandbox microVMs
agent-browser skills get agentcore         # AWS Bedrock AgentCore cloud browsers

Run agent-browser skills list to see everything available on the installed version.

Why agent-browser

  • Fast native Rust CLI, not a Node.js wrapper
  • Works with any AI agent (Cursor, Claude Code, Codex, Continue, Windsurf, etc.)
  • Chrome/Chromium via CDP with no Playwright or Puppeteer dependency
  • Accessibility-tree snapshots with element refs for reliable interaction
  • Sessions, authentication vault, state persistence, video recording
  • Specialized skills for Electron apps, Slack, exploratory testing, cloud providers
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. 2mo ago Changed fbf43a132222
  2. 2mo ago First seen · 52 lines · 200 tokens per session scan A 47bbe450ca09

Subscribe to this mod's changes

agent-browser is a skill published in the GitHub repository tam159/next-role (65 stars, last pushed 2d ago), licensed MIT. It adds 200 tokens to every session and 620 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to agent-browser, differing in 20 lines, and is treated as a copy.

Related

agent-browser compared with skills from other repositories

agent-browser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-browsertam159/next-roleSkill652d agoMITA200Claude Code
computer-usebojieli/ai-agent-bookSkill57k29d agoApache-2.0A139Claude Code, Codex
michel-ui-demo-recorderPackmindHub/packmindSkill3219d agoApache-2.0A192Claude Code, Codex
06-testai-driven-dev/frameworkSkill550todayMITA69Claude Code
web-browseinitializ/forgeSkill235yesterdayApache-2.0A37Claude Code, Codex
scout-web-accessleopu00/job-hunter-teamSkill53todayMITA86Claude Code
pentest-client-advancedjd-opensource/JoySafeterSkill31517d agoApache-2.0A36Claude Code, Codex