Skip to content

Tiimie1/claude-bell

Repository files navigation

🔔 Claude Bell

Claude Bell

Notification sounds for Claude Code

GitHub release MIT License

Get an audible chime when Claude finishes a task, needs your attention, or hits a context limit.

No dependencies. Pure Go. Generates sine-wave WAV files and plays them with macOS afplay.

Install

Homebrew (macOS)

brew install Tiimie1/tap/claude-bell

Go install

go install github.com/Tiimie1/claude-bell@latest

Install script

curl -sSL https://raw.githubusercontent.com/Tiimie1/claude-bell/main/install.sh | bash

Manual

Download the binary for your architecture from GitHub Releases, then move it to somewhere in your PATH:

chmod +x claude-bell
sudo mv claude-bell /usr/local/bin/

Quick start

# 1. Pick a sound for each event
claude-bell setup

# 2. Install hooks into Claude Code
claude-bell install

# Done! You'll hear sounds when Claude Code triggers events.

Usage

claude-bell setup                  Pick a sound for each event
claude-bell test                   Play all configured sounds
claude-bell install                Add hooks to ~/.claude/settings.json
claude-bell uninstall              Remove hooks from ~/.claude/settings.json
claude-bell play <event>           Play sound for an event (used by hooks)
claude-bell create <name> <code>   Create a custom sound from an encoded string
claude-bell list                   List all custom sounds
claude-bell delete <name>          Delete a custom sound
claude-bell volume [value]         Show/set playback volume (0-1, 0-100, or %)

How it works

  1. claude-bell setup lets you pick from preset sounds for three events
  2. claude-bell install writes async hooks into ~/.claude/settings.json
  3. When Claude Code triggers an event, it runs claude-bell play <event>, which generates a WAV file (cached) and plays it via afplay

Config is stored in ~/.config/claude-bell/config.json (including volume). Generated WAV files are cached in ~/.config/claude-bell/sounds/.

Volume control

# Show current volume
claude-bell volume

# Set to 65%
claude-bell volume 65
# or
claude-bell volume 0.65
# or
claude-bell volume 65%

Available sounds

Event Preset Description
stop Major Chime Bright C-E-G rising triad
Octave Chime Simple C4 to C5 jump
Resolve G major arpeggio (G-B-D-G)
notification Doorbell Classic E-C two-tone
Attention Double tap on A5
Question Rising C to E interval
limit Descending Warning G-D-A falling pattern
Low Buzz Triple pulse on A3
Slide Down E5 to E3 octave drop

Custom sounds

Create your own notification sounds using the Sound Creator web app:

  1. Open the Sound Creator and click Record
  2. Play notes on the piano keyboard (or use your computer keyboard)
  3. Click Stop when done, then Copy the generated code
  4. Create the sound:
    claude-bell create "My Sound" <paste-code-here>
  5. Run claude-bell setup — your custom sound will appear alongside the built-in presets

Manage custom sounds:

claude-bell list              # Show all custom sounds
claude-bell delete "My Sound" # Remove a custom sound

Building from source

git clone https://github.com/Tiimie1/claude-bell.git
cd claude-bell
make build

Requirements

  • macOS (uses afplay for audio playback)

License

MIT

About

Notification sounds for Claude Code — get audible chimes when tasks finish, need attention, or hit context limits. Pure Go, zero dependencies, macOS native.

Topics

Resources

License

Stars

Watchers

Forks

Contributors