Cross-platform audio feedback system for task completion and user prompts. Provides non-intrusive sound notifications to improve workflow awareness.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/play-sound.pyThis skill provides cross-platform audio feedback for Claude Code events, helping users stay aware of task progress and interaction points without constantly watching the screen.
Audio cues enhance the development workflow by:
The audio system is implemented in scripts/play-sound.py, a Python script that:
Uses afplay command with system sounds from /System/Library/Sounds/:
osascript -e 'beep' if neededSearches common sound directories:
/usr/share/sounds/freedesktop/stereo//usr/share/sounds/ubuntu/stereo//usr/share/sounds/gnome/default/alerts/Tries multiple tools in order:
paplay (PulseAudio)aplay (ALSA)beep command\a)Uses winsound module from Python standard library:
Hooks are configured in the plugin's settings.json:
{
"hooks": {
"SubagentStop": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/skills/play-sound/scripts/play-sound.py success"
}
]
}
],
"Notification": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/skills/play-sound/scripts/play-sound.py prompt"
}
]
}
]
}
}
Users can customize the audio feedback by:
play-sound.pyThe script is designed to work on:
All implementations use sounds/capabilities available by default on the latest OS versions, requiring no additional software installation.
The audio system fails silently by design:
Test the sound system manually:
# Test success sound
python3 ./scripts/play-sound.py success
# Test prompt sound
python3 ./scripts/play-sound.py prompt
# Test default (prompt)
python3 ./scripts/play-sound.py
scripts/play-sound.py: Main implementationsettings.json: Hook configuration