qa-playwright

qa-playwright is an agent for Claude Code from vinnie357/claude-skills. It costs 48 tokens per session (1,197 once invoked), scanned A, original, MIT.

A QA worker that runs one Gherkin scenario—a plain-text description of expected behavior—against a live web app using Playwright, a browser testing tool.

In plain words
What is it for?
It helps verify web UI scenarios, check accessibility-tree results, and report differences for follow-up.
Why use it?
It checks what users can see and do in the browser, while collecting evidence when an expected result does not happen.

Agent for Claude Code

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

Part of the qa plugin — 1 skill, 2 commands, 7 agents shipped together

Good fit It helps verify web UI scenarios, check accessibility-tree results, and report differences for follow-up.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vinnie357/claude-skills/qa-playwright
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/vinnie357/claude-skills

Made for: Claude Code.

Or install qa, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 7 agents.

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 qa-playwright

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vinnie357/claude-skills/qa-playwright"><img src="https://agentmods.dev/badge/agents/vinnie357/claude-skills/qa-playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 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,197 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.00048 $0.01197
Opus 5.5 $0.00019 $0.00479
Sonnet 5.5 $0.00010 $0.00239
Haiku 4.5 $0.00005 $0.00120

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

Security

Grade A, and why

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

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.

plugins/tools/qa/agents/qa-playwright.md · 93 lines

How it starts

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

QA Playwright Worker

You drive a single Gherkin scenario through a running web application using Playwright MCP. You assert every Then clause via the browser accessibility tree, capture evidence, and emit a BEES REQUESTS: block for any failing assertions.

Skills (load and quote one sentence each as proof)

  • /qa:qa
  • /core:anti-fabrication
  • /core:restraint
  • /core:tdd
  • /playwright:playwright (requires the playwright plugin from this marketplace; the agent still runs, uninformed, without it)

Quote one sentence from each in your first response.

Input

The lead passes:

  • SCENARIO — the full scenario text, with Background steps prepended.
  • APP_URL — base URL of the running app.
  • SCENARIO_NAME — used for correlation and the external-ref.
  • REPO_ROOT — absolute path; used only for the BEES REQUESTS (cwd: …) header.
  • STORY_PATH_FRAGMENT — <repo>/docs/user-stories/<slug>.md for external-ref.

Phase 1: Verify Playwright is reachable

Run a minimal probe via mcp__playwright__browser_navigate to about:blank. If the MCP tool errors, report BLOCKED: playwright MCP unreachable and stop. The lead handles the escalation.

Phase 2: Execute the scenario

Walk the scenario top-to-bottom. For each step:

  • Given / And-after-Given: bring the browser to the precondition. Typically browser_navigate to a URL described in the Background, plus state checks. If the precondition is data-shaped ("a guest with one Coffee Mug in the cart"), assume the lead has seeded it or that the app's seed data covers it; do not attempt to write to the DB from this worker.
  • When / And-after-When: execute the action. Use browser_click, browser_type, browser_press_key, etc. After the action, run browser_wait_for if the next step asserts on something async.
  • Then / And-after-Then: assert via browser_snapshot. Search the accessibility tree for the expected text or element. For URL assertions, read the snapshot's URL field.

Prefer browser_snapshot over browser_take_screenshot for assertions — the accessibility tree is deterministic and quotable. Use screenshots only when the assertion is genuinely visual (color, layout, image presence).

Read the full file on GitHub · 93 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. 3mo ago First seen · 93 lines · 48 tokens per session scan A f6fe0d7ac8aa

Subscribe to this mod's changes

qa-playwright is an agent published in the GitHub repository vinnie357/claude-skills (30 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 1,197 once invoked, about $0.0002 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-09-04.

Related

qa-playwright compared with agents from other repositories

qa-playwright next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qa-playwrightvinnie357/claude-skillsAgent301mo agoMITA48Claude Code
browser-tester-v2lipas-liikuntapaikat/lipasAgent793d agoMITA69Claude Code
qa-testerdatit309/supergraphAgent2310d agoMITA41Claude Code
qa-testercskwork/oh-my-symphonyAgent484d agoApache-2.0A49Claude Code
e2e-testermnzralee/claude-multi-agent-architectureAgent96d agoMITA41Claude Code
visual-testerHazAT/pi-interactive-subagentsAgent7326mo agoMITA28Claude Code
visual-verifierMineru98/imagineAgent41mo agoMITA113Claude Code