<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: zubrock</title>
    <description>The latest articles on DEV Community by zubrock (@zubrock).</description>
    <link>https://dev.to/zubrock</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3929150%2Faf4f4832-82e9-4f1d-9561-f0d371547369.png</url>
      <title>DEV Community: zubrock</title>
      <link>https://dev.to/zubrock</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zubrock"/>
    <language>en</language>
    <item>
      <title>Stop Missing Claude Code Permission Prompts — Add Sound Notifications in 10 Seconds</title>
      <dc:creator>zubrock</dc:creator>
      <pubDate>Wed, 13 May 2026 11:29:57 +0000</pubDate>
      <link>https://dev.to/zubrock/stop-missing-claude-code-permission-prompts-add-sound-notifications-in-10-seconds-1b7a</link>
      <guid>https://dev.to/zubrock/stop-missing-claude-code-permission-prompts-add-sound-notifications-in-10-seconds-1b7a</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;You know that moment? You're vibing, Claude is coding for you, you switch to Slack for literally 30 seconds — and when you come back, Claude has been sitting there for 5 minutes waiting for your permission to write a file. &lt;strong&gt;Silently.&lt;/strong&gt; No sound, no notification, nothing.&lt;/p&gt;

&lt;p&gt;This drove me absolutely crazy. I kept losing 5-10 minutes every time because I'd miss a permission prompt. And it turns out — I'm not alone. There's a &lt;a href="https://github.com/anthropics/claude-code/issues/28774" rel="noopener noreferrer"&gt;known issue&lt;/a&gt; filed on GitHub, hundreds of people complaining about the same thing, and &lt;strong&gt;still no built-in fix&lt;/strong&gt; as of May 13, 2026.&lt;/p&gt;

&lt;p&gt;So I spent an evening trying every possible solution — the Notification hook (doesn't work reliably), code-notify brew package (overcomplicated), custom scripts... Nothing worked cleanly.&lt;/p&gt;

&lt;p&gt;Until I found the answer. And it's embarrassingly simple.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Fix: Two Hooks, Zero Dependencies
&lt;/h2&gt;

&lt;p&gt;Claude Code has a hooks system. One of the hooks is called &lt;code&gt;PermissionRequest&lt;/code&gt; — and it fires &lt;strong&gt;every single time&lt;/strong&gt; Claude needs your approval. Another one is &lt;code&gt;Stop&lt;/code&gt; — fires when Claude is done.&lt;/p&gt;

&lt;p&gt;All you need is &lt;code&gt;afplay&lt;/code&gt; — a command that's already built into every Mac since forever. It plays sound files. That's it. No npm, no pip, no brew, no background daemons.&lt;/p&gt;

&lt;p&gt;I wrapped it into a one-line installer: &lt;strong&gt;&lt;a href="https://github.com/Zubrock/claude-desktop-code-bell" rel="noopener noreferrer"&gt;claude-desktop-code-bell&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Install (10 seconds, seriously)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/Zubrock/claude-desktop-code-bell/main/install.sh | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The installer lets you pick from 14 built-in macOS sounds (Glass, Ping, Submarine, Funk — whatever fits your vibe) and previews each one before you choose. Then just restart Claude Code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's it. You're done.&lt;/strong&gt; 🎉&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;Two hooks get added to your &lt;code&gt;~/.claude/settings.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"PermissionRequest"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"afplay /System/Library/Sounds/Glass.aiff &amp;amp;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"timeout"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"Stop"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"afplay /System/Library/Sounds/Ping.aiff"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"timeout"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Glass chime&lt;/strong&gt; → Claude needs your permission (file edit, bash command, etc.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ping&lt;/strong&gt; → Claude finished working&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;code&gt;&amp;amp;&lt;/code&gt; makes it non-blocking so Claude doesn't slow down. The whole thing adds maybe 50ms of overhead. You won't notice it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Tried Before (So You Don't Have To)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;Notification&lt;/code&gt; hook with &lt;code&gt;permission_prompt&lt;/code&gt; matcher&lt;/strong&gt; — doesn't fire reliably in Claude Desktop. Known bug.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;code-notify&lt;/code&gt; (brew package)&lt;/strong&gt; — works but adds unnecessary complexity. Background processes, config files, the works.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;preferredNotifChannel: terminal_bell&lt;/code&gt;&lt;/strong&gt; — only works in terminal, not in Desktop app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom wrapper scripts&lt;/strong&gt; — too fragile, breaks on updates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;code&gt;PermissionRequest&lt;/code&gt; hook is the only thing that fires consistently. I tested it dozens of times. It just works.&lt;/p&gt;

&lt;h2&gt;
  
  
  Uninstall
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/Zubrock/claude-desktop-code-bell/main/uninstall.sh | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clean removal, no leftovers. It even offers to restore your original settings from backup.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Zubrock/claude-desktop-code-bell" rel="noopener noreferrer"&gt;Zubrock/claude-desktop-code-bell&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;macOS only for now — PRs for Linux/Windows are very welcome!&lt;/p&gt;

&lt;p&gt;If this saved you from going insane, drop a ⭐ on the repo. And if you have ideas for improvements — issues and PRs are open.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Published May 13, 2026&lt;/em&gt;&lt;/p&gt;

</description>
      <category>macos</category>
      <category>ai</category>
      <category>programming</category>
      <category>claude</category>
    </item>
  </channel>
</rss>
