AI AGENT ADDONS

Hookify rules let you teach an AI agent what to watch for and how to respond. You write simple markdown files with a few settings. Each rule has a pattern to detect and a message to show. This helps the agent avoid mistakes or follow your preferences.

Anyone building with AI agents can use these rules. You can block dangerous commands like rm -rf or warn about console.log in code. Rules work on bash commands, file edits, or user prompts. You decide if the agent should just warn you or block the action entirely.

The format is easy to learn. You use YAML frontmatter to set the rule name, event type, and pattern. Then write the message in markdown below. Multiple conditions are also supported for more precise matching.

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
134,801
Forks
21,763
Watchers
134,801
Last Push
25 days ago
Created
1 year ago