Hookify
Updated
Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions.
/plugin install hookify Anthropic official marketplace plugin
What it does
Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions.
How it works
Submit an explicit instruction (e.g. /hookify Warn me when I use rm -rf commands) or run the command without arguments to have the system analyze your recent conversations. Hookify creates .local.md files in the .claude/ directory that take effect immediately without requiring a restart.
Rules trigger on event types — bash commands, file edits, prompts, session stops — with actions such as warn or block.
Use cases
- On file save, run lint + format automatically.
- Run tests before every commit and surface the result.
- When files matching a specific pattern change, update related docs.
Frequently Asked Questions
What is Hookify?
An Anthropic official marketplace plugin that guides effective design and implementation of Claude Code hooks (custom scripts that run before or after tool calls).
Where does it run?
Claude Code.
How do I install it?
In Claude Code, run `/plugin install hookify`.
What kinds of automations does it enable?
Auto-lint and format on file save, run tests automatically before commits, and update related docs when specific file patterns change — typical event-driven workflows.