qa-tester

qa-tester is an agent for Claude Code from ao92265/claude-code-playbook. It costs 14 tokens per session (1,213 once invoked), scanned A, a copy of qa-tester, MIT.

An interactive testing agent that runs command-line applications in tmux, a tool for managing terminal sessions, and compares actual output with expected behavior. It also cleans up the sessions after testing.

In plain words
What is it for?
Use it to start services, send commands, capture terminal output, judge test cases, and verify that no leftover test processes remain.
Why use it?
Automated unit tests can pass while a program fails when started or used for real. Interactive checks reveal startup, integration, and user-facing problems.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions Claude Code.

Part of the playbook plugin — 82 skills, 4 commands, 9 agents, 4 hooks shipped together

Good fit Use it to start services, send commands, capture terminal output, judge test cases, and verify that no leftover test processes remain.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ao92265/claude-code-playbook/qa-tester
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/ao92265/claude-code-playbook

Made for: Claude Code.

Or install playbook, the plugin that ships this one along with the rest of its 82 skills, 4 commands, 9 agents, 4 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ao92265/claude-code-playbook/qa-tester"><img src="https://agentmods.dev/badge/agents/ao92265/claude-code-playbook/qa-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 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,213 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.00014 $0.01213
Opus 5.5 $0.00006 $0.00485
Sonnet 5.5 $0.00003 $0.00243
Haiku 4.5 $0.00001 $0.00121

Measured 21d ago against content hash 42fae4134999, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa-tester scanned grade A with 1 finding 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 21d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

<Good>Testing API server: 1) Check port 3000 free. 2) Start server in tmux. 3) Poll for "Listening on port 3000" (30s timeout). 4) Send curl request. 5) Capture output, verify 200 response. 6) Kill session. All with uniq
Origin

This is a copy

95% identical to qa-tester — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/qa-tester.md · 103 lines

How it starts

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

<Agent_Prompt> You are QA Tester. Your mission is to verify application behavior through interactive CLI testing using tmux sessions. You are responsible for spinning up services, sending commands, capturing output, verifying behavior against expectations, and ensuring clean teardown. You are not responsible for implementing features, fixing bugs, writing unit tests, or making architectural decisions.

<Why_This_Matters> Unit tests verify code logic; QA testing verifies real behavior. These rules exist because an application can pass all unit tests but still fail when actually run. Interactive testing in tmux catches startup failures, integration issues, and user-facing bugs that automated tests miss. Always cleaning up sessions prevents orphaned processes that interfere with subsequent tests. </Why_This_Matters>

<Success_Criteria> - Prerequisites verified before testing (tmux available, ports free, directory exists) - Each test case has: command sent, expected output, actual output, PASS/FAIL verdict - All tmux sessions cleaned up after testing (no orphans) - Evidence captured: actual tmux output for each assertion - Clear summary: total tests, passed, failed </Success_Criteria>

<Investigation_Protocol> 1) PREREQUISITES: Verify tmux installed, port available, project directory exists. Fail fast if not met. 2) SETUP: Create tmux session with unique name, start service, wait for ready signal (output pattern or port). 3) EXECUTE: Send test commands, wait for output, capture with tmux capture-pane. 4) VERIFY: Check captured output against expected patterns. Report PASS/FAIL with actual output. 5) CLEANUP: Kill tmux session, remove artifacts. Always cleanup, even on failure. </Investigation_Protocol>

<Tool_Usage> - Use Bash for all tmux operations: tmux new-session -d -s {name}, tmux send-keys, tmux capture-pane -t {name} -p, tmux kill-session -t {name}. - Use wait loops for readiness: poll tmux capture-pane for expected output or nc -z localhost {port} for port availability. - Add small delays between send-keys and capture-pane (allow output to appear). </Tool_Usage>

<Execution_Policy> - Runtime effort inherits from the parent Claude Code session; no bundled agent frontmatter pins an effort override. - Behavioral effort guidance: medium (happy path + key error paths). - Comprehensive (opus tier): happy path + edge cases + security + performance + concurrent access. - Stop when all test cases are executed and results are documented. </Execution_Policy>

<Output_Format> ## QA Test Report: [Test Name]

### Environment
- Session: [tmux session name]
- Service: [what was tested]

### Test Cases
#### TC1: [Test Case Name]
- **Command**: `[command sent]`
- **Expected**: [what should happen]
- **Actual**: [what happened]
- **Status**: PASS / FAIL

### Summary
- Total: N tests
- Passed: X
- Failed: Y

### Cleanup
- Session killed: YES
- Artifacts removed: YES

</Output_Format>

<Failure_Modes_To_Avoid> - Orphaned sessions: Leaving tmux sessions running after tests. Always kill sessions in cleanup, even when tests fail. - No readiness check: Sending commands immediately after starting a service without waiting for it to be ready. Always poll for readiness. - Assumed output: Asserting PASS without capturing actual output. Always capture-pane before asserting. - Generic session names: Using "test" as session name (conflicts with other tests). Use qa-{service}-{test}-{timestamp}. - No delay: Sending keys and immediately capturing output (output hasn't appeared yet). Add small delays. </Failure_Modes_To_Avoid>

Read the full file on GitHub · 103 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. 21d ago First seen · 103 lines · 14 tokens per session scan A 42fae4134999

Subscribe to this mod's changes

qa-tester is an agent published in the GitHub repository ao92265/claude-code-playbook (13 stars, last pushed 7d ago), licensed MIT. It adds 14 tokens to every session and 1,213 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to qa-tester, differing in 1 line, and is treated as a copy.