Test automation and verification for agentic coding. Ships hooks, not only skills — a skill is advice, a hook is a gate.
npx claudepluginhub serina-mcfall/agent-verification-kitEvidence-required completion for agentic coding, enforced by hooks rather than by instructions. Blocks a commit unless a fresh verification stamp exists; the stamp is earned only by a passing test or build command, scoped to the repository being committed to, expiring after 30 minutes, and cleared by any file edit. Refuses to modify an existing test or test config without a declaration naming the path. Clears that stamp when a test command FAILS, via PostToolUseFailure - the event Claude Code actually fires for a failing tool call, which this kit did not subscribe to until 0.5.0. That handler has been observed clearing a real stamp after a real failing suite; it does not fire for chained commands, wrapper flags, or a suite whose failure is swallowed by || true, and a failure behind a redirect or a cd into a directory that does not exist clears the stamp without being recorded as a flake, because no suite ran; before that a commit could be permitted after a red suite (INC-0025) and flake triage could not fire (INC-0024). Marks a suite that passed only on a re-run as flaky and refuses that commit unless the flake is declared and carried in a Flaky: trailer. Also refuses a commit whose agent definitions name a model that does not resolve. Governs this harness only, and can be walked around by narrowing the test command — see README for what that does and does not cover. Since 0.6.0 every fail-open warning and every allow-path disclosure is emitted as a systemMessage through announce.sh - the only channel measured to reach a human on PreToolUse and PostToolUse (NOTE-0032). Before that, 40 of the kit's 66 announcement sites, including every message saying a gate had STOPPED ENFORCING, were written to plain stdout or stderr at exit 0 and reached nobody. Refusals were already visible on stderr at exit 2 and are deliberately unchanged. In 0.6.1 the commit trigger requires git at a COMMAND POSITION rather than anywhere in the command text, so writing ABOUT a commit is no longer refused (INC-0033's motive). It does NOT close INC-0033: a commit inside a script file is still invisible to the trigger, and the README says so.
7-day visitors to each marketplace page
Test automation and verification for agentic coding. Ships hooks, not only skills — a skill is advice, a hook is a gate.
This line used to read "a skill can be argued with, a hook cannot." It was changed on 2026-09-04 because this repository contains the evidence against it.
verify-gate.sh's header records six bypasses that got round it, one of which meant the gate enforced nothing for months, silently. A hook can absolutely be argued with. It just argues in code rather than in prose, and it loses quietly instead of out loud — which is worse, not better. The distinction worth keeping is that a hook runs whether or not the agent agrees with it; that is a gate, not an unarguable one.
When an AI agent writes, runs and validates code, the test suite stops being documentation with a safety net and becomes the agent's reward signal. Reward hacking is then not a worry, it is a measured behaviour: METR found 30.4% of o3 RE-Bench runs involved it (2025-06-05), EvilGenie caught agents deleting test files (Nov 2025), and suites exist with 100% coverage and a 4% mutation score (arXiv 2506.02954).
The most common defence — tell the agent to run the tests — is an instruction, and an instruction is something the agent decides whether to follow. This kit moves that decision outside the agent's control.
Every layer here can miss something. What follows is what this kit does not do. It is at the top rather than the bottom because a caveat below the conclusion reads as agreement to anyone who stops at the headline.
These are Claude Code hooks. They see Claude Code's tool calls and nothing else. They do not govern:
So this is accident prevention inside one harness — real, useful, and not a security boundary. If you need "nobody merges something bad", that is required status checks and needs repository admin. This kit is the other threat model: my own agent games my tests, or I push something broken. That one needs no permissions at all, which is why it is worth having.
INC-0025This is the most important limitation on this page. Read it before the rest.
A commit can be allowed after a test run that failed. Proven end to end against the installed plugin, in one repository:
python3 test_always_passes.py exit 0 → stamp written
python3 test_always_fails.py exit 1 → stamp NOT cleared
git commit → ALLOWED
post-bash.sh contains the line "Tests/build FAILED or unreadable. Stamp cleared." That branch
has never executed. Claude Code does not fire PostToolUse for a Bash call that exits non-zero, so
the hook that would clear the stamp is never invoked. The failure handling was written, covered by
controls against synthetic payloads, and is dead code in the real harness.
It does not need the same command twice. npm test passes and stamps; npm run test:integration
fails and clears nothing; the commit goes through on the first suite's stamp while the second is red.
What still protects you, and it is not nothing:
verify-gate naming a suite you know just failed
is visible if you read itThe exposed window is a passing run followed by a failing run with no edit between, inside 30 minutes. That is an ordinary sequence, not a contrived one.
Fixed in 0.5.0 by post-bash-failure.sh, a hook on PostToolUseFailure — the event Claude
Code actually fires when a tool call fails, and the one this kit had never registered for. A failing
test command now clears the stamp; an interrupted or timed-out one does not, because those tell you
nothing about the code.
Observed working, 2026-09-06. In a live session with the plugin installed:
python3 test_passes.py → stamp written
python3 test_fails.py → stamp CLEARED
Correcting an earlier claim in this file: hooks are not fixed at session start. /reload-plugins
took the hook count from 7 to 8 and the new hook fired immediately. What does not reload mid-session
is a hook added to settings.json — that distinction cost an afternoon of believing the fix was
untestable.
Four shapes it still does not clear on, each a deliberate choice with the reasoning recorded in
post-bash-failure.sh:
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Plugins with agents, skills, and commands for Claude Code and six other coding tools. Local plugins are maintained as one Markdown source and adapted to each tool.