hook GitHub

ai-engineering: Governed AI workspace with quality gates via git hooks

Turns any repo into a governed AI workspace with quality gates, security scanning, and risk management enforced locally via git hooks. Works with Claude Code, GitHub Copilot, Cursor, Gemini, and Codex — a universal governance layer for AI-assisted development.

git-hooksgovernancesecurityquality-gatesmulti-agent
by arcasilesgroup Mar 9, 2026 7/10
hook GitHub

patrol: Two-tier enforcement and read/edit tracking for Claude Code

Development discipline tool with a status line for Claude Code featuring two-tier enforcement, real-time read/edit tracking, and an investigation gate. Designed to keep Claude Code disciplined and transparent about what files it's touching.

hooksenforcementtrackingclaude-codediscipline
by cukas Mar 9, 2026 7/10
hook Reddit

Four Claude Code hooks that enforce voice and tone on AI-written copy

A hook system using UserPromptSubmit and PreToolUse hooks to enforce brand voice consistency across AI-written copy. A reviewer agent is injected before any copy file edit, and hooks block writes to .tsx/.md files unless voice review is complete. Prevents copy drift in AI-generated content.

hooksvoicetonecopyUserPromptSubmitPreToolUseagent
by tompahoward Mar 9, 2026 8/10
hook GitHub

swiz: Cross-agent hook manager for Claude Code, Cursor, and Gemini

Installs and orchestrates lifecycle hooks across Claude Code, Cursor, and Gemini from a single manifest file. Manage hooks once and deploy them to all your AI coding assistants simultaneously — a unified hook management layer for multi-agent workflows.

hookscross-agentcursorgeminiclaude-codemanifest
by mherod Mar 9, 2026 8/10
hook Reddit

PreToolUse hook that forces Claude to use MCP tools instead of built-in Read/Grep/Glob

A PreToolUse hook pattern that intercepts Claude's default tool choices and redirects it toward MCP tools when better alternatives are available. Solves the common problem where CLAUDE.md instructions drift after a few turns and Claude reverts to built-in tools. The hook enforces the preference at the infrastructure level rather than relying on prompt compliance.

hookpre-tool-usemcpautomation
by Objective_Law2034 Mar 9, 2026 9/10
hook GitHub

bash-gates: AST-based permission gates for Claude Code shell commands

Uses tree-sitter AST parsing to gate Claude Code's bash command execution at a syntax level rather than simple string matching. Provides fine-grained, semantically-aware control over what shell operations Claude can run. More robust than keyword blocklists — Claude can't bypass it by rephrasing the command.

hooksecuritybashpermissionstree-sitter
by camjac251 Mar 9, 2026 7/10
hook Reddit

Rupert: Claude + Gemini + OpenCode Agent with Notification Hooks

A personal agent setup called Rupert that combines Claude, Gemini, and OpenCode with hooks that notify you of what each agent is doing in real time. Includes a memory-agent component for reducing token usage across sessions.

hookmemorymulti-modelnotificationstoken-reduction
by winwinwinguyen Mar 9, 2026 6/10
hook GitHub

Sentinel-AI: Real-Time Safety Guardrails with Claude Code Hooks

A real-time safety scanning layer for LLM applications with 10 scanners covering prompt injection, PII detection, harmful content, code vulnerabilities, and obfuscation. Offers sub-millisecond latency, Python and TypeScript SDKs, an MCP proxy, and native Claude Code hooks integration for pre/post-tool safety checks.

safetyhooksMCPguardrailsprompt-injectionPIIscanner
by MaxwellCalkin Mar 9, 2026 8/10