Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mhenke-hookify
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/hookify
What's inside
- Skill name
hookify- Description
- Extensible user-configured prompt hooks
- License
- MIT
- Instructions
- 1,156 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: 1156 lines (spec recommends under 500)
Files (14)
- SKILL.md
- console-log-warning.local.md · examples/
- dangerous-rm.local.md · examples/
- require-tests-stop.local.md · examples/
- sensitive-files-warning.local.md · examples/
- __init__.py · scripts/
- __init__.py · scripts/core/
- config_loader.py · scripts/core/
- rule_engine.py · scripts/core/
- hook-config.json · scripts/
- posttooluse.py · scripts/
- pretooluse.py · scripts/
- stop.py · scripts/
- userpromptsubmit.py · scripts/
SKILL.md (first lines)
# Hookify Extensions
## Overview
# Hookify Plugin
Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions.
## Overview
The hookify plugin makes it simple to create hooks without editing complex `hook-config.json` files. Instead, you create lightweight markdown configuration files that define patterns to watch for and messages to show when those patterns match.
**Key features:**
- 🎯 Analyze conversations to find unwanted behaviors automatically
- 📝 Simple markdown configuration files with YAML frontmatter
- 🔍 Regex pattern matching for powerful rules
- 🚀 No coding required - just describe the behavior
- 🔄 Easy enable/disable without restarting
## Quick Start
### 1. Create Your First Rule
```bash
/hookify Warn me when I use rm -rf commands
```
This analyzes your request and creates `.agent/hookify.warn-rm.local.md`.
### 2. Test It Immediately
**No restart needed!** Rules take effect on the very next tool use.
Ask Claude to run a command that should trigger the rule:
```
Run rm -rf /tmp/test
```
You should see the warning message immediately!
## Usage
### Main Command: /hookify
**With arguments:**
```
/hookify Don't use console.log in TypeScript files
```
Creates a rule from your explicit instructions.
**Without arguments:**
```
/hookify
```
Analyzes recent conversation to find behaviors you've corrected or been frustrated by.
### Helper Commands
**List all rules:**
```
/hookify:list
```
**Configure rules interactively:**
```
/hookify:configure
```
Enable/disable existing rules through an interactive interface.
**Get help:**
```
/hookify:help
```
## Rule Configuration Format
### Simple Rule (Single Pattern)
`.agent/hookify.dangerous-rm.local.md`:
```markdown
---
name: block-dangerous-rm
enabled: true
event: bash
pattern: rm\s+-rf
action: block
---
⚠️ **Dangerous rm command detected!**
This command could delete important files. Please:
- Verify the path is correct
- Consider using a safer approach
- Make sure you have backups
```
**Action field:**
- `warn`: Shows warning but allows operation (default)
- `block`: Prevents operation from executing (PreToolUse) or stops session (Stop events)
### Advanced Rule (Multiple Conditions)
`.agent/hookify.sensitive-files.local.md`:
```markdown
---
name: warn-sensitive-files
enabled: true
event: file
action: warn
conditions:
- field: file_path
operator: regex_match
pattern: \.env$|credentials|secrets
- field: new_text
operator: contains
pattern: KEY
---
🔐 **Sensitive file edit detected!**From mhenke/claude-code-unplugged, MIT.
More from mhenke/claude-code-unplugged
- 0.502score
claude-opus-4-5-migration
mhenke
Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
security-guidance
mhenke
Security warnings, patterns scanner, and LLM diff security reviews
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
ralph-wiggum
mhenke
Iterative feedback loop commands
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
github-management
mhenke
Issue and pull request lifecycle automation scripts
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
learning-output-style
mhenke
Prompts users for lightweight contributions to encourage learning
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
commit-commands
mhenke
Git commit and repository workflows
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
code-review
mhenke
Automated PR and code reviewer guidelines
SkillCFreshness: C★ 1Claude Code +9 - 0.486score
explanatory-output-style
mhenke
Provides educational insights and explanations during code execution
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
feature-dev
mhenke
Guided feature development workflow
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
pr-review-toolkit
mhenke
Comprehensive code review toolkit
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
plugin-dev
mhenke
Development assistance for creating CLI plugins
SkillCFreshness: C★ 1Claude Code +9 - 0.479score
agent-sdk-dev
mhenke
Help developers build Agent SDK applications
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 18, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mhenke/claude-code-unplugged
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mhenke
- 0.502score
claude-opus-4-5-migration
mhenke
Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
security-guidance
mhenke
Security warnings, patterns scanner, and LLM diff security reviews
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
github-management
mhenke
Issue and pull request lifecycle automation scripts
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
ralph-wiggum
mhenke
Iterative feedback loop commands
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
learning-output-style
mhenke
Prompts users for lightweight contributions to encourage learning
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
commit-commands
mhenke
Git commit and repository workflows
SkillCFreshness: C★ 1Claude Code +9
Cite this page
hookify skill. Agent Mart. https://agentmart.dev/skills/mhenke-hookify (last updated 2026-10-24)