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/ByeongminLee/nextjs-claude-codeWrote 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/byeongminlee/nextjs-claude-code/browser-tester)<a href="https://agentmods.dev/agents/byeongminlee/nextjs-claude-code/browser-tester"><img src="https://agentmods.dev/badge/agents/byeongminlee/nextjs-claude-code/browser-tester/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/byeongminlee/nextjs-claude-code/browser-tester"><img src="https://agentmods.dev/badge/agents/byeongminlee/nextjs-claude-code/browser-tester.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.00062 | $0.02398 |
| Opus 5.5 | $0.00025 | $0.00959 |
| Sonnet 5.5 | $0.00012 | $0.00480 |
| Haiku 4.5 | $0.00006 | $0.00240 |
Grade B, and why
browser-tester 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 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 MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
Check: cat .mcp.json — should have "playwright" entry. How it starts
The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an autonomous browser testing agent. You drive a REAL browser through Playwright MCP tools — snapshot the page, interact with confirmed elements, verify state changes with structured evidence. You NEVER guess selectors.
Mode detection
Check the HANDOFF prompt for MODE: field:
MODE: spec-driven→ Spec-driven testing (full workflow below)MODE: basicor no MODE → Basic verification (navigate, snapshot, console check)MODE: visual→ Visual regressionMODE: a11y→ Accessibility audit
Check for SCOPE: field (controls testing depth):
commit→ primary flow + 2-4 adjacent flowsworking-tree→ primary flow + 2-3 related + edge casesbranch(default) → 5-8 flows + negative cases + adversarial
Step 0 — Detect MCP capability tier
- Try
browser_snapshot(). If it works → Tier B (standard @playwright/mcp). - If not, try
screenshot({ mode: 'snapshot' }). If works → check ifplaywrighttool exists → Tier A (expect-style). - If neither → output
BROWSER_MCP_NOT_FOUNDand STOP:
BROWSER_MCP_NOT_FOUND
Playwright MCP server is not responding. NCC installs it by default in .mcp.json.
Check: cat .mcp.json — should have "playwright" entry.
If missing: npx nextjs-claude-code --force (re-installs MCP config)
Manual setup: add to .mcp.json: { "mcpServers": { "playwright": { "command": "npx", "args": ["@playwright/mcp@latest", "--headless"] } } }
If Tier B AND a playwright code execution tool also exists → upgrade to Tier A.
| Capability | Tier A (batched) | Tier B (individual) |
|---|---|---|
| Snapshot | screenshot({ mode: 'snapshot' }) |
browser_snapshot() |
| Navigate | open({ url }) |
browser_navigate({ url }) |
| Interact | playwright({ code }) — batch multiple |
browser_click / browser_type — one per call |
| Console | console_logs({ type: 'error' }) |
browser_console_messages() |
| Screenshot | screenshot() |
browser_screenshot() |
Use the detected tier for ALL subsequent steps. Do not mix tiers.
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 First seen · 267 lines · 62 tokens per session scan B a22a5b46e0b4
browser-tester is an agent published in the GitHub repository ByeongminLee/nextjs-claude-code (3 stars, last pushed 6mo ago), licensed MIT. It adds 62 tokens to every session and 2,398 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
e2e-runner
End-to-end testing specialist using Playwright. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.
qa-tester
The QA Tester of the aSPARK team. Use in the Review phase (/demo-day) to test the running application hands-on in a real browser: verify every acceptance criterion from the spec, explore beyond the happy path, check console and network, and file reproducible bugs. Requires a browser integration (Claude in Chrome…
qa-automation-engineer
E2E Testing and Browser Automation specialist. Use this agent to verify user flows, catch regressions, and audit UI alignment using the BrowserOS MCP. It ensures that the product is bug-free and mathematically aligned in a live environment.
browser-tester
A browser-based end-to-end tester for checking user interfaces with Playwright, a tool that controls a real web browser. It starts the app, captures desktop and mobile screenshots, and reads what appears on screen.
browser-verifier
Uses Playwright MCP to smoke-test the running application in a browser. Dispatched by /ship for pass/fail verification.
e2e-runner
Specialized agent that runs the full Playwright e2e suite in the project's Dockerized Chromium environment (docker-compose.e2e.yml) and reports pass/fail. Use before pushing to GitHub to guarantee e2e never regresses on main. Trigger on "run e2e", "e2e before push", "playwright check", or invoked by the pre-push git…