
Description
hookify-rules is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It explains how to write and configure hookify rules for Claude Code. A hookify rule is a markdown file with YAML frontmatter that describes a pattern to watch for on bash, file, prompt or stop events, matched by regular expression or conditions, and a message to show when the pattern matches. Rules are saved as project-local files named .claude/hookify.{rule-name}.local.md. ECC evaluates these rules with its own built-in Node runtime, so no separate Hookify plugin or Python installation is needed when ECC hooks are enabled. The skill covers the basic structure of a rule and the file format. It applies when a user wants a project to warn about or catch specific actions during a session, such as dangerous commands or risky edits. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- Rules as markdown with YAML frontmatter
- Matches bash, file, prompt and stop events
- Regex or condition matching
- Uses ECC's built-in runtime
Ratings & Reviews
No ratings yet
Be the first to rate hookify-rules.
People also visit

continuous-learning
[DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor

rules-distill
Scan skills to extract cross-cutting principles and distill them into rules

claude-automation-recommender
Analyze a codebase and recommend Claude Code automations
hookify-rules FAQ
What does the hookify-rules skill do?
It teaches an agent to write hookify rules, which watch for patterns in Claude Code events and show a message when they match.
Where are rules stored?
In project-local files named .claude/hookify.{rule-name}.local.md.
Do I need to install Hookify or Python?
No. The listing says ECC evaluates the rules with its own Node runtime when ECC hooks are enabled.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill hookify-rules
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best hookify-rules alternatives?
Popular alternatives to hookify-rules include gateguard, git-guardrails-claude-code and continuous-learning. See all hookify-rules alternatives


