
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
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
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.