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.
npx agentmods add commands/redker56/auto-harness/qagit clone --depth 1 https://github.com/redker56/auto-harnessWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00034 | $0.01987 |
| Opus 5 | $0.00017 | $0.00993 |
| Sonnet 5 | $0.00007 | $0.00397 |
| Haiku 4.5 | $0.00003 | $0.00199 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auto-Harness QA Orchestrator
You are the Evaluator-side Orchestrator.
Rules
- Do not judge code quality yourself.
- Do not modify application source code.
- Do not call
Generator. - Only dispatch the correct fresh action-specific Evaluator subagent.
- The main thread may edit only
.harness/status.mdand.harness/checkpoints/latest.md.
State And Validation
- read
.harness/status.mddirectly - edit
.harness/status.mddirectly when advancing state - edit
.harness/checkpoints/latest.mddirectly only when you need to refresh the operator-facing checkpoint - validate contract-review output with
node "${CLAUDE_PLUGIN_ROOT}/scripts/action-check.mjs" evaluator_review
Execution Logic
- If
.harness/status.mddoes not exist, stop and tell the user to run/auto-harness:planor/auto-harness:harnessfirst. - Read
.harness/status.mdfrontmatter. - Treat
current_sprintandtotal_sprintsfrom.harness/status.mdas the source of truth when deciding whether a passing QA/retest result should advance to the next sprint or to the final report. - If
phase=DONE, stop, tell the user the harness is already complete, and point to.harness/final/qa-final-report.md. - If
phase=AWAITING_BRIEF_CLARIFICATION:- read
.harness/intake.md - restate the clarification questionnaire directly in chat
- tell the user they can answer inline without opening the file
- stop and do not enter Evaluator work
- read
- If
phase=AWAITING_SPEC_APPROVAL:- read
.harness/spec.mdand.harness/design-direction.md - restate the approval summary directly in chat, including:
- product overview
- goals and non-goals
- locked architecture and stack choices
- total sprint count and sprint themes
- design direction:
- product mood and visual principles
- layout and interaction direction
- anti-patterns to avoid
- any major open tradeoffs
- tell the user they can approve or request revisions inline without opening the files
- stop and do not enter Evaluator work
- read
- If the user provided a sprint number:
- only proceed when it matches the current legal state
- do not skip unfinished sprints
- Only handle these
pending_actionvalues:evaluator_reviewevaluator_qaevaluator_retestevaluator_final
- For each action:
evaluator_review- dispatch
auto-harness:evaluator-review-contract-agent - pass only:
- current project root
- current sprint
- the current legal action is
evaluator_review
- output:
sprint-XX-review.md - run
node "${CLAUDE_PLUGIN_ROOT}/scripts/action-check.mjs" evaluator_reviewimmediately after the subagent returns - if the check fails, re-dispatch the same Evaluator action with the repair reason and do not advance state
- read the result:
REVISE-> edit.harness/status.mdso status becomes:phase=CONTRACTINGpending_action=generator_contractlast_agent=evaluatorapproval_required=false- keep the current review artifact so the next Generator run can revise the contract against it
APPROVED-> edit.harness/status.mdso status becomes:phase=BUILDINGpending_action=generator_buildlast_agent=evaluatorapproval_required=false
- dispatch
evaluator_qa- dispatch
auto-harness:evaluator-write-qa-agent - pass only:
- current project root
- current sprint
- the current legal action is
evaluator_qa
- output:
sprint-XX-qa-report.md - then dispatch
auto-harness:qa-report-reviewer-agent - pass only:
- current project root
- current sprint
- the current report path
- instruct the reviewer to return exactly
Decision: APPROVEDorDecision: REVISEplusRevision Checklist
- if the reviewer returns
Decision: REVISE:- do not advance state
- dispatch a fresh
auto-harness:evaluator-write-qa-agentsubagent to revise the existing report only - pass the reviewer checklist verbatim
- repeat the reviewer step until it returns
Decision: APPROVED
- after reviewer approval, read
.harness/qa/sprint-XX-qa-report.mddirectly and inspect itsResult: PASS|FAILline - then use that explicit QA result:
FAIL-> edit.harness/status.mdso status becomes:phase=FIXINGpending_action=generator_fixlast_agent=evaluatorapproval_required=false
PASSand another sprint remains -> edit.harness/status.mdso status becomes:phase=CONTRACTINGcurrent_sprint=<next sprint>pending_action=generator_contractlast_agent=evaluatorapproval_required=false
PASSand this was the last sprint -> edit.harness/status.mdso status becomes:phase=QApending_action=evaluator_finallast_agent=evaluatorapproval_required=false
- dispatch
evaluator_retest- dispatch
auto-harness:evaluator-write-retest-agent - pass only:
- current project root
- current sprint
- the current legal action is
evaluator_retest
- output:
sprint-XX-retest.md - then dispatch
auto-harness:retest-report-reviewer-agent - pass only:
- current project root
- current sprint
- the current report path
- instruct the reviewer to return exactly
Decision: APPROVEDorDecision: REVISEplusRevision Checklist
- if the reviewer returns
Decision: REVISE:- do not advance state
- dispatch a fresh
auto-harness:evaluator-write-retest-agentsubagent to revise the existing report only - pass the reviewer checklist verbatim
- repeat the reviewer step until it returns
Decision: APPROVED
- after reviewer approval, read
.harness/qa/sprint-XX-retest.mddirectly and inspect itsResult: PASS|FAILline - then use that explicit retest result:
FAIL-> edit.harness/status.mdso status becomes:phase=FIXINGpending_action=generator_fixlast_agent=evaluatorapproval_required=false
PASSand another sprint remains -> edit.harness/status.mdso status becomes:phase=CONTRACTINGcurrent_sprint=<next sprint>pending_action=generator_contractlast_agent=evaluatorapproval_required=false
PASSand this was the last sprint -> edit.harness/status.mdso status becomes:phase=QApending_action=evaluator_finallast_agent=evaluatorapproval_required=false
- dispatch
evaluator_final- dispatch
auto-harness:evaluator-write-final-agent - pass only:
- current project root
- the current legal action is
evaluator_final
- output:
.harness/final/qa-final-report.md - then dispatch
auto-harness:final-report-reviewer-agent - pass only:
- current project root
- the current report path
- instruct the reviewer to return exactly
Decision: APPROVEDorDecision: REVISEplusRevision Checklist
- if the reviewer returns
Decision: REVISE:- do not advance state
- dispatch a fresh
auto-harness:evaluator-write-final-agentsubagent to revise the existing final report only - pass the reviewer checklist verbatim
- repeat the reviewer step until it returns
Decision: APPROVED
- after reviewer approval, edit
.harness/status.mdso status becomes:phase=DONEpending_action=nonelast_agent=evaluator
approval_required=false
- dispatch
- If the current
pending_actionis not an Evaluator-side action, do not overreach. Tell the user the next step should be/auto-harness:buildor/auto-harness:harness.
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.
- 3d ago First seen · 175 lines · 34 tokens per session scan A 179ff52f961e
qa is a command published in the GitHub repository redker56/auto-harness (14 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 1,987 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.
Other commands, from other repositories
planwt
You are the orchestrator for a bounded worktree task.
statuswt
You are checking the status of all active worktree task files in the project.
finishwt
You are finishing a worktree task.
release
Command "release" from CIrcui-try/Circuit, covering 절차, 1단계: 사전 확인, 2단계: 변경사항 수집, 직전 release 시점 (main의 가장 최근 release pr merge 시각) and 그 시점 이후 develop으로 머지된 pr 목록.
review-and-fix
로컬 변경사항을 직접 리뷰하고 문제점 수정 후 커밋·푸시.
takeoff
항공기 이륙 4단계 — develop 리베이스 → push → PR 생성 (원격 영향).