desk-notify

Reviewed at commit 0e4c0dd New version, not yet reviewed

Sends a desktop notification when a question or a plan waits for your answer, and when a turn ends or fails.

Made by
Kerem Gok
What we checked

Shows a desktop notification with the project name when Claude asks you a question, puts up a plan for approval, finishes a turn or fails. A failure notice includes the first 60 characters of the error or Claude's last message. It makes no network calls and stores only on/off switches for the three notifications.

Review details

Static review of the source at the pinned commit; not run. Hooks: session.start (detects the platform with the OS variable and 'uname -s', reads the project name through git rev-parse, registers /desk-notify), command.run, tool.call for AskUserQuestion and ExitPlanMode (notify, then pass the call on unchanged), classic.Stop and classic.StopFailure (notify). Runtime calls: $.process.run for git (rev-parse), uname, and the notification command osascript on macOS, notify-send on Linux, powershell.exe -NoProfile -NonInteractive -Command with a toast script on Windows, each with a timeout of 5 s and run from a timer; $.env.get for OS; $.session.cwd; $.store get/set for the three switches; $.ui.log. Text placed into the notification is escaped for AppleScript and for PowerShell single-quoted strings, but the PowerShell escape only doubles the ASCII apostrophe, and PowerShell also treats curly single quotes as quote characters; the failure text (error or last assistant message, 60 characters) and the project directory name end up in that script, so on Windows a curly quote there could in theory break out of the string. This needs a failed turn with attacker-influenced text or an oddly named directory; no exploit was verified. No network, no file access, no obfuscation.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for desk-notify

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/desk-notify.svg)](https://modsforclaude.com/mods/desk-notify/)

← All mods