hookify
๐Pluginanthropics/claude-code
Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions. Define rules via simple markdown files.
Overview
An Anthropic plugin that makes it easy to create custom hooks for Claude Code. Hooks prevent unwanted behaviors by analyzing conversation patterns and enforcing rules defined in simple markdown files.
Key Features
- Create custom hooks from explicit instructions or conversation pattern analysis
- Define rules via simple markdown files
- Prevent unwanted AI behaviors before they happen
- Lightweight rule system that integrates with Claude Code's hook mechanism
Who is this for?
Claude Code users who want fine-grained control over AI behavior โ such as preventing certain code patterns, enforcing naming conventions, or blocking specific actions. Define rules once and they're automatically enforced across sessions.
Part of
anthropics-claude-code
๐ Related Resources
Installation
/plugin marketplace add anthropics/claude-code/plugin install hookify@claude-code-pluginsMore from this repository10
Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.
Interactive learning mode that requests meaningful code contributions at decision points (mimics the unshipped Learning output style)
Development kit for working with the Claude Agent SDK
Comprehensive toolkit for developing Claude Code plugins. Includes 7 expert skills covering hooks, MCP integration, commands, agents, and best practices. AI-assisted plugin creation and validation.
Create distinctive, production-grade frontend interfaces with high design quality. Generates creative, polished code that avoids generic AI aesthetics.
Automated code review for pull requests using multiple specialized agents with confidence-based scoring to filter false positives
Security reminder hook that warns about potential security issues when editing files, including command injection, XSS, and unsafe code patterns
Adds educational insights about implementation choices and codebase patterns (mimics the deprecated Explanatory output style)
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Migrate your code and prompts from Sonnet 4.x and Opus 4.1 to Opus 4.5.