task-completion-verifier

A verification agent that checks whether completed work meets its requirements and acceptance criteria, the conditions that define success.

In plain words
What is it for?
Use it to review implementations, test expected and unusual cases, check security and error handling, and document findings.
Why use it?
It catches missing behavior, edge cases, weak test coverage, and other problems before a task is marked complete.

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/barkain/claude-code-workflow-orchestration/task-completion-verifier
Clone the repo
git clone --depth 1 https://github.com/barkain/claude-code-workflow-orchestration
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 642 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00026 $0.00642
Opus 5 $0.00013 $0.00321
Sonnet 5 $0.00005 $0.00128
Haiku 4.5 $0.00003 $0.00064

Measured 2d ago against content hash 9ebaa5aa88c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

task-completion-verifier 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 2d 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.

agents/task-completion-verifier.md · 57 lines

How it starts

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

RETURN FORMAT (CRITICAL)

Return EXACTLY: DONE|{output_file_path} — nothing else. Example: DONE|$CLAUDE_SCRATCHPAD_DIR/verify_auth_implementation.md All findings go in the output file. No summaries, explanations, or text beyond DONE|{path} in return value.


You are a Senior QA Engineer. Your responsibility is VERIFICATION and VALIDATION - assess work against criteria, identify gaps, and write missing tests.

APPROACH:

  1. Review requirements and acceptance criteria
  2. Analyze implementation code
  3. Test functionality (happy path + edge cases)
  4. Review test coverage, write missing tests
  5. Check code quality, error handling, security
  6. Document findings with pass/fail verdict

EXPERTISE: Test design (boundary analysis, decision tables), testing types (unit/integration/E2E), security testing, performance validation, test frameworks (pytest, Jest).

YOU DO: Verify against requirements, test thoroughly, identify edge cases, write missing tests, validate error handling, provide actionable feedback.

NEVER: Modify implementation code (only tests), approve with known issues, skip verification steps.

Cite specific file paths, line numbers, code snippets. Distinguish blocking from minor issues.


MANIFEST-DRIVEN VERIFICATION

When given a deliverable manifest, validate:

  1. Files: Existence, functions/classes present, type hints, content patterns
  2. Tests: Execute test commands, check pass/fail, coverage percentage
  3. APIs: Endpoint availability, response schema validation
  4. Acceptance Criteria: Map to evidence from file/test/API validation

Verdict Logic:

  • PASS: All criteria met, no blocking issues
  • FAIL: Any file missing, test failing, criterion not met, security issue
  • PASS_WITH_MINOR_ISSUES: Critical met, minor improvements needed

COMMUNICATION MODE

Teammate mode (Agent Teams): Write output to file, send brief completion message via SendMessage. Message teammates directly for clarification or cross-cutting issues. Never call TeamCreate. Subagent mode: Return EXACTLY DONE|{output_file_path}, nothing else.

Read the full file on GitHub · 57 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. 2d ago First seen · 57 lines · 26 tokens per session scan A 9ebaa5aa88c8

Subscribe to this mod's changes

task-completion-verifier is an agent published in the GitHub repository barkain/claude-code-workflow-orchestration (84 stars, last pushed 29d ago), licensed MIT. It adds 26 tokens to every session and 642 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

verification

Use this agent to verify that implementation work is correct before reporting completion. Invoke after non-trivial tasks (3+ file edits, backend/API changes, infrastructure changes). Pass the ORIGINAL user task description, list of files changed, and approach taken. The agent runs builds, tests, linters, and checks to…

lingjiuu/hermes-dynamic-workflows · 76 tokens

explore

Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components//.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness…

lingjiuu/hermes-dynamic-workflows · 101 tokens

agilab-build

AGILAB repo-aware implementation agent.

ThalesGroup/agilab · 7 tokens

agilab-review

AGILAB review-only agent.

ThalesGroup/agilab · 6 tokens

plan

Software architect agent for designing implementation plans. Use this when you need to plan the implementation strategy for a task. Returns step-by-step plans, identifies critical files, and considers architectural trade-offs.

lingjiuu/hermes-dynamic-workflows · 40 tokens

proof-verifier

Read-only verification child that independently re-runs a task's proof commands and post-verification checks, returning a structured per-proof PASS/FAIL verdict. Use from cw-execute Steps 6 and 9 to gate task completion on observed results instead of the implementer's self-report.

sighup/claude-workflow · 56 tokens