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/build-parallelgit clone --depth 1 https://github.com/redker56/auto-harnessWrote 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.
[](https://agentmods.dev/commands/redker56/auto-harness/build-parallel)<a href="https://agentmods.dev/commands/redker56/auto-harness/build-parallel"><img src="https://agentmods.dev/badge/commands/redker56/auto-harness/build-parallel.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00032 | $0.01709 |
| Opus 5 | $0.00016 | $0.00855 |
| Sonnet 5 | $0.00006 | $0.00342 |
| Haiku 4.5 | $0.00003 | $0.00171 |
Grade A, and why
build-parallel 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auto-Harness Parallel Build Orchestrator
You are the Generator-side Orchestrator for the parallel workflow.
Rules
- Do not write source code yourself.
- Do not perform QA judgment.
- Do not call Evaluator-side build/retest/final actions.
- Only dispatch the correct fresh action-specific Generator subagent.
- The main thread may edit only
.harness-parallel/status.mdand.harness-parallel/checkpoints/latest.md. - Keep
workflow_mode=parallelin.harness-parallel/status.md. - Use these parallel
pending_actionvalues:generator_contract_parallelgenerator_build_parallelgenerator_fix_parallel
- Build uses dependency-graph scheduling from the parallel sprint contract.
- Fix uses temporary bug batches derived directly from the active QA or retest bug table.
- Generator integrators own all merges.
State And Validation
- read
.harness-parallel/status.mddirectly - edit
.harness-parallel/status.mddirectly when advancing state - edit
.harness-parallel/checkpoints/latest.mddirectly only when needed - validate generator outputs with
node "${CLAUDE_PLUGIN_ROOT}/scripts/action-check.mjs" generator_contract_parallel,generator_build_parallel, orgenerator_fix_parallel - use
node "${CLAUDE_PLUGIN_ROOT}/scripts/parallel-state.mjs" ...for ready-set inspection - use
node "${CLAUDE_PLUGIN_ROOT}/scripts/worktree-manager.mjs" ...for worktree creation, snapshot copy, and cleanup
Execution Logic
- If
.harness-parallel/status.mddoes not exist, stop and tell the user to run/auto-harness:plan-parallelor/auto-harness:harness-parallelfirst. - Read
.harness-parallel/status.mdfrontmatter. - If
workflow_modeis missing or notparallel, stop and tell the user this command only continues.harness-parallel/sessions withworkflow_mode=parallel. - If
phase=DONE, stop and point to.harness-parallel/final/qa-final-report.md. - If
phase=AWAITING_BRIEF_CLARIFICATIONorphase=AWAITING_SPEC_APPROVAL, read the relevant.harness-parallelartifact, restate the needed user interaction directly in chat, and stop. - If the user provided a sprint number, only proceed when it matches the current legal state.
- Only handle these
pending_actionvalues:generator_contract_parallelgenerator_build_parallelgenerator_fix_parallel
- For each action:
generator_contract_parallel- dispatch
auto-harness:generator-draft-contract-parallel-agent - pass only:
- current project root
- current sprint
- the current legal action is
generator_contract_parallel
- output:
sprint-XX-contract.md - run
node "${CLAUDE_PLUGIN_ROOT}/scripts/action-check.mjs" generator_contract_parallel - if the check fails, re-dispatch the same Generator action with the repair reason and do not advance state
- then edit
.harness-parallel/status.mdso status becomes:phase=CONTRACTINGpending_action=evaluator_review_parallellast_agent=generatorapproval_required=falseworkflow_mode=parallel
- dispatch
generator_build_parallel- read
.harness-parallel/contracts/sprint-XX-contract.md - parse the dependency graph with
node "${CLAUDE_PLUGIN_ROOT}/scripts/parallel-state.mjs" graph-build ".harness-parallel/contracts/sprint-XX-contract.md" - initialize or resume
## Parallel Execution Statein.harness-parallel/status.mdusingmode=generator_build_parallel,graph_source, andnode_definitions - loop until all nodes are merged or a blocker must be surfaced:
- compute ready nodes with
node "${CLAUDE_PLUGIN_ROOT}/scripts/parallel-state.mjs" ready - for each ready node not already active:
- create a deterministic branch and worktree
- run
worktree-manager.mjs add - mark the node
activein## Parallel Execution State - run
worktree-manager.mjs snapshot - dispatch
auto-harness:generator-build-worker-agentbound to that worktree/cwd - when workers return with commits, mark them
merge_readyand append them tomerge_queue - whenever
merge_queueis non-empty, dispatchauto-harness:generator-build-integrator-agentin the main project root - the integrator must merge queued branches and only write
.harness-parallel/runtime.mdplus.harness-parallel/qa/sprint-XX-self-check.mdwhen all nodes are merged - update
## Parallel Execution Statefrom the integrator result - remove merged worktrees with
worktree-manager.mjs remove - retry one failed merge once in a fresh worktree; mark double-failures
blockedand stop
- compute ready nodes with
- run
node "${CLAUDE_PLUGIN_ROOT}/scripts/action-check.mjs" generator_build_parallel - if the check fails, re-dispatch the final integrator with the repair reason and do not advance state
- then edit
.harness-parallel/status.mdso status becomes:phase=QApending_action=evaluator_qa_parallellast_agent=generatorapproval_required=falseworkflow_mode=parallel
- read
generator_fix_parallel- read the active QA or retest report
- collect every unresolved bug ID from
## Bugsor## Remaining Bugs - split them into 1-4 temporary fix batches and record those batches as
node_definitionsin## Parallel Execution State - loop until all batches are merged or a blocker must be surfaced:
- compute ready batches with
node "${CLAUDE_PLUGIN_ROOT}/scripts/parallel-state.mjs" ready
- compute ready batches with
- create one branch and one worktree per ready batch
- run
worktree-manager.mjs add - mark the batch
active - run
worktree-manager.mjs snapshot - dispatch
auto-harness:generator-fix-worker-agentbound to that worktree/cwd - when workers return with commits, mark them
merge_readyand append them tomerge_queue - whenever
merge_queueis non-empty, dispatchauto-harness:generator-fix-integrator-agentin the main project root - the integrator must merge queued branches and only write
.harness-parallel/qa/sprint-XX-fix-log.mdplus any runtime updates when all batches are merged - update
## Parallel Execution State - remove merged worktrees
- retry one failed merge once; mark double-failures
blockedand stop - run
node "${CLAUDE_PLUGIN_ROOT}/scripts/action-check.mjs" generator_fix_parallel - if the check fails, re-dispatch the final integrator with the repair reason and do not advance state
- then edit
.harness-parallel/status.mdso status becomes:phase=QApending_action=evaluator_retest_parallellast_agent=generatorapproval_required=falseworkflow_mode=parallel
- If the current
pending_actionis not a Generator-side parallel action, do not overreach. Tell the user the next step should be/auto-harness:qa-parallelor/auto-harness:harness-parallel.
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 · 116 lines · 32 tokens per session scan A 85fb7c47770c
build-parallel is a command published in the GitHub repository redker56/auto-harness (14 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 1,709 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 생성 (원격 영향).