hook-creator
Installation
SKILL.md
Hook Creator
$ARGUMENTS
Create a new Claude Code hook following ai-toolkit conventions.
Supported Hook Events
Core lifecycle
| Event | Fires When | Matcher | Typical Use |
|---|---|---|---|
SessionStart |
Session begins, resumes, or clears | startup|resume|clear |
Context injection, rules reminder |
SessionEnd |
Session is closing | any | Flush logs, save transcripts |
UserPromptSubmit |
User submits a prompt | any | Prompt governance, usage tracking |
Notification |
Claude sends a notification | any | OS alerts, Slack pings |
MessageDisplay |
Assistant message is about to be shown to the user | any | Transform or hide assistant message text before display |