Hookify Plugin
Plugin ActiveEasily create hooks to prevent unwanted behaviors by analyzing conversation patterns
Empower users to proactively prevent unwanted or risky behaviors by easily defining custom rules based on conversation analysis and explicit instructions.
Features
- Create custom hooks via markdown files
- Analyze conversations for unwanted behaviors
- Define rules for bash, file, stop, and prompt events
- Block or warn on rule matches
- Interactive rule management commands
Use Cases
- Preventing the use of dangerous bash commands like `rm -rf`
- Warning about sensitive information in file edits
- Ensuring best practices like running tests before stopping
- Enforcing coding standards by detecting debug statements
Non-Goals
- Replacing core Claude Code functionality
- Managing external dependencies
- Providing a full-fledged security auditing tool
Workflow
- User invokes `/hookify` command
- Plugin analyzes conversation or uses provided instructions
- User selects behaviors and actions (warn/block)
- Plugin generates `.claude/hookify.{rule-name}.local.md` files
- Hooks dynamically load rules on next tool use
- Plugin enforces defined rules during agent execution
Practices
- Rule definition
- Behavioral analysis
- Workflow enforcement
Prerequisites
- Python 3.7+
Trust
- warning:Issues AttentionWith 9462 issues opened and 22831 closed in the last 90 days, the closure rate is approximately 71%, but the high volume of open issues suggests potential delays in maintainer response.
Installation
First, add the marketplace
/plugin marketplace add anthropics/claude-code/plugin install hookify@claude-code-pluginsQuality Score
Trust Signals
Similar Extensions
Dotforge Stack Python Fastapi
100Python 3.12+ with FastAPI, async/await, type hints, and Ruff linting rules for Claude Code.
Dotforge
100Node.js 20+ with Express/Fastify, TypeScript, and ESM module rules for Claude Code.
Review Agent Governance
99Require a human approval signal before an AI agent can post PR reviews, comments, merges, or writes to CI config. Cedar-gated, receipt-signed, designed for the Hermes-style failure mode where a review bot posts without oversight.
Accessibility Compliance
99WCAG accessibility auditing, compliance validation, UI testing for screen readers, keyboard navigation, and inclusive design
Cc Safe Setup
99734 safety hooks for Claude Code — prevent file deletion, credential leaks, git disasters, and token waste during autonomous AI coding sessions
Claude Code Hooks
99Production safety hooks for autonomous Claude Code operation. Context monitoring, syntax checking, branch protection, activity logging, and more.