Skip to content

Instantly share code, notes, and snippets.

View sahmett's full-sized avatar
🎯
on flow

Seyyit Ahmet Kılıç sahmett

🎯
on flow
View GitHub Profile
@sahmett
sahmett / claude-code-macos-notifications-en.md
Created July 4, 2026 22:21
Claude Code → native macOS notifications with sound (zero tokens)

Claude Code → macOS Notifications (with sound, zero tokens)

A small set of hooks that post native macOS Notification Center alerts — with sound — when Claude Code finishes a task, waits for your approval, hits an error, or compacts its context. Works everywhere, including the VSCode integrated terminal.

Why a hook? Claude Code's built-in preferredNotifChannel setting only shows desktop notifications in iTerm2 / Ghostty / Kitty — VSCode and most other terminals aren't on that list. A hook bypasses the terminal entirely and posts