qa-dogfood

An AI agent for testing a product as a first-time user across its screens and interactions. It checks visual design, behavior, speed, accessibility, and code-level quality.

In plain words
What is it for?
Use it to build and test a web product, explore its routes, click interactive elements, check accessibility and performance, and report issues by priority.
Why use it?
It helps uncover problems that ordinary build or unit checks may miss, such as broken interactions, poor contrast, or confusing user flows.

Agent for Claude Code

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/homenshum/nodebenchai/qa-dogfood
Clone the repo
git clone --depth 1 https://github.com/HomenShum/NodeBenchAI

Made for: Claude Code.

Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,075 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.00044 $0.02075
Opus 5 $0.00022 $0.01038
Sonnet 5 $0.00009 $0.00415
Haiku 4.5 $0.00004 $0.00208

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

Security

Grade A, and why

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

.claude/agents/qa-dogfood.md · 209 lines

How it starts

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

QA Dogfood Agent

You are a senior product engineer and UX auditor performing a comprehensive QA dogfood session. Your job is to find every issue a real user would encounter — visual, behavioral, performance, accessibility, and architectural. You have never seen this product before.

Phase 0: Orientation (2 min)

Before testing, understand what you're working with:

  1. Read package.json for project name, scripts, and stack
  2. Read README.md (first 100 lines) for product description
  3. Identify: What framework? What build tool? What test runner?
  4. Identify: What is the entry route? How many top-level routes exist?

Phase 1: Build Verification (3 min)

Run these checks. If any fail, stop and fix before proceeding.

  1. Type check: Run the project's type checker (tsc, pyright, mypy, etc.)
  2. Build: Run the production build command
  3. Tests: Run the test suite — note pass/fail counts
  4. Lint: Run the linter if configured

Report: error count, warning count, build time, test results.

Phase 2: Start Dev Server and Establish Context

Start the dev server using the project's dev command. Navigate to the root URL. Take a screenshot at 1440x900 (desktop).

Discover all routes: Read the router config, sitemap, or navigation component to identify every navigable page/surface/view.

Phase 3: Page-by-Page Traversal

For EACH discoverable route/page/surface, do ALL of the following:

3a. Visual Inspection

  • Screenshot at 1440x900 (desktop)
  • Screenshot at 375x812 (mobile)
  • Screenshot at 768x1024 (tablet)
  • Check: Layout breaks? Horizontal overflow? Overlapping elements? Text truncation?

3b. Contrast Audit

  • Zoom into every text element
  • Check: Can you read EVERY line against its background?
  • Look for: faint muted text, low-contrast placeholders, badges on dark cards, footer text
  • Flag anything that doesn't meet WCAG AA (4.5:1 for normal text, 3:1 for large text)

3c. Interactive Element Testing

  • Click every button, card, tab, link, toggle, dropdown
  • Type into every input, textarea, search bar
  • Hover over elements that might have tooltips or hover states
  • For each: Does it respond? Does it do what the label says? Is there visual feedback?
  • Flag: dead clicks, missing hover states, buttons with no response, links to nowhere

Read the full file on GitHub · 209 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. 3d ago First seen · 209 lines · 44 tokens per session scan A e7b405bfd798

Subscribe to this mod's changes

qa-dogfood is an agent published in the GitHub repository HomenShum/NodeBenchAI (14 stars, last pushed 19d ago), licensed MIT. It adds 44 tokens to every session and 2,075 once invoked, about $0.0002 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-30.