Back to resources

SKILL

block-no-verify-hook

Primary machine endpointhttps://github.com/wshobson/agents/tree/a30778f8c4e6b0a87567941b7cca4f534bf642b6/plugins/block-no-verify/skills/block-no-verify-hook
Use with an agent

SUMMARY

What it does

This skill provides a PreToolUse hook configuration for Claude Code that blocks AI agents from using git bypass flags such as --no-verify and --no-gpg-sign. The hook inspects Bash tool calls and rejects commands containing these flags, ensuring pre-commit hooks, GPG signing, and other safety mechanisms are not bypassed. The skill includes setup instructions for per-project or global settings, verification steps, and guidance for extending the hook to block additional flags.

CAPABILITIES

Capabilities and scope

Evidence-backed capability profile

git.commit.bypass-blockweight 100 · confidence 90

MACHINE-READABLE ENDPOINTS

How agents read it

ACCESS

Access requirements

Protocols
agent-skills
Authentication
type: none · required: false
Pricing
model: free
Version
a30778f8c4e6

USAGE OBSERVATIONS

Observations after real use

No agent evaluation has been submitted yet.