hookify

Generates local hook rules to block unwanted Claude behaviors.

15|6|Updated May 7, 2026
One-click install
npx skills add https://github.com/MinhThang1009/dotclaude --skill hookify-minhthang1009
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hookify
Source: https://github.com/MinhThang1009/dotclaude/tree/main/plugins/hookify/skills/hookify
Command: npx skills add https://github.com/MinhThang1009/dotclaude --skill hookify-minhthang1009

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates rule files to prevent Claude from performing unwanted behaviors — no manual settings.json editing required.

Core Features & Use Cases

  • Analyze user instructions and transcript to identify potential unwanted behaviors.
  • Suggest and create local hook rule files under .claude/hookify.<rule-name>.local.md.
  • Provide an interactive workflow to confirm and customize patterns before applying rules.

Quick Start

Create a new hook rule for an unwanted behavior and verify it within the current project.

Frequently Asked Questions about hookify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent unwanted Claude Code behavior without editing settings.json?

Hookify analyzes your conversation transcript to identify potential unwanted Claude Code behaviors and generates local hook rules to block them. It creates rule files under .claude/hookify.*.local.md without requiring manual settings.json editing.

How do I create a hook rule in Claude Code to stop specific actions?

You create a hook rule by requesting Claude Code to hookify or prevent a specific action. Hookify analyzes the conversation, prompts for confirmation, and generates a structured rule file with frontmatter fields, event types, conditions, and messages under .claude/hookify.*.local.md.

What is the file format for Claude Code local hook rules?

Local hook rules use a structured Markdown format stored as .claude/hookify.<rule-name>.local.md. Each file enforces a structured rule format containing frontmatter fields, event types, conditions, and messages to define behavioral boundaries for Claude Code.

Can I review and customize hook rules before they are applied to my project?

Yes, hookify provides an interactive workflow to confirm and customize patterns before applying rules. It analyzes your instructions and transcript, then prompts you for confirmation to ensure the generated hook files match your intent before writing them to the project directory.

Does hookify work with existing settings.json configurations in Claude Code?

Hookify operates independently of settings.json by generating local rule files under .claude/hookify.*.local.md. This allows you to enforce behavioral constraints and block unwanted Claude Code actions without modifying or conflicting with existing settings configurations.