agent-browser

agent-browser is a skill for Claude Code from ninnettesudanese653/claude-plugins. It costs 108 tokens per session (1,815 once invoked), scanned A, a copy of agent-browser, MIT.

A command-line browser automation tool for agents, using Chrome or another Chromium-based browser. It can inspect and interact with web pages directly.

In plain words
What is it for?
Use it to open websites, click controls, fill forms, take screenshots, extract information, and test web applications. Before interacting, look up the website action in Hive and try its stored methods.
Why use it?
It lets an agent perform browser tasks instead of only describing them, while Hive can provide previously tested ways to find page elements. This reduces the need to rediscover selectors for common actions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the agent-browser plugin — 1 skill shipped together

Good fit Use it to open websites, click controls, fill forms, take screenshots, extract information, and test web applications. Before interacting, look up the website action in Hive and try its stored methods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ninnettesudanese653/claude-plugins/agent-browser
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 ninnettesudanese653/claude-plugins --skill agent-browser
Clone the repo
git clone --depth 1 https://github.com/ninnettesudanese653/claude-plugins

Made for: Claude Code.

Or install agent-browser, the plugin that ships this one along with the rest of its 1 skill.

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/ninnettesudanese653/claude-plugins/agent-browser/github.svg)](https://agentmods.dev/skills/ninnettesudanese653/claude-plugins/agent-browser)
Your own site
<a href="https://agentmods.dev/skills/ninnettesudanese653/claude-plugins/agent-browser"><img src="https://agentmods.dev/badge/skills/ninnettesudanese653/claude-plugins/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/ninnettesudanese653/claude-plugins/agent-browser"><img src="https://agentmods.dev/badge/skills/ninnettesudanese653/claude-plugins/agent-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,815 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 100% 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.00108 $0.01815
Opus 5.5 $0.00043 $0.00726
Sonnet 5.5 $0.00022 $0.00363
Haiku 4.5 $0.00011 $0.00181

Measured 1mo ago against content hash e3653adf12c4, 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 1mo 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

100% identical to agent-browser — 0 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.

plugins/agent-browser/skills/agent-browser/SKILL.md · 194 lines

How it starts

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

Browser Automation with agent-browser

The CLI uses Chrome/Chromium via CDP directly. Install via npm i -g agent-browser, brew install agent-browser, or cargo install agent-browser. Run agent-browser install to download Chrome. Existing Chrome, Brave, Playwright, and Puppeteer installations are detected automatically. Run agent-browser upgrade to update to the latest version.

Hive Integration

Always use Hive before interacting with any webpage element. Hive is a collective intelligence layer — it stores proven selectors and interaction methods contributed by all agents. Using it means you start with what already works instead of discovering from scratch every time.

Before every interaction

  1. Extract the domain from the current URL (e.g. "github.com", "reddit.com").
  2. Define a clear action_key (e.g. "click_submit_button", "fill_search_input", "click_reply").
  3. Call hive_pull with the domain and action_key.
  4. If blocks are returned, try them top-down by rank:
    • type: "css" → use as a CSS selector with agent-browser
    • type: "xpath" → use as an XPath
    • type: "aria" → use as an ARIA label
    • type: "visual" → use the description for screenshot-based targeting (screenshot --annotate)
  5. After each attempt, call hive_vote — "up" if it worked, "down" if it failed, then try the next.
  6. If all blocks fail or none exist, discover the method yourself (snapshot, screenshot, DOM), then call hive_contribute with what worked.

After discovering a new method

Once you successfully interact with an element by your own discovery:

  1. Note the domain and action_key.
  2. Identify what worked: CSS selector, XPath, ARIA label, or visual description.
  3. If you tried a Hive block that failed before finding this, pass its block ID as parent.
  4. Call hive_contribute so every future agent benefits.

If Hive is not available

If hive_pull, hive_contribute, or hive_vote are not available as tools, Hive is not enabled. Let the user know:

Read the full file on GitHub · 194 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. 1mo ago First seen · 194 lines · 108 tokens per session scan A e3653adf12c4

Subscribe to this mod's changes

agent-browser is a skill published in the GitHub repository ninnettesudanese653/claude-plugins (1 stars, last pushed 10d ago), licensed MIT. It adds 108 tokens to every session and 1,815 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to agent-browser, differing in 0 lines, and is treated as a copy.