Command reference ยท Claude Code
/hooks
Shows hook configurations for tool events.
Shows hook configurations for tool events.
โ WHEN TO USE IT?
Check which hooks currently apply to tool events
Before adding a new pre-tool hook, run /hooks first to avoid conflicts with existing hook configurations.
Figure out why a tool call was altered or blocked
After a Bash call gets unexpectedly denied, open /hooks to see whether an existing hook configuration is responsible.
โ WHEN NOT TO?
Editing or reconfiguring hook rules
/hooks only displays the configurations, it is not an editing interface.
Better: Edit the hook configuration directly in settings.json, or use the update-config skill.
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com