writing-hookify-rules

Originally fromanthropics/claude-code
Installation
SKILL.md

Writing Hookify Rules

Overview

Hookify rules are markdown files with YAML frontmatter that define patterns to watch for and messages to show when those patterns match. Rules are stored in .claude/hookify.{rule-name}.local.md files.

Rule File Format

Basic Structure

---
name: rule-identifier
enabled: true
event: bash|file|stop|prompt|all
pattern: regex-pattern-here
---

Message to show Claude when this rule triggers.
Related skills

More from aiskillstore/marketplace

Installs
157
GitHub Stars
268
First Seen
Jan 20, 2026