Skip to content
B

block-no-verify-hook

Configure a PreToolUse hook to prevent AI agents

by wshobsonFree

Launch
#1718in AI Skills
0In stores

Description

block-no-verify-hook is an agent skill from the wshobson/agents collection that sets up a PreToolUse hook to stop AI coding agents from skip…

Highlights

  • PreToolUse hook blocks bypass flags
  • Blocks --no-verify on commits, pushes and merges
  • Blocks --no-gpg-sign on commits
  • Keeps pre-commit checks in force for agents
  • Setup for Claude Code and similar agents
  • Installs with the skills CLI

Ratings & Reviews

No ratings yet

Be the first to rate block-no-verify-hook.

People also visit

G

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands

AI Skills
Launch
C

Claude Code Infrastructure Showcase

by diet103 - A remarkably innovative approach to working

AI Skills
Launch
C

code-review

Review the changes since a fixed point

AI Skills
Launch
P

pr

Writing a PR body

AI Skills
Launch
R

resolving-merge-conflicts

Resolve an in-progress git merge/rebase conflict

AI Skills
Launch
R

review

Review the changes since a fixed point

AI Skills
Launch

block-no-verify-hook FAQ

What problem does this solve?

AI agents sometimes run git commands with --no-verify and similar flags, which skip the pre-commit checks a team relies on.

How does the hook work?

A PreToolUse hook checks each tool call before it runs and rejects any call containing a bypass flag.

Which flags are blocked?

The skill describes --no-verify on commit, push and merge, and --no-gpg-sign on commits, along with other bypass flags.

Which agents does it work with?

The skill is written for Claude Code and similar agents that run shell commands, including Codex.

How do I install it?

Run npx skills add https://github.com/wshobson/agents --skill block-no-verify-hook, then have the agent configure the hook in your project.

What security audits does it have?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best block-no-verify-hook alternatives?

Popular alternatives to block-no-verify-hook include git-guardrails-claude-code, Claude Code Infrastructure Showcase and code-review. See all block-no-verify-hook alternatives

Developer Stuff

Badges