Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Writes markdown hookify rules with YAML frontmatter that block dangerous shell commands or restrict AI behavior in Claude Code.
32% 91%+59 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 7 of 22 without it.
What exact directory and filename pattern should be used when saving a local Hookify rule named `check-secrets` for a Claude Code project?
Uses the filename format hookify.check-secrets.local.md
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
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.
Create .claude/hookify.dangerous-rm.local.md:
---
name: dangerous-rm
enabled: true
event: bash
pattern: rm\s+-rf
action: block
---
🛑 **Dangerous rm command detected!**
This command could delete important files.
Verification: Run the command with --help flag to verify availability.
The rule activates immediately - no restart needed!
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.