hookify
/hookify
Tworzy własne hooki Claude Code, które ostrzegają przed poleceniem lub blokują wybrane zachowanie, na podstawie analizy rozmowy albo instrukcji.
- Autor
- andersonlimahw ↗
- Repozytorium
- lemon-ai-hub ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 16.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 16.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy własne hooki Claude Code, które ostrzegają przed poleceniem lub blokują wybrane zachowanie, na podstawie analizy rozmowy albo instrukcji.
Oryginalny opis (EN)
Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions. Use when the user asks to create a hook, warn about a command, or block a specific behavior.
Jak działa
- Overview
- How to use
- Event Types
Podgląd SKILL.md
---
name: "hookify"
description: "Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions. Use when the user asks to create a hook, warn about a command, or block a specific behavior."
---
# Hookify
Easily create custom hooks to prevent unwanted behaviors by analyzing conversation patterns or from explicit instructions.
## Overview
The hookify skill makes it simple to create hooks without editing complex 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
## How to use
When the user asks to hook or warn about something (e.g., "Warn me when I use rm -rf commands" or "Don't use console.log in TypeScript files"):
1. Create a markdown rule file in the appropriate rules directory (e.g., `.claude/hookify.[name].local.md` or `.gemini/rules/hookify.[name].md`).
### Rule Configuration Format
#### Simple Rule (Single Pattern)
Create a file like `.claude/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
#### Advanced Rule (Multiple Conditions)
```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!**
Ensure credentials are not hardcoded and file is in .gitignore.
```
## Event Types
- **`bash`**: Triggers on Bash tool commands
- **`file`**: Triggers on Edit, Write, MultiEdit tools
- **`stop`**: Triggers when the agent wants to stop
- **`prompt`**: Triggers on user prompt submission
- **`all`**: Triggers on all events
Pliki w paczce (3)
- SKILL.md 2 KB
- plugin.json 1 KB
- skills/hookify/SKILL.md 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · andersonlimahw/lemon-ai-hub | 100 | MIT |
| luiseiman/dotforge | 100 | MIT |
| minhthang1009/dotclaude | 100 | MIT |
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki de779803eae9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100hookify-rules
Tworzy i konfiguruje reguły hookify, czyli pliki markdown z YAML, które ostrzegają lub blokują działania agenta. - 100hookify-rules
Tworzy reguły hookify, które dopasowują polecenia bash, pliki, prompty i zatrzymania, na przykład blokują zmiany w .env. - 100writing-hookify-rules
Pomaga pisać reguły hookify, czyli konfigurację i składnię reguł dla hooków Claude Code. - 100hookify-rules
Pomaga tworzyć i konfigurować reguły hookify oraz wyjaśnia ich składnię i wzorce. - 100hookify-rules
Pomaga tworzyć i konfigurować reguły hookify oraz wyjaśnia ich składnię i wzorce. - 100hookify-rules
Wyjaśnia składnię i wzorce reguł hookify oraz pomaga je tworzyć, pisać i konfigurować.