agent-whole-qa

agent-whole-qa is a skill for Claude Code, Codex from weiyi88/cc-code. It costs 35 tokens per session (10,238 once invoked), scanned A, original, MIT.

A coordinator for testing an entire application and sending failures to separate development and testing agents. It repeats repair and regression rounds rather than writing code or tests itself.

In plain words
What is it for?
Use it for final, whole-application acceptance testing, distributing checks, collecting failures, coordinating repairs, and rerunning affected tests.
Why use it?
Separating testing from fixing reduces the risk that the same agent excuses its own changes. Fixed test scope and stopping rules also prevent silently skipping checks or looping forever.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **运行中零提问**:ESCALATE、视觉规格错、未收敛都不中途问人,记账后照跑能跑的部分,结尾按 `../cc-code/references/dev-qa-loop.md` §九 的交人报告格式一次交人(本命令只借用该节的挂起与交人报告,不适用单段回环)。.

Part of the cc-code plugin — 19 skills, 6 agents, 1 hook shipped together

Good fit Use it for final, whole-application acceptance testing, distributing checks, collecting failures, coordinating repairs, and rerunning affected tests.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/weiyi88/cc-code
agentmods
npx agentmods add skills/weiyi88/cc-code/agent-whole-qa

Made for: Claude Code, Codex.

Or install cc-code, the plugin that ships this one along with the rest of its 19 skills, 6 agents, 1 hook.

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 agent-whole-qa

README.md
[![agentmods](https://agentmods.dev/badge/skills/weiyi88/cc-code/agent-whole-qa/github.svg)](https://agentmods.dev/skills/weiyi88/cc-code/agent-whole-qa)
Your own site
<a href="https://agentmods.dev/skills/weiyi88/cc-code/agent-whole-qa"><img src="https://agentmods.dev/badge/skills/weiyi88/cc-code/agent-whole-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 agent-whole-qa

Your own site · 80×15
<a href="https://agentmods.dev/skills/weiyi88/cc-code/agent-whole-qa"><img src="https://agentmods.dev/badge/skills/weiyi88/cc-code/agent-whole-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,238 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.00035 $0.10238
Opus 5.5 $0.00014 $0.04095
Sonnet 5.5 $0.00007 $0.02048
Haiku 4.5 $0.00003 $0.01024

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

Security

Grade A, and why

agent-whole-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 27d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/whole-qa.workflow.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/agent-whole-qa/SKILL.md · 439 lines

How it starts

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

agent-whole-qa — 全量验收 + 修复闭环编排器

⚠️ 暂停(1.17.0 起):本命令依赖旧 qa 的全量验收 / 复现取证职责;qa 已改造为检测员(只比对本次改动),本命令待重新设计,暂勿使用。日常交付走 /cc-code:check-fix。

与 qa agent 的关系:qa 是「单模块测一次」的原子能力;本 skill 是「全模块 × 多轮 + 修复回环」的编排层,复用 qa,不重写测试逻辑。 与 agent-mvp 的关系:agent-mvp 每阶段用 qa 做增量验收;本 skill 用于 MVP 收口前的一次性全量清算。 运行中零提问:ESCALATE、视觉规格错、未收敛都不中途问人,记账后照跑能跑的部分,结尾按 ../cc-code/references/dev-qa-loop.md §九 的交人报告格式一次交人(本命令只借用该节的挂起与交人报告,不适用单段回环)。 主控是编排者,不扮演任何角色:派哪个 agent 就是哪个角色(权限唯一出处 = active/Agent.md §三)。主控的写权限见 active/Agent.md §一;清点与汇总记账、gates.md、docs/qa/**、视觉测试与截图基线全归 qa,修复归 dev。

⛔ 六条硬约束(违反任一即本次验收无效)

1. 你是编排器,不是执行者

❌ 错:agent-whole-qa 自己测、自己修
        → 测的人知道修的人怎么想,修的人知道测的人怎么测 → 互相糊弄
✅ 对:agent-whole-qa 只做 清点 / 分发 / 汇总 / 循环控制

    agent-whole-qa(不碰代码,不碰需求,不碰验收记录)
       ├─ Agent(subagent_type=qa)  ──► 清点 / 测 / 汇总记账(测的时候只拿到断言,不知道谁会修)
       └─ Agent(subagent_type=dev) ──► 修(只拿到 FAIL 清单,不知道怎么测的)

主控绝不自己写测试、自己改代码。发现自己在写 expect(...) 或改 src/ 就是越界了。

2. 分母先锁定,再开测

INVENTORY 阶段的产物落盘后本轮分母不可变更。禁止中途以「这个按钮不用测」「这个接口是内部的」为由缩小分母。要改分母,只能作废本轮重新开始。

全量分母固定为五个基础分母 + 一个视觉组合子行:
  断言 A / 页面五态 U / 可交互元素 E / 接口 / 视觉 V 行
  └─ 视觉组合子行 = V 行 × 视口集合 × 亮暗        ← 只记组合覆盖,⛔ 不乘进 V 行分母

  视觉分母口径(唯一出处 = skills/cc-code/references/ui-gates.md §8.2)
    全量轮:V0.02 全站 + 每页每适用组 + 全站性能 V0.09
    V0.01(设计数值)只在锁定前复核出,全量轮不出
    ⛔ V 行不按「视口 × 亮暗」乘开;屏宽与亮暗写证据列

3. 禁止修需求,也禁止动尺子

本 skill 及其派生的 dev subagent 对以下文件【只读,绝对禁写】:
    active/prd.md      active/ux.md      active/api.md
    active/design.md   ← 视觉数值(V 段判词的尺子)
    .cc-code/test/visual/**          ← 视觉测试与基线(qa 独占写)
    .cc-code/test/visual/baseline/** ← 截图基线与允许值集合
修不动 → 标记 ESCALATE,进结尾交人报告(§九)

这是 AI 修 bug 时最常走的偷懒路径:改断言 / 改基线让测试变绿。不用规则堵死,它一定会走。⛔ 主控不代写 design.md、不代为更新基线。

4. 收敛门控

第 N 轮 FAIL 数 必须 < 第 N-1 轮 FAIL 数
  ├─ 不递减        → 停止,报告「未收敛」,出交人报告(§九)
  ├─ 出现新增 FAIL → 停止(修 A 坏 B),报告震荡点,建议回滚本轮
  └─ 最多 3 轮

5. 回归门(每轮必跑)

每轮修完,重跑范围 = 本轮 FAIL 项  +  affected 算出的真实影响面
                                    ↑ 缺这半段就会「越修越坏」而毫不知情

  ⭐0.10.0:影响面从「同模块已 PASS 项」升级为 codegraph affected 算出的
  传递闭包 —— 同模块是人凭直觉画的圈,affected 是沿 import 图算出的事实,
  跨模块的隐式依赖只有后者抓得到。

  codegraph affected <本轮修改的源文件...>
    非 .spec/.test 命名的测试补跑 --filter "<project.md §六 登记的 glob>"
    返回空 → 报一行「未匹配到测试,本轮用全量」+ 自查三点:
             ① 测试代码是否被 .gitignore 屏蔽(被 ignore 则不进索引)
             ② 测试是否 import 被测源码(纯 HTTP 型无 import 边,追不到)
             ③ 命名是否需 --filter
    CLI 未装 → 静默退回「同模块已 PASS 项」,不报

Read the full file on GitHub · 439 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 27d ago Changed · +2 lines · +3 tokens per session 7ebf9e4f953b
  2. 1mo ago Changed a9ced43f3e63
  3. 1mo ago Changed · +1 lines b87cb1004d03
  4. 1mo ago Changed · +88 lines b73e30df0c86
  5. 1mo ago Changed · +54 lines · +6 tokens per session 2e98266d4aeb
  6. 1mo ago Changed · +5 lines fae993c0e68c
  7. 2mo ago Changed · -99 tokens per session c6a329396b8d
  8. 2mo ago First seen · 289 lines · 125 tokens per session scan A a765fa9a9993

Subscribe to this mod's changes

agent-whole-qa is a skill published in the GitHub repository weiyi88/cc-code (5 stars, last pushed 27d ago), licensed MIT. It adds 35 tokens to every session and 10,238 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-09-13.

Related

agent-whole-qa compared with skills from other repositories

agent-whole-qa next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-whole-qaweiyi88/cc-codeSkill527d agoMITA35Claude Code, Codex
state-machineMadAppGang/claude-codeSkill2908mo agoMITA20Claude Code, Codex
skill-creatortae0y/python-project-templateSkill153mo agononeA64Claude Code
mutation-testingtae0y/python-project-templateSkill153mo agononeA23Claude Code
planningtae0y/python-project-templateSkill153mo agononeA22Claude Code
testingtae0y/python-project-templateSkill153mo agononeA17Claude Code
davinci-definetae0y/python-project-templateSkill153mo agononeA52Claude Code