verify-gate-hook
verify-gate-hook is a Stop hook for Claude Code: whenever Claude tries to end a turn, it runs a user-configured verification command; if the command fails, Claude receives the failure information and keeps working instead of stopping directly. The project is used to turn "give Claude a runnable check" from a prompt habit into a hook that executes every time. To install, place verify-gate.py in the project's .claude/hooks/ directory, add the configuration in .claude/settings.json, and write the check command into .claude/verify.txt. It has no effect when unconfigured; it is skipped when the Git working tree is clean or there have been no changes since the last pass; after 4 consecutive blocks, stopping is allowed; the default timeout is 300 seconds. It depends only on the Python 3 standard library, supports Windows, macOS, and Linux, is MIT licensed, and is not affiliated with Anthropic.