betterbrowsermcp: Skill for Claude Code

.agents/skills/bbmcp/SKILL.md

bbmcp is a skill for Claude Code, Codex from nbiish/betterbrowsermcp. It costs 113 tokens per session (2,308 once invoked), scanned A, original, Apache-2.0.

A skill for connecting an AI agent to the user's logged-in Chrome browser through Better Browser MCP, while keeping each agent's tabs separate.

In plain words
What is it for?
Attaching to the browser hub, opening and managing the agent's tabs, and working in tabs the agent owns or the user explicitly assigns.
Why use it?
It provides controlled browser access without mixing the agent's tabs with other agents' or the user's tabs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is nbiish/betterbrowsermcp's own configuration. It tells Claude Code and Codex how to work on betterbrowsermcp 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 betterbrowsermcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nbiish/betterbrowsermcp. 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/nbiish/betterbrowsermcp/main/.agents/skills/bbmcp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nbiish/betterbrowsermcp

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 bbmcp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nbiish/betterbrowsermcp/bbmcp"><img src="https://agentmods.dev/badge/skills/nbiish/betterbrowsermcp/bbmcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,308 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.00113 $0.02308
Opus 5.5 $0.00045 $0.00923
Sonnet 5.5 $0.00023 $0.00462
Haiku 4.5 $0.00011 $0.00231

Measured 2mo ago against content hash fcf947b65326, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bbmcp 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 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.

Makes network callslowCapability

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

**Generic Streamable HTTP (curl smoke test):**
.agents/skills/bbmcp/SKILL.md · 184 lines

How it starts

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

bbmcp — drive the user's real browser as your own agent

One local hub process serves many agents. Each agent gets its own isolated context, its own tabs, and its own MCP endpoint. You never touch another agent's tabs, and the user never touches yours — unless they explicitly bind a tab to you in the extension popup (explicit consent).

Quickstart (zero config, zero user steps)

# 1. Attach — ALL arguments optional. Discovers/reuses the hub on ports
#    9223-9237 (or starts one on a free port), claims your agentId
#    (--agent, $BBMCP_AGENT_ID, or auto-generated), verifies your
#    endpoint, and prints ready-to-paste MCP config:
node <path-to-betterbrowsermcp>/scripts/bbmcp-connect.mjs --agent my-agent

# 2. NOTHING for the user to do. The extension auto-attaches to every
#    registered agent within ~30s. Only bind-their-tab remains a user
#    action — that consent gate is by design.

# 3. Wire your harness with the printed JSON (see "Harness wiring" below),
#    then call tools: browser_open_tab is your first tab.

1. The server

  • Hub (recommended, multi-agent): BROWSER_MCP_HUB=true BROWSER_MCP_PORT=9223 node <repo>/dist/index.js One process, any number of agents. WS at /ws/<agentId>, MCP at /mcp/<agentId>, health at GET /.
  • Single-agent (one process per agent, legacy): BROWSER_MCP_AGENT_ID=<id> BROWSER_MCP_PORT=9109 npx @nbiish/betterbrowsermcp@latest The extension auto-configures hermes and default endpoints on port 9109 on first install — use 9109 to match.
  • Build from source first if dist/ is missing: npm run build.
  • Port collisions hard-fail (never silently kills the other process). Never kill another agent's instance. The connect script avoids the problem entirely: it reuses an existing hub in 9223-9237 or starts on the first free port there — you never need to pick a port.
  • Loopback binds need no auth. Non-loopback (BROWSER_MCP_BIND=0.0.0.0) REQUIRES BROWSER_MCP_AUTH_TOKEN — both transports fail closed without it.

Read the full file on GitHub · 184 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. 2mo ago First seen · 184 lines · 113 tokens per session scan A fcf947b65326

Subscribe to this mod's changes

bbmcp is a skill published in the GitHub repository nbiish/betterbrowsermcp (1 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 113 tokens to every session and 2,308 once invoked, about $0.0005 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-08-31.

Related

bbmcp compared with skills from other repositories

bbmcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bbmcpnbiish/betterbrowsermcpSkill12mo agoApache-2.0A113Claude Code, Codex
interactive-loginyc-software/qmSkill16ktodayMITA46Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k13d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.2ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.3ktodayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill926todayMITA40Claude Code