# What a local coding-agent sound hook can see

Hooks can receive rich event data even when a sound helper only uses status. Review the command, payload handling and network behaviour before connecting one.

By [Rudra Satani](https://tapnoise.com/about/#maker), who makes TapNoise · 11 October 2026

In this post

A hook is a command run at an event in an agent’s lifecycle. The agent may provide more context than a simple sound player needs, so evaluate the actual command and its data handling rather than the label “notification.”

## Inspect the mechanism

Claude Code, Codex and Cursor have different hook or notification formats. Their payloads can include contextual information. A custom script can read, store or forward that information if it is written to do so.

Prefer a small command with a clear purpose. Be cautious about copying an unfamiliar hook that posts its entire input to a remote endpoint just to produce a local chime.

## TapNoise’s narrower message

TapNoise’s integration sends the agent’s identity, status and host app information to a local listener. Its documented message does not include your prompts, code or responses.

That describes TapNoise’s implementation, not a blanket privacy guarantee for all scripts placed in an agent’s hook configuration. Backups of the configuration also remain local and should be treated as part of your app data.

## Review changes and removal

Check what file the connection changes, whether existing commands remain intact and how to remove the entry. If the app moves, use its repair control instead of adding another unidentified command.

Read [TapNoise’s local-data guide](https://tapnoise.com/docs/what-stays-on-your-mac/) and [safe hook removal](https://tapnoise.com/blog/remove-agent-sound-hooks-safely/) before connecting a tool on a sensitive work machine.

Sources: [Claude Code hook input](https://code.claude.com/docs/en/hooks), [OpenAI notification configuration](https://learn.chatgpt.com/docs/config-file/config-reference), [TapNoise data handling](https://tapnoise.com/docs/what-stays-on-your-mac/).

**About the author**

Rudra Satani makes TapNoise. Spotted a mistake? Email [support@tapnoise.com](mailto:support@tapnoise.com?subject=Blog%20correction), or reach out at [@rudraxx13](https://x.com/rudraxx13).

## Related guides

- [**What stays on your Mac, and what leaves it**TapNoise keeps its settings and counts on your Mac and never your typing. Here is what it stores, where, and the two network checks it makes.](https://tapnoise.com/docs/what-stays-on-your-mac/)

- [**Connect Claude Code, Codex and Cursor**Connect Claude Code, Codex or Cursor in Settings › Agents to hear when they finish or need you. TapNoise backs up each agent's settings first.](https://tapnoise.com/docs/connect-coding-agents/)

## Hear TapNoise on your Mac

Every sound is made by TapNoise itself. Try the sounds on the homepage first, then download the app.

[Download TapNoise](https://tapnoise.com/download/) · [Try the sounds](https://tapnoise.com/#try)

## More from the blog

- [**Why agent alerts can need repair after moving TapNoise**Keep TapNoise in Applications, inspect its Agents connection state and use Repair to update the helper path while preserving other agent settings.](https://tapnoise.com/blog/repair-agent-hooks-after-moving-app/)

- [**How to get a sound when Claude Code finishes**Hear when Claude Code is done or needs you. Use its built-in hooks with a macOS sound, or let TapNoise connect it for you in Settings > Agents.](https://tapnoise.com/blog/claude-code-sound-when-done/)

- [**How to know when Codex is done on your Mac**Codex can run a command when a turn ends. Set that up yourself, or let TapNoise connect Codex in Settings > Agents and play a sound when it finishes.](https://tapnoise.com/blog/know-when-codex-is-done/)

- [**Agent sounds not working on Mac? Check these layers**Separate audio playback, quiet mode, connection state and agent event delivery before editing hook files or reconnecting every coding tool.](https://tapnoise.com/blog/debug-missing-agent-sounds-mac/)

Source: https://tapnoise.com/blog/agent-hooks-privacy-mac/
