visual-qa

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

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.

agentmods
npx agentmods add agents/surjal/dev-agent/visual-qa
Clone the repo
git clone --depth 1 https://github.com/Surjal/dev-agent
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. Scan, not verified.
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 $0.00116 $0.01444
Opus 5 $0.00058 $0.00722
Sonnet 5 $0.00023 $0.00289
Haiku 4.5 $0.00012 $0.00144

Measured yesterday against content hash df28c7cc6859, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 17d ago), licensed MIT. It adds 116 tokens to every session and 1,444 once invoked, about $0.0006 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.

Related

Other agents, from other repositories

frontend-dev

You are a senior frontend developer specializing in modern web applications. Focus on performance, accessibility, security, and user experience.

dolutech/dolu-agents-skills · 0 tokens

playwright

Browser automation and web interaction using Playwright.

nikolasrieble/opencode-config · 8 tokens

PowerHous3-Max

PowerHous3-MAX - High-power OpenCode meta-agent with full bash access. Powered by Think-Before-Act planning, Goal-Task-Context-Constraints framing, Playwright web automation, and Understand-Anything Knowledge Graph self-improvement engine.

Sdinzsh/PowerHou53 · 52 tokens

PowerHous3

PowerHous3 - Safe OpenCode meta-agent with bash:ask confirmation gates. Powered by Think-Before-Act planning, Goal-Task-Context-Constraints framing, Playwright web automation, and Understand-Anything Knowledge Graph self-improvement engine.

Sdinzsh/PowerHou53 · 51 tokens

hermes

Powerhouse 3 Procedural Memory, Skill Creation & Reflection Sub-Agent. Specializes in learning new tools, libraries, frameworks, APIs, and domains on demand using Web Search, Web Fetch, and Playwright. Generates and patches agentskills.io standard SKILL.md documents with progressive disclosure levels, manages…

Sdinzsh/PowerHou53 · 90 tokens

explore

Codebase exploration & Understand-Anything sub-agent under PowerHous3 command. Specializes in AST knowledge graph traversal, file discovery, architecture analysis, diff impact (/understand-diff), pattern detection, and Playwright UI inspection. Read-only. Does NOT accept direct user tasks.

Sdinzsh/PowerHou53 · 60 tokens