claudekit / tools / hookify
[ Plugin · Development ]

Hookify

Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions.

$ /plugin install hookify copy

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

  1. On file save, run lint + format automatically.
  2. Run tests before every commit and surface the result.
  3. When files matching a specific pattern change, update related docs.
§ 4

See also

same category · curated
[01]
[Plugin] Codex Plugin for Claude Code · Use Codex from Claude Code to review code or delegate tasks. An OpenAI-published plugin that exposes standard reviews, adversarial reviews, and task delegation as slash commands, plus a Codex subagent and background-job tracking.
tool · claudekit.io / tools / codex-plugin-cc
[02]
[Plugin] Andrej Karpathy Skills · A single `CLAUDE.md` file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
tool · claudekit.io / tools / andrej-karpathy-skills
[03]
[MCP] Chrome DevTools MCP · An MCP server that lets AI agents control and inspect a live Chrome browser for performance analysis, debugging, and automation.
tool · claudekit.io / tools / chrome-devtools
§ 5

Frequently Asked Questions

frequently asked
§ 5.1
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).
§ 5.2
Where does it run?
Claude Code.
§ 5.3
How do I install it?
In Claude Code, run `/plugin install hookify`.
§ 5.4
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.