Desktop Notification
Send a Windows toast notification to get the user's attention.
CRITICAL: When you send a notification, STOP
After sending a notification, you MUST:
- •STOP all activity immediately
- •WAIT for the user to respond
- •DO NOT continue with other attempts, workarounds, or approaches
- •DO NOT ask follow-up questions or make suggestions
The notification means: "I need you right now. I'm waiting."
When to use this skill
Use this skill when:
- •A command requires user interaction (keyboard input, clicking, browser actions)
- •A long-running process completes and needs user review
- •An error occurs that requires user intervention
- •You need to alert the user before running an interactive command
After using this skill, STOP and WAIT.
Usage
The notification script is located at ~/.claude/scripts/notify.js.
Basic notification
bash
node $USERPROFILE/.claude/scripts/notify.js "Claude Code" "Your attention is needed!"
Custom notification
bash
node $USERPROFILE/.claude/scripts/notify.js "Custom Title" "Custom message text"
Examples
Before an interactive command:
bash
node $USERPROFILE/.claude/scripts/notify.js "Action Required" "GitHub CLI needs your device code" gh auth login
After a long build:
bash
npm run build node $USERPROFILE/.claude/scripts/notify.js "Build Complete" "Build finished - please review"
On error:
bash
node $USERPROFILE/.claude/scripts/notify.js "Error Occurred" "Deployment failed - check logs"
Implementation
The notification system uses Windows PowerShell toast notifications. It will:
- •Display a native Windows notification with custom title and message
- •Fallback to a beep if notifications fail
- •Return success/failure status