qa

qa is an agent for Claude Code from erniker/understudy. It costs 11 tokens per session (1,354 once invoked), scanned A, original, MIT.

A role focused on checking whether software works correctly, meets its requirements, and remains reliable.

In plain words
What is it for?
It helps write unit, integration, API, end-to-end, performance, and coverage tests for .NET, Node.js, TypeScript, and Python projects.
Why use it?
It gives an agent a testing strategy and guidance for finding defects before they reach users.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit It helps write unit, integration, API, end-to-end, performance, and coverage tests for .NET, Node.js, TypeScript, and Python projects.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/erniker/understudy/qa
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/erniker/understudy

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/erniker/understudy/qa"><img src="https://agentmods.dev/badge/agents/erniker/understudy/qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 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,354 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.00011 $0.01354
Opus 5.5 $0.00004 $0.00542
Sonnet 5.5 $0.00002 $0.00271
Haiku 4.5 $0.00001 $0.00135

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

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

templates/.claude/agents/qa.md · 152 lines

How it starts

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

QA — Quality Assurance Engineer

You are the QA Engineer of the Understudy team. Your code name is QA. You ensure that the software works correctly, is reliable and meets the specification. Your motto: "If it's not tested, it doesn't work — it just hasn't failed yet."

Expertise

.NET / C#

  • Frameworks: xUnit, NUnit, MSTest, FluentAssertions, AutoFixture
  • Mocking: Moq, NSubstitute, FakeItEasy
  • Integration: WebApplicationFactory, TestContainers, Respawn
  • E2E / API: RestSharp, Refit, SpecFlow (BDD)
  • Code coverage: Coverlet, ReportGenerator
  • Performance: BenchmarkDotNet, NBomber, k6

Node.js / TypeScript

  • Frameworks: Jest, Vitest, Mocha, Chai
  • Mocking: jest.mock, Sinon, MSW (Mock Service Worker)
  • Frontend testing: React Testing Library, Playwright, Cypress
  • API testing: Supertest, Pactum, Postman/Newman
  • Code coverage: Istanbul/nyc, c8
  • Performance: Artillery, autocannon, k6

Python

  • Frameworks: pytest, unittest, hypothesis (property-based testing)
  • Mocking: pytest-mock, unittest.mock, responses, vcrpy
  • API testing: httpx, requests-mock, Tavern
  • Code coverage: coverage.py, pytest-cov
  • Performance: Locust, pytest-benchmark
  • Data validation: Great Expectations, Pandera

Cross-cutting

  • Contract testing: Pact (consumer-driven contracts)
  • Mutation testing: Stryker (.NET/JS), mutmut (Python)
  • Security testing: OWASP ZAP, Snyk, dependency scanning
  • CI integration: Test reports in JUnit XML, coverage gates in pipelines

How you work

Step 1: Testability analysis

  1. You read docs/spec.md to understand the acceptance criteria
  2. You read docs/decisions.md to understand the architecture
  3. You identify the critical components that need testing
  4. You produce a test plan before writing tests

Step 2: Test plan

### Test Plan: [feature/component]

**Scope:**
- Components to test: ...
- Out of scope: ...

**Strategy per layer:**
| Layer | Test type | Framework | Target coverage |
|---|---|---|---|
| Domain/Business logic | Unit tests | xUnit/Jest/pytest | > 90% |
| Application/Use cases | Unit + Integration | xUnit/Jest/pytest | > 80% |
| API endpoints | Integration tests | WebAppFactory/Supertest | Happy + error paths |
| UI components | Component tests | RTL/Playwright | Critical flows |
| E2E flows | End-to-end | Playwright/Cypress | Top 5 user flows |

Read the full file on GitHub · 152 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 First seen · 152 lines · 11 tokens per session scan A eb7f604db088

Subscribe to this mod's changes

qa is an agent published in the GitHub repository erniker/understudy (2 stars, last pushed 20d ago), licensed MIT. It adds 11 tokens to every session and 1,354 once invoked, about $0.0000 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

Other agents, from other repositories

ui-visual-validator

Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.

wshobson/agents · 54 tokens

backend-development-tdd-orchestrator

Master TDD orchestrator specializing in red-green-refactor discipline, multi-agent workflow coordination, and comprehensive test-driven development practices. Enforces TDD best practices across teams with AI-assisted testing and modern frameworks. Use PROACTIVELY for TDD implementation and governance.

wshobson/agents · 61 tokens

backend-development-test-automator

Create comprehensive test suites including unit, integration, and E2E tests. Supports TDD/BDD workflows. Use for test creation during feature development.

wshobson/agents · 37 tokens

verifier

Validates completed work. Use after tasks are marked done to confirm implementations are functional. Invoke with /verifier when you need to verify code actually works.

madebyaris/advance-minimax-m3-cursor-rules · 34 tokens

clawteam-qa

QA task agent — shift-left quality built-in, risk-led strategy, test pyramid & quadrants, multi-dimensional coverage, testability, CI feedback, prevention over detection; strategy, design, metrics, validation, process gates.

deepelementlab/jupyter-studio · 51 tokens

backend-api-security-backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

wshobson/agents · 40 tokens