bwb-browser AGENTS.md

bwb-browser AGENTS.md is an instructions file for Codex, OpenCode from krshforever/bwb-browser. It costs 2,373 tokens per session, scanned B, original, MIT.

A lightweight browser-automation MCP server that lets an AI agent control a browser through Chrome's built-in developer connection. MCP is a standard way for AI tools to use external services.

In plain words
What is it for?
Use it to automate browser tasks, inspect web pages, and interact with Chrome or Chromium, including on Android through Termux.
Why use it?
It gives agents browser access without requiring a separate large browser package or complicated setup.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/krshforever/bwb-browser/agents-md
Clone the repo
git clone --depth 1 https://github.com/krshforever/bwb-browser

Made for: Codex, OpenCode.

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 bwb-browser AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/krshforever/bwb-browser/agents-md.svg)](https://agentmods.dev/instructions/krshforever/bwb-browser/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/krshforever/bwb-browser/agents-md"><img src="https://agentmods.dev/badge/instructions/krshforever/bwb-browser/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,373 This file is loaded in full into every session.
When invoked 2,373 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
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 $0.02373 $0.02373
Opus 5 $0.01187 $0.01187
Sonnet 5 $0.00475 $0.00475
Haiku 4.5 $0.00237 $0.00237

Measured 4d ago against content hash 169a85d82a98, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

bwb-browser AGENTS.md scanned grade B 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 4d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| **Claude Code** (Anthropic) | ✅ `~/.claude/settings.json` | MCP config |
AGENTS.md · 232 lines

How it starts

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

bwb-browser — Agent Integration Guide

Author: Krish Tiwari (@krshforever) Package: bwb-browser · 76KB source · 26 tools Last updated: 2026-08-06

What is bwb?

Browser Without Bloat — a lightweight MCP server that gives any AI agent browser superpowers. 76KB. 26 tools. Zero heavy dependencies.

While other MCP browser tools ship a full browser binary (Playwright MCP = ~250MB, Puppeteer MCP = ~400MB), bwb uses raw Chrome DevTools Protocol (CDP) — the protocol Chrome speaks natively. It auto-detects the browser already on your system.

Built on Termux/Android. Runs everywhere. Weighs nothing. Browser automation from your phone.


🔥 Zero-Config Install (5 seconds)

Don't copy-paste configs. Don't hunt for the right path. Just:

npm install -g bwb-browser
bwb --setup

That's it. bwb --setup auto-detects every AI agent on your machine (OpenCode, Antigravity, Claude Code, Hermes, Cline, Continue, Codex CLI), writes the correct MCP config for each, detects Chrome/Chromium, and prints a summary. Close and reopen your agent — tools are ready.


Compatible Agents

Agent Auto-Config via bwb --setup Manual Config
Claude Code (Anthropic) ~/.claude/settings.json MCP config
OpenCode ~/.config/opencode/opencode.json MCP config
Antigravity CLI ~/.gemini/config/mcp_config.json MCP config
Cline (VS Code) ~/.cline/mcp.json MCP config
Continue.dev ~/.continue/config.json MCP config
Codex CLI ~/.codex/mcp.json MCP config
Hermes ~/.hermes/mcp.json MCP config
Aider ❌ (custom tool) Custom integration
Cody (Sourcegraph) MCP config
Cursor ❌ (per-project) .cursor/mcp.json

Quick Install (60 seconds)

# 1. Install globally
npm install -g bwb-browser

# 2. Verify it works
bwb --version
# → bwb-browser 3.2.0

# 3. Add to your AI agent's MCP config

Read the full file on GitHub · 232 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. 4d ago First seen · 232 lines · 2,373 tokens per session scan B 169a85d82a98

Subscribe to this mod's changes

bwb-browser AGENTS.md is an instructions file published in the GitHub repository krshforever/bwb-browser (15 stars, last pushed 28d ago), licensed MIT. It adds 2,373 tokens to every session, about $0.0119 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories