
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
claude-code-notifier-hook
Advanced tools
Claude Code Stop hook notifier — sends a system notification when Claude finishes a task
当 Claude Code 完成任务时,自动发送 macOS 系统通知(可附带提示音),让你不用盯着屏幕等待。
npm install -g claude-code-notifier-hook
claude-code-notifier-hook init
向导会引导你:
选择安装级别
~/.claude/settings.json — 对所有项目生效.claude/settings.json — 仅对当前项目生效选择提示音(macOS)
~/Library/Sounds 中的 .aiff 文件)配置完成后,Claude Code 每次完成任务都会自动触发通知。
echo '{"stop_hook_active": false}' | claude-code-notifier-hook notify --sound Frog
本工具作为 Claude Code 的 Stop hook 运行。每当 Claude 完成一轮任务,Claude Code 会自动调用 notify 子命令并通过 stdin 传入 JSON 数据。
防止无限循环: 若 JSON 中 stop_hook_active === true(表示 hook 本身触发了新会话),通知器会立即退出,避免循环触发。
用户级去重: 安装到用户级别时,hook 命令会先检查当前项目是否已有自定义 notifier hook,有则跳过,避免重复通知。
| 音效名 | 文件 |
|---|---|
| 来啦老弟 | lailalaodi.aiff |
| 你干嘛 | niganma.aiff |
| 开始工作 | letsgetwork.aiff |
init 时会将所选文件复制到 ~/Library/Sounds/,之后通过 afplay 播放。
MIT
FAQs
Claude Code Stop hook notifier — sends a system notification when Claude finishes a task
The npm package claude-code-notifier-hook receives a total of 3 weekly downloads. As such, claude-code-notifier-hook popularity was classified as not popular.
We found that claude-code-notifier-hook demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.