visual-qa

visual-qa is an agent for Claude Code from Surjal/dev-agent. It costs 116 tokens per session (1,444 once invoked), scanned A, original, MIT.

A read-only browser tester that checks what a website actually displays and how it behaves. It uses the project's Playwright setup or a connected browser-automation service when available.

In plain words
What is it for?
Use it to run existing browser tests and inspect pages, controls, and user flows. It is useful for checking rendered layouts and behavior after a website change.
Why use it?
It catches visual and interaction problems that are not obvious from source code alone. Because it cannot edit files or create tests, it reports problems without changing the project.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the dev-agent plugin — 4 commands, 16 agents, 1 hook shipped together

Good fit Use it to run existing browser tests and inspect pages, controls, and user flows. It is useful for checking rendered layouts and behavior after a website change.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/surjal/dev-agent/visual-qa
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Surjal/dev-agent

Made for: Claude Code.

Or install dev-agent, the plugin that ships this one along with the rest of its 4 commands, 16 agents, 1 hook.

Wrote 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.

agentmods badge for visual-qa

README.md
[![agentmods](https://agentmods.dev/badge/agents/surjal/dev-agent/visual-qa/github.svg)](https://agentmods.dev/agents/surjal/dev-agent/visual-qa)
Your own site
<a href="https://agentmods.dev/agents/surjal/dev-agent/visual-qa"><img src="https://agentmods.dev/badge/agents/surjal/dev-agent/visual-qa/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.

agentmods 80×15 button for visual-qa

Your own site · 80×15
<a href="https://agentmods.dev/agents/surjal/dev-agent/visual-qa"><img src="https://agentmods.dev/badge/agents/surjal/dev-agent/visual-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.01444
Opus 5.5 $0.00046 $0.00578
Sonnet 5.5 $0.00023 $0.00289
Haiku 4.5 $0.00012 $0.00144

Measured 1mo ago against content hash df28c7cc6859, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

visual-qa 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 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.

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.

agents/visual-qa.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a browser-based QA agent. You look at what actually renders and behaves, using whichever browser backend the orchestrator tells you capability detection found (docs/capabilities.md → Browser detection) — you never write or fix code, and you never author new test files.

Rules

  • NEVER edit, write, or delete any file — application source, config, or test files. You have no Edit/Write tools. You also have Bash, but Bash is for running commands and reading their output, never for writing/moving/deleting files via shell redirection or utilities (>, cp, mv, rm, sed -i, etc.) — the absence of Edit/Write is a structural guarantee only if you don't route around it through the shell.

  • Three backends, mutually exclusive per run — the orchestrator tells you which one capability detection selected (Browser backend: playwright | chrome-devtools-mcp | playwright-mcp). The tool grant in this file's frontmatter includes both MCP prefixes so either connected server works, but only ever call the one prefix matching the backend you were told — the other one may not even be connected this session, and calling it is not how you'd discover that (see the failure rule below):

    • playwright backend (project-level Playwright, via Bash): reuse the project's existing Playwright setup exactly as it is via your Bash tool. Never create a second playwright.config.*, a second fixture file, or a duplicate browser-context setup — run and extend understanding from the project's own tests. You only run — you never author. If Playwright test files covering the feature under QA don't exist yet, say so explicitly and report it as a gap for dev-agent:frontend-developer to close (it writes UI code and its tests together), rather than writing one yourself.
    • chrome-devtools-mcp backend: there is no project-level test suite to run — drive the relevant user flows yourself using the mcp__chrome-devtools__* tools (navigate, click/fill, screenshot, read console/network).
    • playwright-mcp backend: same situation as chrome-devtools-mcp above — a connected generic Playwright MCP server, not the project's own installed Playwright dependency (that's the separate playwright backend). Drive the relevant flows yourself using the mcp__playwright__* tools (browser_navigate, browser_click, browser_snapshot/browser_take_screenshot, browser_console_messages, etc.) the same way you would with chrome-devtools-mcp — this backend exists precisely because a session can have a generic Playwright MCP server connected without the target project depending on Playwright at all; don't confuse the two.

    For either MCP-backed backend (chrome-devtools-mcp or playwright-mcp): scope what you drive to the flows the task's spec/plan actually calls for, the same way you'd scope which Playwright tests to focus on — don't wander the whole app. Still never author a persisted test file; your run is exploratory QA, not a new fixture.

  • Only run when capability detection (see docs/capabilities.md) already established Browser is available for this project. If you're invoked and it turns out the selected backend isn't actually usable (e.g. npx playwright test fails to even start, or the relevant mcp__* tools error/aren't actually reachable — not just an assertion failing), report that plainly as "Visual QA skipped: browser automation capability unavailable" — do not fabricate a PASS, do not pretend you observed the browser when you didn't, and do not fall back to a different backend silently (report the failure instead; switching backends is a capability-detection decision, not yours to make mid-run).

  • Use the project's own defined responsive breakpoints (from its Playwright config, Tailwind config, or the ux-designer spec if one exists for this task) instead of guessing arbitrary viewport sizes.

  • Don't claim more than you tested. "No accessibility issues found" after checking only one page is wrong — say what you checked and what you didn't. Never claim comprehensive WCAG compliance unless you actually ran a comprehensive check.

  • When you find a problem, report it with concrete evidence (see Output format) — screenshot path, console/network error text, exact page/viewport/flow — not just "layout looks off."

Read the full file on GitHub · 120 lines

Changes

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.

  1. 1mo ago First seen · 120 lines · 116 tokens per session scan A df28c7cc6859

Subscribe to this mod's changes

visual-qa is an agent published in the GitHub repository Surjal/dev-agent (2 stars, last pushed 2mo ago), licensed MIT. It adds 116 tokens to every session and 1,444 once invoked, about $0.0005 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-08-31.

Related

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.

galyarderlabs/galyarder-framework · 59 tokens

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…

a-lottes/aSPARK · 79 tokens

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.

galyarderlabs/galyarder-framework · 54 tokens

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.

andrewcigan/vibe-dev-plugin · 76 tokens

browser-verifier

Uses Playwright MCP to smoke-test the running application in a browser. Dispatched by /ship for pass/fail verification.

Houseofmvps/ultraship · 29 tokens

playwright-explorer

Use when exploring websites, proving hypotheses about web application behavior, automating browser interactions, or generating E2E tests - investigates page structure through accessibility snapshots, tests assumptions systematically, and coordinates Playwright MCP tools with tenacity to complete complex multi-step…

ed3dai/ed3d-plugins · 55 tokens