hook
/hook
Włącza, wyłącza i zarządza hookami Claude Code, w tym przy debugowaniu i konfiguracji.
- Autor
- htlin222 ↗
- Repozytorium
- dotfiles ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.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
Włącza, wyłącza i zarządza hookami Claude Code, w tym przy debugowaniu i konfiguracji.
Oryginalny opis (EN)
Enable, disable, and manage Claude Code hooks. Use for hook debugging or configuration.
Jak działa
- When to use
- Usage
- Instructions
- Examples
- Notes
Podgląd SKILL.md
--- name: hook description: Enable, disable, and manage Claude Code hooks. Use for hook debugging or configuration. --- # Hook Management System Manage Claude Code hooks for the current session. ## When to use - When you need to check the status of Claude Code hooks - When you want to temporarily disable a noisy or problematic hook - When debugging hook behavior or performance issues - When monitoring hook execution metrics ## Usage ``` /hook status # Show all hooks and their status /hook list # List available hooks with descriptions /hook disable [hook-name] # Temporarily disable a hook /hook enable [hook-name] # Re-enable a disabled hook /hook profile # Show hook performance metrics /hook logs [hook-name] # View recent logs for a hook ``` ## Instructions When this command is invoked: ### /hook status 1. Read `~/.claude/settings.json` 2. Parse the hooks configuration 3. Check `~/.claude/hooks/.disabled` for disabled hooks 4. Display in a formatted table: - Hook type (SessionStart, PreToolUse, PostToolUse, and others) - Matcher pattern - Command/Prompt - Status (enabled/disabled) ### /hook list 1. Scan `~/.claude/hooks/` directory 2. List each hook file with: - Filename - Description (from docstring) - Trigger type - Last modified ### /hook disable [hook-name] 1. Create/update `~/.claude/hooks/.disabled` file 2. Add the hook name to the disabled list 3. Hooks check this file before running 4. Note: Changes persist until re-enabled ### /hook enable [hook-name] 1. Read `~/.claude/hooks/.disabled` file 2. Remove the hook name from the disabled list 3. Confirm the hook is re-enabled ### /hook profile 1. Read `~/.claude/logs/hook_metrics.jsonl` 2. Calculate average execution time per hook 3. Show: - Hook name - Avg execution time (ms) - Total calls - Success rate - Token impact estimate ### /hook logs [hook-name] 1. Find log files in `~/.claude/logs/` 2. Filter by hook name 3. Show last 20 entries 4. Include timestamp, result, and any errors ## Examples ```bash # Check current hook status /hook status # Disable noisy notifications temporarily /hook disable notification # Re-enable when ready /hook enable notification # Check performance impact /hook profile # Debug a specific hook /hook logs post_tool_use ``` ## Notes - Disabled state uses `~/.claude/hooks/.disabled` file - Performance data from `~/.claude/logs/hook_metrics.jsonl` - Hooks check disabled state before executing - Session-based disabling (resets on restart)
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · htlin222/dotfiles | 100 | MIT |
| frankxai/agentic-creator-os | 100 | Apache-2.0 |
| kamoca-labs/craft | 100 | MIT |
| FOwen123/ostack-video-editor | 90 | 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 dc9f731d2ab3 (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
- 95skill-toggle
Włącza, wyłącza i porządkuje skille Claude Code: sprawdza ich status, wypisuje listę, zarządza kolekcjami i czyści katalog skilli. - 100claude-code-hook-development
Pomaga tworzyć hooki Claude Code oraz sugeruje je przy prośbach o automatyczne wykonanie czegoś przed lub po innej akcji. - 100usage
Włącza, sprawdza lub wyłącza zbieracz danych o użyciu Astillero w repozytoriach, odświeża nieaktualny hook. - 100hooks-management
Zarządza hookami i automatyzacją agentów kodujących (Claude Code, Codex CLI, OpenCode, Devin): dodawanie, listowanie, usuwanie, aktualizacja i walidacja hooków. - 100auto-routing
Włącza, wyłącza i sprawdza wskazówki routingu dla przyszłych sesji, wyłącznie jako konfigurację. - 100auto-routing
Włącza, wyłącza i sprawdza wskazówki routingu dla przyszłych sesji, wyłącznie jako konfigurację.