Command by decko · 1 stars
claude-code-notify sends a desktop notification whenever Claude Code finishes responding, so you never miss a prompt while working across multiple sessions. Each notification shows your session name (from /rename) and the first 80 characters of Claude's last response, giving you context at a glance. When running in tmux, the notification includes the window index so you know exactly where to switch. The plugin is focus-aware: if you're already looking at the Claude session (detected via tmux pane, window, and terminal focus state), the notification is suppressed. On macOS without tmux, it checks whether your terminal app is frontmost. A 5-second debounce prevents notification spam during rapid tool calls. Works on Linux (notify-send) and macOS (osascript). Requires jq and bash 4+. tmux is optional but recommended for the best experience. Configuration is zero-config by default, with two optional environment variables: CLAUDE_NOTIFY_CONTEXT (adds a Work/Personal prefix) and CLAUDE_NOTIFY_URGENCY (sets notification priority). Includes /notify-help and /notify-test slash commands for easy setup verification.
/plugin install claude-code-notify@claude-community