Command Palette

Search for a command to run...

Back to skills
skill № 52732

hookify

Create hooks to prevent unwanted behaviors from conversation analysis or explicit instructions

FreeNo executable scripts
jaswanthsanjay88by jaswanthsanjay88★ 24 GitHub stars

Install hookify in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

hookify

Create hook rules to prevent unwanted Claude Code behaviors by analyzing conversation patterns or explicit user instructions.

Usage

/hookify [description of behavior to prevent]

If no arguments are provided, analyze the current conversation to find behaviors worth preventing.

Workflow

Step 1: Gather Behavior Info

  • With arguments: parse the user's description of the unwanted behavior
  • Without arguments: use the conversation-analyzer agent to find:
    • explicit corrections
    • frustrated reactions to repeated mistakes
    • reverted changes
    • repeated similar issues

Step 2: Present Findings

Show the user:

  • behavior description
  • proposed event type
  • proposed pattern or matcher
  • proposed action

Step 3: Generate Rule Files

For each approved rule, create a file at .claude/hookify.{name}.local.md:

---
name: rule-name
enabled: true
event: bash|file|stop|prompt|all
action: block|warn
pattern: "regex pattern"
---
Message shown when rule triggers.

Step 4: Confirm

Report created rules and how to manage them with /hookify-list and /hookify-configure.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the hookify skill do?

Create hooks to prevent unwanted behaviors from conversation analysis or explicit instructions

How do I install the hookify skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the hookify skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare hookify with