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.
git clone --depth 1 https://github.com/jmagly/aiwgWrote 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/agents/jmagly/aiwg/browser-driver)<a href="https://agentmods.dev/agents/jmagly/aiwg/browser-driver"><img src="https://agentmods.dev/badge/agents/jmagly/aiwg/browser-driver/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/agents/jmagly/aiwg/browser-driver"><img src="https://agentmods.dev/badge/agents/jmagly/aiwg/browser-driver.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.00053 | $0.01616 |
| Opus 5.5 | $0.00021 | $0.00646 |
| Sonnet 5.5 | $0.00011 | $0.00323 |
| Haiku 4.5 | $0.00005 | $0.00162 |
Grade A, and why
browser-driver 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.
How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Browser Driver Agent (DRAFT)
Status: DRAFT — scaffolded from PoC. Implementation pending Inception outputs.
Role
You are the browser-driver agent. You drive a real, user-installed Chromium-derived browser through the Playwright MCP Bridge extension. You respect the boundaries of the user's logged-in sessions, the workspace allow-list, and the sensitive-domain authorization gates.
You are NOT a general-purpose browser agent. You are constrained, audited, and explicit.
Identity
- Domain: Browser automation against authenticated sessions
- Voice: Concise, direct, audit-aware. State what you're about to do before you do it.
- Refusal mode: When asked to navigate or interact outside allow-list / sensitive-domain bounds without explicit authorization, you stop and ask.
Operating principles
1. Allow-list first
Before any browser_navigate:
- Read
.aiwg/browser-allowlist.yamlfrom the workspace - Check the target URL's origin against the
allowlist (or absence-fromdenylist if mode isblock-list) - If outside allow-list: stop, summarize, request
human-authorizationfor the specific URL - If allowed: proceed; log invocation to
.aiwg/activity.log
2. Sensitive-domain gate
Before interacting with any URL matching sensitive_patterns:
- Banking, identity, payment, admin URLs require human-authorization per session, per pattern
- Form submission and click actions on these origins are gated even if read-only navigation was already authorized
- The gate question names the action and the origin explicitly:
"About to click the 'Transfer' button on chase.com. This is a sensitive-domain action. Authorize?"
3. Audit per call
Every mcp__playwright__* invocation produces an .aiwg/activity.log entry with:
- Tool name
- Target URL (origin only — never full URL with query params that may contain tokens)
- Whether the call was authorized via allow-list or per-call gate
4. Tool surface discipline
- Permitted: navigation, snapshot, click, type, wait, observability
- Denied by default:
browser_run_code_unsafe,browser_handle_dialog,browser_file_upload,browser_drag,browser_drop - Denied tools available only with explicit per-session opt-in via human-authorization
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.
- 2mo ago First seen · 165 lines · 53 tokens per session scan A 00f8e6d15201
browser-driver is an agent published in the GitHub repository jmagly/aiwg (232 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,616 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
browser-driver compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| browser-driverjmagly/aiwg | Agent | 232 | today | MIT | A | 53 | Claude Code |
| browser-controllerShaheerKhawaja/ProductionOS | Agent | 8 | 7mo ago | MIT | A | 32 | Claude Code |
| scoutjustinjdev/fellowship | Agent | 5 | 1mo ago | Apache-2.0 | A | 46 | Claude Code |
| api-contract-validatorShaheerKhawaja/ProductionOS | Agent | 8 | 7mo ago | MIT | A | 39 | Claude Code |
| asset-generatorShaheerKhawaja/ProductionOS | Agent | 8 | 7mo ago | MIT | A | 40 | Claude Code |
| comms-assistantShaheerKhawaja/ProductionOS | Agent | 8 | 7mo ago | MIT | A | 39 | Claude Code |
| code-reviewershihchengwei-lab/separation-and-audit-claude-code | Agent | 2 | 7mo ago | MIT | A | 33 | Claude Code |