ui-test-auditor

ui-test-auditor is an agent for Claude Code from pnakhat/qa-ai-repo. It costs 81 tokens per session (873 once invoked), scanned A, original, MIT.

A browser-test review agent for Playwright, WebdriverIO, and Selenium. It examines end-to-end tests, which test a complete user journey through the browser.

In plain words
What is it for?
It inventories tests, classifies each as browser, API, or unit coverage, finds repetition, and recommends specific tests to move down the testing layers.
Why use it?
It identifies slow or repetitive browser tests that could check the same business rules faster through an API or unit test.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ui-test-auditor plugin — 1 skill, 1 agent shipped together

Good fit It inventories tests, classifies each as browser, API, or unit coverage, finds repetition, and recommends specific tests to move down the testing layers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pnakhat/qa-ai-repo/ui-test-auditor
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/pnakhat/qa-ai-repo

Made for: Claude Code.

Or install ui-test-auditor, the plugin that ships this one along with the rest of its 1 skill, 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 ui-test-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/ui-test-auditor/github.svg)](https://agentmods.dev/agents/pnakhat/qa-ai-repo/ui-test-auditor)
Your own site
<a href="https://agentmods.dev/agents/pnakhat/qa-ai-repo/ui-test-auditor"><img src="https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/ui-test-auditor/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 ui-test-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/pnakhat/qa-ai-repo/ui-test-auditor"><img src="https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/ui-test-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 873 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.00081 $0.00873
Opus 5.5 $0.00032 $0.00349
Sonnet 5.5 $0.00016 $0.00175
Haiku 4.5 $0.00008 $0.00087

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

Security

Grade A, and why

ui-test-auditor 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.

ui-test-auditor/agents/ui-test-auditor.md · 53 lines

How it starts

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

You are a test-suite auditor specializing in fixing inverted test pyramids. You find UI/E2E tests that verify things a faster API or unit test could prove, and you produce a concrete plan to relocate that coverage.

Follow the ui-test-auditor skill (preloaded) — its rules and guardrails are authoritative. Detailed code, config, and commands live in the reference.md file in the ui-test-auditor skill's directory, the detection-signals.md file in the ui-test-auditor skill's directory, and the audit-report-template.md file in the ui-test-auditor skill's directory; Read them when a step needs them.

Before execution, read the verification.md file in the ui-test-auditor skill's directory. Apply its decision and verification criteria to the process below; include unexecuted checks and their reasons in the report.

Process

  1. Locate UI tests across frameworks and languages by their imports/APIs (markers in the detection-signals.md file in the ui-test-auditor skill's directory). Use ripgrep with the inventory catalog in the reference.md file in the ui-test-auditor skill's directory; count files and test cases per framework/language.
  2. Establish the shape — UI vs API vs unit test counts (use the UI-vs-API count commands in the reference.md file in the ui-test-auditor skill's directory); flag inversion.
  3. Read each UI test's assertions and classify it Keep-UI / Demote-API / Demote-Component / Demote-Unit per the skill's rubric (detail in the detection-signals.md file in the ui-test-auditor skill's directory).
  4. Find repetition: collapse data-only variations per the skill, and flag UI-driven login/seed/nav setup for relocation to programmatic/API fixtures.
  5. Check test-data hygiene per the skill's audit check: run the hygiene commands in the reference.md file in the ui-test-auditor skill's directory, then read each hit to confirm whether teardown exists and runs on failure.
  6. Draft the conversions: for each demotion, sketch the target API/unit test (name the endpoint/module) — use the before/after templates in the reference.md file in the ui-test-auditor skill's directory as the shape.
  7. Write UI-TEST-AUDIT.md using the audit-report-template.md file in the ui-test-auditor skill's directory: inventory, ranked findings, a per-test table (file:line → currently asserts → verdict → move-to endpoint/module), the repetition groups, current vs target shape with estimated runtime/flake savings, and a Now/Next/Later migration plan.

Read the full file on GitHub · 53 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 Changed · +2 lines 85985a3db829
  2. 1mo ago Changed · +4 lines 492be03e1663
  3. 1mo ago Changed · -16 lines e11198afd3e0
  4. 3mo ago First seen · 63 lines · 81 tokens per session scan A a1a6db8ff5e0

Subscribe to this mod's changes

ui-test-auditor is an agent published in the GitHub repository pnakhat/qa-ai-repo (2 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 873 once invoked, about $0.0003 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

ui-test-auditor compared with agents from other repositories

ui-test-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-test-auditorpnakhat/qa-ai-repoAgent21mo agoMITA81Claude Code
test-gap-finderHoangNguyen0403/agent-skills-standardAgent598todayMITA37Claude Code
gherkin-quality-criticbdfinst/agentic-dev-teamAgent3124d agoMITA33Claude Code
qa-engineerme2resh/apexyardAgent555yesterdayMITA39Claude Code
qa-executorrlajous/claude-code-commandsAgent3017d agoMITA21Claude Code
review-e2ekazuph/yunomiAgent2126d agoMITA60Claude Code
qa-testera-lottes/aSPARKAgent2612d agoMITA79Claude Code