Repository navigation
v1.1.0 — Stable Release
What's Included
create-hooks is a Claude Code plugin that makes it easy to build, debug, deploy, and manage Claude Code hooks.
Features
- Hook scaffolding — Generate proper boilerplate for any of the 10 hook event types (PreToolUse, PostToolUse, SessionStart, Stop, etc.)
- Conflict analysis — Scans existing hooks before creating new ones to prevent collisions
- 8 ready-to-use templates — bash-validator, auto-approve, context-injection, stop-gate, python-validator, permission-handler, notification-forwarder, intelligent-stop-prompt
- 9 reference docs — Comprehensive coverage of hook events, JSON output, security, debugging, MCP tools, prompt-based hooks, and more
- Validation —
validate-hook.pychecks that hooks are correctly configured and installed - CLI scaffold script —
scaffold-hook.pyfor generating hooks from the command line - 3-agent workflow — Inventory → conflict analysis → testing before deployment
- Installation level choice — Project, user, or local (gitignored) installation
Installation
claude plugin install github:hwells4/create-hooksUsage
/create-hook # Interactive mode
/create-hook new PreToolUse validate-bash # Create a specific hook
/create-hook debug my-hook.py # Debug a hook
/create-hook analyze # Analyze existing hooks
/create-hook validate # Validate configurations
Full documentation in README.md