What problem does it solve?
Hookify rules provide a structured, frontmatter-driven way to shape Claude's behavior by watching for specific patterns and emitting contextual messages. This skill enables teams to create local, reusable rule definitions that govern interactions without hard-coding behavior in prompts.
Core Features & Use Cases
- Define YAML-frontmatter based hook rules that map patterns to responses and warnings.
- Support single-condition and multi-condition rule definitions across events such as bash, file, stop, and prompt.
- Store rules locally as .claude/hookify.{rule-name}.local.md to enable project-specific customization without affecting core models.
Quick Start
Create a new local rule file at the project root, e.g. .claude/hookify.example.local.md, with a frontmatter block specifying name, enabled, event, and pattern, followed by a message body describing what Claude should display when the rule triggers. Then test by triggering the corresponding event to see the rule in action.