hookify-help
Get help with the hookify system
Display comprehensive hookify documentation.
Hook System Overview
Hookify creates rule files that integrate with Claude Code’s hook system to prevent unwanted behaviors.
Event Types
bash: triggers on Bash tool use and matches command patternsfile: triggers on Write/Edit tool use and matches file pathsstop: triggers when a session endsprompt: triggers on user message submission and matches input patternsall: triggers on all events
Rule File Format
Files are stored as .claude/hookify.{name}.local.md:
---name: descriptive-nameenabled: trueevent: bash|file|stop|prompt|allaction: block|warnpattern: "regex pattern to match"---Message to display when rule triggers.Supports multiple lines.Commands
/hookify [description]creates new rules and auto-analyzes the conversation when no description is given/hookify-listlists configured rules/hookify-configuretoggles rules on or off
Pattern Tips
- use regex syntax
- for
bash, match against the full command string - for
file, match against the file path - test patterns before deploying