hookify Plugin
Plugin Claude Code Productivity Claude Code Customization & WorkflowThe explanation below is AI-generated. Please verify it against the sources.
Hookify is a Claude Code plugin that lets users create custom hooks to prevent unwanted behaviors, either by analyzing conversation patterns or from explicit user instructions. Instead of editing complex hooks.json files, rules are defined in lightweight markdown files with YAML frontmatter that specify a pattern to watch for and a message to display when it matches. Rules take effect immediately on the next tool use, without requiring a restart. The plugin is part of the Claude Code Marketplace and is auto-discovered when that marketplace is installed. It requires Python 3.7+ and has no external dependencies, using only the Python standard library.
Overview
Hookify is a Claude Code plugin (not a standalone SaaS) that generates and manages hook configuration files for Claude Code, replacing manual edits to hooks.json with simple markdown rule files.
What you can do with hookify
- Create a rule from explicit instructions using /hookify (e.g. warning on rm -rf commands)
- Run /hookify without arguments to analyze recent conversation for behaviors the user corrected or was frustrated by
- List all existing rules with /hookify:list
- Enable or disable rules interactively with /hookify:configure
- Get help via /hookify:help
- Define rules with event types (bash, file, stop, prompt, all) and an action of warn or block
- Write single-pattern rules or advanced rules with multiple conditions using operators such as regex_match, contains, equals, not_contains, starts_with, and ends_with
- Enable/disable a rule by editing its .local.md file's enabled field, or delete a rule by removing the file
Sources
Original description (English)
Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions. Define rules via simple markdown files.
History of hookify
- Plugin Added hookify