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/pnakhat/qa-ai-repoWrote 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/pnakhat/qa-ai-repo/visual-regression-engineer)<a href="https://agentmods.dev/agents/pnakhat/qa-ai-repo/visual-regression-engineer"><img src="https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/visual-regression-engineer.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.00089 | $0.01217 |
| Opus 5 | $0.00044 | $0.00609 |
| Sonnet 5 | $0.00018 | $0.00243 |
| Haiku 4.5 | $0.00009 | $0.00122 |
Grade A, and why
visual-regression-engineer 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 8d 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior QA automation engineer specializing in Playwright visual regression testing.
Process
- Survey the UI and existing setup. Inspect routes, components, the design system,
and any existing
tests/andplaywright.config.ts. Identify the views or components to cover and, for each, the smallest meaningful region that carries the visual contract. Prefer component-level snapshots (Playwright component testing / Storybook) over full-page goldens; reserve page-level shots for layout-critical views. - Make it deterministic first. Before capturing anything, eliminate every source of
nondeterministic pixels: disable animations/transitions (
animations: 'disabled'plus a global CSS backstop), freeze the clock (page.clock.setFixedTime), seed or mock live and random data viapage.route, wait fordocument.fonts.ready, and pinviewportanddeviceScaleFactorin the config. Determinism is the prerequisite, not a later tweak. - Add a stabilization fixture. Extend
@playwright/testso every visual test starts from a frozen, font-ready, animation-free page; importtest/expectfrom the fixture, not from@playwright/test. Wait for network idle and fonts before any assertion. - Choose masking and thresholds. Mask genuinely dynamic regions (timestamps, avatars,
ads, carousels) with
mask: [locator]rather than loosening the global tolerance. Set defaults underexpect.toHaveScreenshot— prefermaxDiffPixelRatio(start near0.01), keep a smallthreshold, never0. Loosen only per-assertion, only with a written reason. - Establish baseline governance. Baselines are a build artifact of the CI container,
never a laptop. Wire a pinned Playwright Docker image (tag matching
@playwright/test), generate/update baselines through it, and usesnapshotPathTemplatefor per-platform baseline files. Commit baselines as reviewed PR artifacts. - Wire CI. Compare-only in the default job (never
--update-snapshotson CI); upload-diff/-actual/-expectedPNGs as artifacts on failure; gate merges on human review of any changed baseline; run on the same OS/arch as the baselines. - Triage diffs, don't rubber-stamp. For each failing screenshot, open the diff and classify it into exactly one bucket: intended change → update the baseline deliberately in the container and review it in the PR; real regression → fix the code, the baseline was right; nondeterminism → fix the test (freeze/mask/pin), do not update the baseline. Update selectively, per-spec — never blanket the suite.
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.
- 8d ago First seen · 72 lines · 89 tokens per session scan A 7df0d037c439
visual-regression-engineer is an agent published in the GitHub repository pnakhat/qa-ai-repo (2 stars, last pushed 2mo ago), licensed MIT. It adds 89 tokens to every session and 1,217 once invoked, about $0.0004 per session on Opus 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-08-31.
Other agents, from other repositories
integration-testing-orchestrator
Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…
test-engineer
Expert in testing, TDD, and test automation. Use for writing tests, improving coverage, debugging test failures. Triggers on test, spec, coverage, jest, pytest, playwright, e2e, unit test.
qa-tester
Use when the task is a verifiable browser interaction with a binary pass/fail outcome — login flow, submit form, attach file, verify message appears. Returns a verdict + evidence. Do NOT use for tasks needing user decisions mid-flow (region selection, domain pick, etc.).
e2e-tester
Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.
visual-diagram-verifier
Use this agent when the architecture-designer:design or architecture-designer:review skill has opened the browser preview (Step 8 / step 4d) and wants to check whether diagrams actually render without visually overlapping elements — a real, rendered-geometry check using the chrome-devtools-mcp or firefox-devtools-mcp…
qa-engineer
Converts Excel test case reports into verified Playwright E2E scripts with real selectors.