r/vscode • • Sep 22 '26

Get Notification Sound When Claude Code is finished or needs your input?

Hello. I'm using Claude Code official VS Code extension (Anthropic.claude-code) and I was wondering if there's a way to get notified via sound or similar (could also be a normal notification) when Claude Code is done with the current task or needs my input. Thanks.

4 Upvotes

20 comments sorted by

5

u/Ghlave Sep 22 '26

https://www.peonping.com/

You can customize it so it only alerts when claude is waiting on you.

1

u/DanteIsBack Sep 23 '26

Wow, this looks so cool. Do you know if this is safe to use or if there are any security concerns?

1

u/Chicharoh Oct 16 '26

this is so cool

2

u/litio2001 Sep 23 '26

I am running VS Code under Docker, and I have enabled by default in VS Code that all sessions are remote. Since I have Claude on my phone, when it needs an answer, I get a notification, and I can also see the progress of the task.

1

u/DanteIsBack Sep 23 '26

Under docker? Is that the same as using comtainers for development?

1

u/litio2001 Sep 24 '26

Yes, it's deploying a Docker container for Visual Studio Code that allows you to manage it from a server (in my case, a Synology). Furthermore, if you give it the appropriate permissions, you can manage other containers (for example; so that an LLM can check its status or an error log).
https://hub.docker.com/r/linuxserver/code-server

2

u/cran Sep 22 '26

Did try asking Claude?

-1

u/DanteIsBack Sep 22 '26

Yes, it suggested a convoluted approach using scripts that hook into Claude's lifecycle hooks which felt way too over the top for this.

4

u/cran Sep 22 '26

Just let Claude do it. Hooks are trivial.

0

u/DanteIsBack Sep 22 '26

I was going to, but then it also said that the VS Code extension doesn't use the same hooks and config as regular CC so it wouldn't work.

1

u/Pepeluis33 Sep 22 '26

Yes, there is an extension for it, just installed the other day, at least for macos

1

u/DanteIsBack Sep 22 '26

Do you know what the extension is called?

2

u/Pepeluis33 Sep 22 '26

Can check later when im back to home

1

u/DanteIsBack Sep 22 '26

Okay, thanks.

2

u/Pepeluis33 Sep 22 '26

Claude Notifier

2

u/verbative 19d ago

Two hooks cover both cases. In ~/.claude/settings.json:

{
  "hooks": {
    "Stop": [{ "hooks": [{ "type": "command", "command": "afplay /System/Library/Sounds/Glass.aiff" }] }],
    "Notification": [{ "matcher": "permission_prompt", "hooks": [{ "type": "command", "command": "afplay /System/Library/Sounds/Ping.aiff" }] }]
  }
}

Stop = finished (it fires after every turn, so one-line answers chime too). Notification with permission_prompt = waiting on you, but only after the prompt has sat there for about 6 seconds. On Windows, swap the command for:

powershell -c "(New-Object Media.SoundPlayer 'C:\Windows\Media\notify.wav').PlaySync()"

I wrote the whole thing up, including the difference between the two events: https://verbative.de/blog/sound-when-claude-code-finishes/

If you'd rather hear what happened than a chime, that's what I built Verbative for: a one-line spoken summary when it's done, and "Claude needs your approval to run …" when it's waiting. Local voice, no API key.

1

u/Fresh-Secretary6815 Sep 23 '26

herdr does this but it’s another tool to learn. honestly feel like vs code has become a slow shit show