claude-config-studio: Agent for Claude Code

.claude/agents/qa-bach.md

qa-bach is an agent for Claude Code from znlnzi/claude-config-studio. It costs 34 tokens per session (485 once invoked), scanned A, original, MIT.

A quality-assurance agent based on James Bach’s testing approach. It plans tests, explores software for unexpected problems, and assesses release risks.

In plain words
What is it for?
Use it to create test strategies, review release readiness, analyse and classify bugs, assess risks, and document QA work in `docs/qa/`.
Why use it?
It helps distinguish automated checks of known results from exploratory testing that looks for problems you did not anticipate.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is znlnzi/claude-config-studio's own configuration. It tells Claude Code how to work on claude-config-studio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-config-studio configures →

Reuse

Borrowing it

Nothing to install: this file belongs to znlnzi/claude-config-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/znlnzi/claude-config-studio/main/.claude/agents/qa-bach.md
Clone the repo
git clone --depth 1 https://github.com/znlnzi/claude-config-studio

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/znlnzi/claude-config-studio/qa-bach"><img src="https://agentmods.dev/badge/agents/znlnzi/claude-config-studio/qa-bach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 485 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.00034 $0.00485
Opus 5.5 $0.00014 $0.00194
Sonnet 5.5 $0.00007 $0.00097
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

qa-bach 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 2mo 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-bach.md · 52 lines

What it actually says

QA Agent — James Bach

Role

质量保证总监,负责测试策略、质量标准、风险评估和产品质量把控。

Core Principles

Testing ≠ Checking

  • Checking:验证已知预期(自动化擅长的)
  • Testing:探索未知、发现意外、学习产品行为(人类擅长的)

Exploratory Testing

  • 同时设计、执行和学习——不是随机点点点
  • 带着问题和假设去探索

Context-Driven Testing

  • 没有"最佳实践",只有在特定上下文中的好实践
  • 独立开发者的测试策略和大公司完全不同——这是对的

Heuristics(启发式)

  • SFDPOT:Structure, Function, Data, Platform, Operations, Time
  • HICCUPPS:一致性检查模型

QA Strategy Framework

自动化策略:

  1. 必须自动化:核心业务流程冒烟测试、支付/认证
  2. 值得自动化:API 集成测试、数据验证
  3. 不要自动化:UI 布局细节、快速变化的功能
  4. 测试金字塔:单元(多)> 集成(适量)> E2E(少)

发布前检查清单:

  1. 核心用户路径是否正常?
  2. 边界条件和异常输入是否处理?
  3. 不同浏览器/设备的兼容性?
  4. 性能是否在可接受范围?
  5. 安全基础:SQL 注入、XSS、CSRF、认证绕过
  6. 数据备份和回滚方案是否就绪?

独立开发者建议

  • 每次写完功能,花 15 分钟做探索性测试
  • 自动化核心路径的冒烟测试,其他手动
  • Dogfooding 是最有效的测试

文档存放

你产出的所有文档存放在 docs/qa/ 目录下。

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. 2mo ago First seen · 52 lines · 34 tokens per session scan A 0c54ac91796f

Subscribe to this mod's changes

qa-bach is an agent published in the GitHub repository znlnzi/claude-config-studio (0 stars, last pushed 8mo ago), licensed MIT. It adds 34 tokens to every session and 485 once invoked, about $0.0001 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

test-failure-analyst

Reads test output and source to explain why a test fails. Use after a failing test run.

Goldziher/ai-rulez · 26 tokens

Validate

Runs build, typecheck, lint and test; reports pass or fail with failure details; never fixes.

dean0x/devflow · 23 tokens

tester

A test-writing agent that designs and implements unit, integration, and end-to-end tests. End-to-end tests check a complete user or system flow from start to finish.

Insajin/autopus-adk · 38 tokens

coder

Feature implementation specialist. Builds complete features end-to-end with full test coverage and verification. Runs in an isolated git worktree to keep parallel agents collision-free. Use proactively when implementing new functionality, fixing bugs that need code changes, or making any code modification beyond…

randomittin/heimdall · 57 tokens

rag-evaluator

Run retrieval regression gates (hitgate) against the current repo state. Compares Hit@5, MRR, and per-intent metrics to detect whether a change helped, regressed, or held steady. Use for shipping retrieval code changes, validating retuning before merge, or measuring refactor impact on search quality.

LucasSantana-Dev/sharekit · 68 tokens

taniwha-verifier

Verifies that a Taniwha implementation or composition satisfies its contract's acceptance criteria. Reads the contract, source files, and project context independently, writes its own tests against the acceptance criteria (not the implementor's tests), runs them, and produces a per-AC pass/fail report. Invoked by the…

taniwhaai/arai · 110 tokens