Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By claude-contribv1.1.0MITIn 1 marketplace
Native desktop notifications for Claude Code on macOS and Linux — notifies when Claude needs your input
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Native desktop notifications for Claude Code on macOS and Linux — get notified when Claude needs your input, even when you've switched to another app.
os-notify replaces the former macos-notify plugin and adds Linux support. It sends a notification on the Notification event (permission_prompt, elicitation_dialog) and when Claude asks a question with AskUserQuestion ("Claude has a question"), with the project name (owner/repo or directory basename) as the title and "Claude needs your input — <branch>" as the body. When you are away, permission requests get Allow and Deny buttons, and simple questions get one button per option. For task-completion alerts use tmux-notify.
| Feature | macOS | Linux (X11) | Linux (Wayland) |
|---|---|---|---|
| Notification | terminal-notifier, falls back to osascript | notify-send (libnotify) | notify-send |
| Sound | yes | if your notification daemon honors the sound-name hint | same |
| Suppress when terminal is focused | yes | yes (xprop) | not yet — always notifies |
| Click-to-focus (incl. tmux window) | yes, with terminal-notifier | yes, needs notify-send ≥ 0.8 and a daemon with action support | not yet |
| Allow / Deny buttons | yes, with terminal-notifier | yes, needs notify-send ≥ 0.8, a daemon with action support and timeout | same |
Other operating systems are a silent no-op. Wayland has no portable way to read the focused window or take focus, so those sessions get plain notifications.
terminal-notifier is recommended for click-to-focus (brew install terminal-notifier). Without it, plain osascript notifications are shown with no click action.notify-send — apt install libnotify-bin, dnf install libnotify, or pacman -S libnotify. A notification daemon must be running (any desktop environment provides one).xprop (package xorg-xprop / x11-utils) for focus detection. To raise the window on click, one of i3-msg (i3), wmctrl or xdotool./plugin install os-notify@claude-extensions
Nothing needs configuring: the terminal window is detected from the process tree (under tmux, from the tmux client attached to Claude's session). Options are tmux options, as in macos-notify:
| Option | Default | Description |
|---|---|---|
@claude-notify-terminal | unset (auto-detect) | Optional override for the terminal used in focus detection and click-to-focus, for when auto-detection picks the wrong window. macOS: application name (Ghostty, iTerm2, …), case-insensitive. Linux/X11: window class or instance from xprop WM_CLASS, case-insensitive; the last dotted part is enough (wezterm, kitty). |
@claude-notify-sound | on | Play a sound with each notification |
@claude-notify-buttons | on | Show Allow and Deny buttons on permission notifications, and one button per option on simple questions, while you are away. off keeps plain notifications. |
@claude-notify-ask-timeout | 25 | Seconds a permission notification waits for a click. Keep it below the hook timeout in hooks/hooks.json (30). |
set -g @claude-notify-sound on
# only if auto-detection does not work for you:
set -g @claude-notify-terminal wezterm
When Claude asks for permission to use a tool and you are not looking at its terminal, the notification carries Allow and Deny buttons, and the text shows what is being approved, such as Allow Bash? git status. Clicking one answers the request through a PermissionRequest hook.
ExitPlanMode is left to the terminal, because a plan needs a review and not a yes or no. Questions from AskUserQuestion are covered below.@claude-notify-buttons off if commands in your sessions can contain secrets.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub claude-contrib/claude-extensions --plugin os-notifyPlugins from other owners that cover similar ground