Stats
Actions
Tags
From notification
Sends desktop or system notifications on session stop, context compaction, and user dialogs (idle, elicitation, permission prompts). Runs shell scripts to alert users of Claude Code lifecycle events.
3 events · 3 hooks
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
DATA=$(cat); TRANSCRIPT=$(echo "$DATA" | jq -r '.transcript_path'); TITLE=$(grep -m1 '"type":"summary"' "$TRANSCRIPT" 2>/dev/null | jq -r '.summary' 2>/dev/null || echo "Claude Code"); terminal-notifier -message "Claude finished responding" -title "$TITLE" -sound PingDATA=$(cat); TRANSCRIPT=$(echo "$DATA" | jq -r '.transcript_path'); TITLE=$(grep -m1 '"type":"summary"' "$TRANSCRIPT" 2>/dev/null | jq -r '.summary' 2>/dev/null || echo "Claude Code"); terminal-notifier -message "Compacting conversation..." -title "$TITLE" -sound BottleDATA=$(cat); TRANSCRIPT=$(echo "$DATA" | jq -r '.transcript_path'); TITLE=$(grep -m1 '"type":"summary"' "$TRANSCRIPT" 2>/dev/null | jq -r '.summary' 2>/dev/null || echo "Claude Code"); MSG=$(echo "$DATA" | jq -r '.message'); terminal-notifier -message "$MSG" -title "$TITLE" -sound Pingnpx claudepluginhub udecode/dotai --plugin notification