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 3mo 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.
- 3mo 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 8mo 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.
browser-tester compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| browser-testerByeongminLee/nextjs-claude-code | Agent | 3 | 8mo ago | MIT | B | 62 | Claude Code |
| e2e-runnergalyarderlabs/galyarder-framework | Agent | 30 | 14d ago | MIT | A | 59 | Claude Code |
| arn-spark-ui-interactorAppsVortex/arness | Agent | 35 | 27d ago | MIT | A | 325 | Claude Code |
| qa-testera-lottes/aSPARK | Agent | 26 | 15d ago | MIT | A | 79 | Claude Code |
| qa-automation-engineergalyarderlabs/galyarder-framework | Agent | 30 | 14d ago | MIT | A | 54 | Claude Code |
| e2e-runnerKaelSensei/MagicAIBuilder | Agent | 2 | today | MIT | A | 87 | Claude Code, Codex |
| orc-qa-validatorHigorAlves/orc | Agent | 7 | 6d ago | MIT | A | 67 | Claude Code |