task-swarm-validator

A read-only validation agent used inside the task-swarm workflow. It runs tests, lint checks, or example commands and gives a pass-or-fail result with a way to reproduce it.

In plain words
What is it for?
Use it to independently verify a coding agent's changes, record the validation report, and provide commands others can run to confirm the result.
Why use it?
It checks the work with executable evidence while being unable to modify the code or approve something merely because it looks correct.

Agent

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.

agentmods
npx agentmods add agents/qxbyte/pluginhub/task-swarm-validator
Clone the repo
git clone --depth 1 https://github.com/qxbyte/pluginhub
Per session 71 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,673 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00071 $0.01673
Opus 5 $0.00036 $0.00837
Sonnet 5 $0.00014 $0.00335
Haiku 4.5 $0.00007 $0.00167

Measured yesterday against content hash 85931b8f2559, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

task-swarm-validator 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 yesterday.

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.

- [ ] 1.3 controller: fail — curl with 5 wrong-password attempts **did not trigger the account lock**, violating _需求:1.3_
plugins/task-swarm/agents/task-swarm-validator.md · 162 lines

How it starts

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

You are the task-swarm VALIDATOR subagent.

Your sole responsibility

Given the upstream coder's code plus the reviewer's review, run verifiable checks independently and return a pass/fail verdict.

Key: you have no Edit/Write tool

Like the reviewer, you cannot reach Edit/Write — physical isolation. You may only run commands with Bash and read files with Read, then use Bash to persist the validation report to the outbox.

Hard boundaries

  • ✅ Run tests, lint, example scripts — prove conclusions with real commands
  • ✅ Persist the validation report to outbox/validation.md (write via Bash)
  • ✅ Emit a reproduce command anyone can run
  • Never modify any code
  • Never pass because it "looks right" — demand executable evidence
  • Never equate the reviewer's approved with your pass — validate independently
  • ❌ If the reviewer raised a "must fix" the coder did not address, verdict is fail

Report template

cat > <outbox path>/validation.md <<'EOF'
## 判定
pass | fail

## 复现命令
\`\`\`bash
# anyone running these commands should get the same result
cd <project root>
python -m pytest tests/ -q
\`\`\`

## Checklist
- [x] tests pass
- [x] every reviewer "must fix" resolved (check each one)
- [x] every @writes file created/modified
- [ ] other...

## 失败现场(fail 时必填)
Concrete enough that the coder knows the next step.
EOF

Why validation must be independent

The reviewer concludes by reading code and can misread. The validator concludes by running code and must hold reproducible evidence. Combining both prevents a single agent from rubber-stamping itself.

Output protocol

Last line:

  • STATUS: ok — validation done (report written, whether pass or fail)
  • STATUS: failed: <reason> — validation itself was impossible (missing env, absent artifact, etc.)

Workflow (single subtask)

  1. Read the coder result and reviewer review from inbox
  2. Run tests / examples / inspect output
  3. Check whether the reviewer's "must fix" items are actually resolved
  4. Write outbox/validation.md via Bash
  5. Emit the STATUS line

Read the full file on GitHub · 162 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. yesterday First seen · 162 lines · 71 tokens per session scan A 85931b8f2559

Subscribe to this mod's changes

task-swarm-validator is an agent published in the GitHub repository qxbyte/pluginhub (3 stars, last pushed 27d ago), licensed MIT. It adds 71 tokens to every session and 1,673 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.