AI AGENT ADDONS
AI & Agent Building
3,392installs

Hookify rules are simple markdown files that act like a safety checklist for your AI assistant. They watch for certain patterns in commands, file edits, or prompts. When a pattern is found, the rule shows a helpful message or blocks the action. You can create rules to prevent dangerous commands, catch debug code, or enforce best practices. Each rule lives in a .claude/hookify folder and uses easy YAML frontmatter to set its trigger and behavior.

With just a few lines you can add warnings or blockers for things like rm -rf, console.log, or editing secret files. Multiple conditions let you check file paths, command text, or content matches. This gives you fine control over what your AI can and cannot do.

Anyone who uses an AI assistant for coding or system tasks will benefit. You get safer automation and fewer mistakes without needing to watch every action yourself.

Add Writing Hookify Rules skill to your workflow

Global

mkdir -p ~/.claude/skills/writing-hookify-rules

Project

mkdir -p .claude/skills/writing-hookify-rules

Source Repository

Stars
31,260
Forks
3,414
Watchers
31,260
License
Apache-2.0
Last Push
23 days ago
Created
8 months ago