Skip to main content
plugin CX Codex

block-no-verify — Claude Code plugin: what it does, how to install

Stops AI agents from passing --no-verify and other bypass flags during git operations.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install block-no-verify@claude-code-workflows
Open on GitHub

What block-no-verify does

This plugin acts as a PreToolUse hook inside the agent environment. Before executing tool calls, it inspects Git commands for flags that bypass standard repository safeguards.

It blocks flags such as --no-verify and --no-gpg-sign. If an agent tries to skip pre-commit checks or bypass commit signing, the hook rejects the action and forces compliance with git hooks.

What it helps with

  • Block git commands using the --no-verify flag
  • Prevent bypassing commit signing via --no-gpg-sign
  • Enforce repository git hooks during automated agent commits

Example prompts for the agent

  • Commit all modified files in the repository
  • Create a commit for the latest changes and skip hooks

How to install block-no-verify

Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install block-no-verify@claude-code-workflows

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about block-no-verify

How to install block-no-verify in Claude Code?

First run /plugin marketplace add wshobson/agents, then install it with /plugin install block-no-verify@claude-code-workflows.

What does block-no-verify do?

It intercepts agent actions as a PreToolUse hook to prevent the execution of Git commands that bypass checks.

Which flags does this hook block?

It targets --no-verify, --no-gpg-sign, and related arguments intended to skip git hooks.

Source text

block-no-verify · MIT
PreToolUse hook that prevents AI agents from using --no-verify, --no-gpg-sign, and other bypass flags that skip git hooks

© cskwork · MIT · wshobson/agents

Similar plugins

All plugins for Security →

From the same set371

The whole set →
ship-mate A plugin that runs a story file through architect, developer, PR reviewer, QA and Playwright until the feature is done. CX Codex ★ 41,729repo stars review-agent-governance Blocks AI agents from posting PR reviews, merging branches, or touching CI configs without human sign-off. Uses Cedar policies and Ed25519-signed receipts. CX Codex ★ 41,729repo stars signed-audit-trails Learn how to sign records of Claude Code tool calls and detect tampering. Useful for evaluating the approach before adding runtime infrastructure. CX Codex ★ 41,729repo stars protect-mcp Gates every tool call through a Cedar policy and issues an Ed25519-signed receipt. Useful when an agent needs limits on files and shell commands. CX Codex ★ 41,729repo stars plugin-eval Lint plugin and skill structure without model calls, then optionally run experimental model-based scoring. Use it to inspect or compare skills. CX Codex ★ 41,729repo stars brand-landingpage Runs a brand discovery interview, builds landing pages through Stitch, and hands back a deployment-ready HTML bundle. Useful when the product exists but the palette and page structure don't. CX Codex ★ 41,729repo stars meigen-ai-design Connects Claude Code to external image generation backends and a curated library with 1,300+ reference prompts. CX Codex ★ 41,729repo stars dotnet-contribution This plugin adds an agent and a skill for C#, ASP.NET Core, Entity Framework Core, and Dapper work. Use them to plan APIs, review code, or choose a data-access approach. CX Codex ★ 41,729repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor