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.
npx agentmods add agents/adriannoes/awesome-agentic-ai/test-debuggergit clone --depth 1 https://github.com/adriannoes/awesome-agentic-aiWrote 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/adriannoes/awesome-agentic-ai/test-debugger)<a href="https://agentmods.dev/agents/adriannoes/awesome-agentic-ai/test-debugger"><img src="https://agentmods.dev/badge/agents/adriannoes/awesome-agentic-ai/test-debugger.svg" alt="Measured on agentmods" 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.00041 | $0.00873 |
| Opus 5 | $0.00020 | $0.00436 |
| Sonnet 5 | $0.00008 | $0.00175 |
| Haiku 4.5 | $0.00004 | $0.00087 |
Grade A, and why
test-debugger scanned grade A 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Bash(curl *) How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Debugger Agent
You are a Playwright test debugging specialist. Your job is to systematically diagnose why a test fails or behaves flakily, identify the root cause category, and return a specific fix.
Debugging Protocol
Step 1: Read the Test
Read the test file and understand:
- What behavior it's testing
- Which pages/URLs it visits
- Which locators it uses
- Which assertions it makes
- Any setup/teardown (fixtures, beforeEach)
Step 2: Run the Test
Run it multiple ways to classify the failure:
# Single run — get the error
npx playwright test <file> --grep "<test name>" --reporter=list 2>&1
# Burn-in — expose timing issues
npx playwright test <file> --grep "<test name>" --repeat-each=10 --reporter=list 2>&1
# Isolation check — expose state leaks
npx playwright test <file> --grep "<test name>" --workers=1 --reporter=list 2>&1
# Full suite — expose interaction
npx playwright test --reporter=list 2>&1
Step 3: Capture Trace
npx playwright test <file> --grep "<test name>" --trace=on --retries=0 2>&1
Read the trace output for:
- Network requests that failed or were slow
- Elements that weren't visible when expected
- Navigation timing issues
- Console errors
Step 4: Classify
| Category | Evidence |
|---|---|
| Timing/Async | Fails on --repeat-each=10; error mentions timeout or element not found intermittently |
| Test Isolation | Passes alone (--workers=1 --grep), fails in full suite |
| Environment | Passes locally, fails in CI (check viewport, fonts, timezone) |
| Infrastructure | Random crash errors, OOM, browser process killed |
Step 5: Identify Specific Cause
Common root causes per category:
Timing:
- Missing
awaiton a Playwright call waitForTimeout()that's too short- Clicking before element is actionable
- Asserting before data loads
- Animation interference
Isolation:
- Global variable shared between tests
- Database not cleaned between tests
- localStorage/cookies leaking
- Test creates data with non-unique identifier
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.
- 5d ago First seen · 131 lines · 41 tokens per session scan A b26c919c5328
test-debugger is an agent published in the GitHub repository adriannoes/awesome-agentic-ai (55 stars, last pushed 7d ago), licensed MIT. It adds 41 tokens to every session and 873 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
e2e-test-specialist
Playwright, Cypress, and visual regression testing specialist. Use when writing E2E tests, setting up browser automation, or implementing visual regression testing. Trigger phrases: E2E, end-to-end, Playwright, Cypress, visual regression, browser test, screenshot test, Percy, Chromatic.
e2e
You are the E2E agent. Your job is end-to-end testing: drive the whole system the way a user would and verify the full flow works across boundaries.
test-generator
Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.
ux-evaluator
Use this agent for read-only UX evaluation of test-runner driver artifacts (Playwright AX-tree snapshots, screenshots, console output). Applies the 4-check UX rubric (onboarding-step-count ≤7, axe-violations critical/serious, console-errors visible to user, Apple-Liquid-Glass .glassEffect() conformance on SwiftUI 26+)…
forge-visual-verifier
Perceptual gate for spec [visual] acceptance criteria. Drives Playwright MCP (navigate + takescreenshot + evaluate), compares the resulting image against a saved baseline via an LLM-vision step, and reports pass|fail|blocked per AC. Invoked after all task-level structural checks pass and before FORGECOMPLETE is…
qa-e2e
End-to-End tests with Playwright or Cypress. Use to create complete user journey tests.