BeClaude

hookify

30.2kOfficial PluginGeneralby Anthropic

Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions. Define rules via simple markdown files.

Python3272 forks747 issuesUpdated 6/16/2026First seen 4/17/2026

Summary

Hookify lets you define custom hooks in simple markdown files to automatically detect and prevent unwanted behaviors in Claude Code, such as committing debug code or making risky API calls.

  • By analyzing conversation patterns or following explicit rules, it helps enforce coding standards and safety checks without manual oversight.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install hookify@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Prevent accidental commits of debug print statements or console.log calls.
Block API calls to production endpoints when working in a development branch.
Enforce code style rules like requiring JSDoc comments on all exported functions.
Automatically flag and reject file modifications outside allowed directories.
Detect and warn about hardcoded secrets or credentials before they are committed.
Ensure all new dependencies are approved by a security review before installation.

Usage Examples

1

/hookify add rule 'No console.log' with message 'Remove debug logs before commit'

2

/hookify block all network requests to *.production.com

3

/hookify enforce that every function has a JSDoc comment

View source on GitHub
claude-codemcpskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is hookify?

Hookify lets you define custom hooks in simple markdown files to automatically detect and prevent unwanted behaviors in Claude Code, such as committing debug code or making risky API calls. By analyzing conversation patterns or following explicit rules, it helps enforce coding standards and safety checks without manual oversight.

How to install hookify?

To install hookify: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install hookify@<marketplace>. Finally, /plugin in Claude Code.

What is hookify best for?

hookify is a plugin categorized under General. Created by Anthropic.

What can I use hookify for?

hookify is useful for: Prevent accidental commits of debug print statements or console.log calls.; Block API calls to production endpoints when working in a development branch.; Enforce code style rules like requiring JSDoc comments on all exported functions.; Automatically flag and reject file modifications outside allowed directories.; Detect and warn about hardcoded secrets or credentials before they are committed.; Ensure all new dependencies are approved by a security review before installation..