Claude Tools / Plugins / hookify

Audited plugin listing

hookify

Creates Claude Code hooks from natural language — analyze your conversation for past mistakes or describe a pattern you want to block, and hookify writes the rule.

hookssafetymetaproductivitycode-backedsource:first-party
OverviewInstallAudit
/plugin marketplace add anthropics/claude-plugins-official
/plugin install hookify@claude-plugins-official

Listing signals

Install check

✓ Pass

Risk scan

✓ Clean

Implementation

Code-backed

Assessment

Verdict

Hookify turns Claude into a meta-tool for managing Claude's own behavior: run /hookify to analyze the current conversation and surface patterns worth preventing, or describe a behavior directly and get a hook rule file in .claude/. The rule engine uses regex matching against tool names and input fields — no code execution, no network calls. Rules take effect on the next tool use without a restart. The /hookify-list, /hookify-disable, and /hookify-delete management commands are included. The clearest use case: you've corrected Claude three times this session; run /hookify and it reads the conversation and writes the prevention rule for you.

Installation

Add to Claude Code

/plugin marketplace add anthropics/claude-plugins-official
/plugin install hookify@claude-plugins-official

Source: github.com/anthropics/claude-plugins-official

Evidence

Audit receipts

This listing is tied to a specific source commit and records both installation and risk checks.

Install check

✓ Pass

Python hook scripts (UserPromptSubmit, PreToolUse, PostToolUse, Stop) read .claude/hookify.*.local.md rule files and evaluate regex conditions. No shell=True, no eval(). hooks.json is the hook registry.

Risk scan

✓ Clean

grep matched rule_engine.py for "eval" — false positive from method name _regex_match and re.compile(). Actual code uses Python re module only. Transcript path read from hook input is an OS open() call on the user's own transcript file — expected and documented.

Composition

What was measured

Prose lines

1,583

Code lines

847

Prose / code

1.87

Related

Similar audited plugins

← All pluginsListing criteria