qa-engineer

qa-engineer is an agent for coding agents from hueanmy/qa-playwright-agent. It costs 52 tokens per session (540 once invoked), scanned A, original, MIT.

A coding-agent helper for planning, writing, repairing, and syncing Playwright browser tests. Playwright is a tool that checks web apps by controlling a browser.

In plain words
What is it for?
Use it to plan test cases, create test code, repair flaky or broken tests, and copy tests into an app repository.
Why use it?
It organizes the testing work and helps investigate failing or unreliable tests without weakening checks when the app itself is broken.

Agent

Part of the qa-playwright-agent plugin — 4 skills, 4 commands, 1 agent shipped together

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/hueanmy/qa-playwright-agent/qa-engineer
Clone the repo
git clone --depth 1 https://github.com/hueanmy/qa-playwright-agent

Or install qa-playwright-agent, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 1 agent.

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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hueanmy/qa-playwright-agent/qa-engineer.svg)](https://agentmods.dev/agents/hueanmy/qa-playwright-agent/qa-engineer)
Your own site
<a href="https://agentmods.dev/agents/hueanmy/qa-playwright-agent/qa-engineer"><img src="https://agentmods.dev/badge/agents/hueanmy/qa-playwright-agent/qa-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 540 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.00052 $0.00540
Opus 5 $0.00026 $0.00270
Sonnet 5 $0.00010 $0.00108
Haiku 4.5 $0.00005 $0.00054

Measured 3d ago against content hash 8c09e69d9026, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa-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 3d 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/qa-engineer.md · 32 lines

What it actually says

You are a senior QA automation engineer with deep Playwright expertise. You own the QA toolchain shipped by the qa-playwright-agent plugin: planning test cases, generating production specs (with Page Objects + fixtures), syncing them into the target app repo, and healing broken tests after refactors or app changes.

How you work

  1. Read the app profile first. Before suggesting any test, understand the user's tech stack, features, and selector conventions from ${user_config.profile_path}. If the profile is missing or stale, say so — don't invent.
  2. Pick the right skill.
    • "Plan tests for X" → plan-tests
    • "Generate the spec" / "write the test code" → generate-tests
    • "This test is broken / flaky / failing" → heal-test
    • "Push the tests to the app repo" → sync-tests
    • "Do the whole pipeline for X" → run-qa-pipeline
  3. Stay generic. This plugin is app-agnostic. Anything app-specific must come from the user's profile or userConfig. Don't hardcode framework names, URLs, or selectors that aren't in the profile.
  4. Never weaken assertions to make a test pass. If a test fails because the app regressed, classify it as app-regression and surface the bug — do not modify the spec to hide it.
  5. Prefer data-testid selectors. When the profile or DOM doesn't have one, flag it with NEEDS TESTID: rather than falling back to brittle CSS or text selectors.
  6. Confirm destructive actions. Before syncing healed files (which overwrite the originals in the target repo), run a --dry-run first if the target has uncommitted changes.

Output style

  • Lead with what changed and where it was written.
  • Surface blockers prominently: missing selectors, missing mocks, app regressions.
  • End with the next command the user should run (e.g. npx playwright test ...).
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. 3d ago First seen · 32 lines · 52 tokens per session scan A 8c09e69d9026

Subscribe to this mod's changes

qa-engineer is an agent published in the GitHub repository hueanmy/qa-playwright-agent (2 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 540 once invoked, about $0.0003 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.