Borrowing it
Nothing to install: this file belongs to krshforever/bwb-browser. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/krshforever/bwb-browser/main/AGENTS.mdgit clone --depth 1 https://github.com/krshforever/bwb-browserWrote 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.
[](https://agentmods.dev/instructions/krshforever/bwb-browser/agents-md)<a href="https://agentmods.dev/instructions/krshforever/bwb-browser/agents-md"><img src="https://agentmods.dev/badge/instructions/krshforever/bwb-browser/agents-md/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.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03342 | $0.03342 |
| Opus 5.5 | $0.01337 | $0.01337 |
| Sonnet 5.5 | $0.00668 | $0.00668 |
| Haiku 4.5 | $0.00334 | $0.00334 |
Grade D, and why
bwb-browser AGENTS.md scanned grade D with 2 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
| **Antigravity CLI** | ✅ `~/.gemini/config/mcp_config.json` | MCP config | Cloud metadata endpointhighServer-side request forgery
One request to 169.254.169.254 can return temporary IAM credentials.
- **No SSRF.** Static fetches refuse loopback / private / link-local / CGNAT addresses (`127/8`, `10/8`, `172.16/12`, `192.168/16`, `169.254/16`, `::1`, `fc00::/7`) on **every redirect hop** — so a public URL cannot boun How it starts
The opening of the file, as written. The whole thing — 260 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· ~173KB source · 65 kB tarball · 26 tools · static-first (v4) Last updated: 2026-08-06
What is bwb?
Browser Without Bloat — a lightweight MCP server that gives any AI agent browser superpowers. ~173KB source. 26 tools. 5 runtime dependencies. Static-first: plain pages never spawn Chromium. Zero native dependencies.
While other MCP browser tools ship a full browser binary (Playwright MCP = ~250MB, Puppeteer MCP = ~400MB), bwb speaks Chrome DevTools Protocol (CDP) directly — over one thin CDP client (chrome-remote-interface), no Playwright, no Puppeteer, no bundled browser. 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 # dry run: prints what it would write
bwb --setup --yes # apply
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 (timestamped backups), detects Chrome/Chromium, and prints a summary. It is a dry run unless you pass --yes. Close and reopen your agent — tools are ready.
Compatible Agents
| Agent | Auto-Config via bwb --setup |
Manual Config |
|---|---|---|
| Claude Code (Anthropic) | ⚠️ claude mcp add --scope user (setup prints/runs this — MCP is NOT read from settings.json) |
claude mcp add --scope user bwb -- node <path>/server.mjs |
| 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 |
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.
- 1mo ago Changed · +14 lines · +691 tokens per session scan B → D 48b60949d87c
- 1mo ago Changed · +12 lines · +121 tokens per session a2a721d438d6
- 1mo ago Changed · +2 lines · +157 tokens per session 8905e780f8d9
- 2mo ago First seen · 232 lines · 2,373 tokens per session scan B 169a85d82a98
bwb-browser AGENTS.md is an instructions file published in the GitHub repository krshforever/bwb-browser (19 stars, last pushed 24d ago), licensed MIT. It adds 3,342 tokens to every session, about $0.0134 per session on Opus 5.5. A static security scan graded it D with 2 findings (reads agent configuration directories, cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
bwb-browser AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bwb-browser AGENTS.mdkrshforever/bwb-browser | Instructions file | 19 | 24d ago | MIT | D | 3,342 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |