Test ccbell sound notifications
Tests sound notifications for Claude Code events like stop, permission prompts, and idle alerts.
/plugin marketplace add mpolatcan/cc-plugins/plugin install mpolatcan-ccbell-plugins-ccbell@mpolatcan/cc-plugins[stop|permission_prompt|idle_prompt|subagent|all]Test sound notifications for Claude Code events.
$ARGUMENTS
stop - Test the stop event soundpermission_prompt - Test the permission prompt soundidle_prompt - Test the idle prompt soundsubagent - Test the subagent completion soundall or no argument - Test all enabled soundsThe plugin is located at $CLAUDE_PLUGIN_ROOT or ~/.claude/plugins/local/ccbell.
Before testing, optionally show:
Based on the argument provided, run the appropriate test:
For specific event:
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/local/ccbell}"
"$PLUGIN_ROOT/bin/ccbell" <event_name>
For all events:
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/local/ccbell}"
for event in stop permission_prompt idle_prompt subagent; do
echo "Testing: $event"
"$PLUGIN_ROOT/bin/ccbell" "$event"
sleep 1.5
done
After testing, report which sounds played:
## ccbell Sound Test Results
**Active Profile:** default
**Quiet Hours:** Not active
| Event | Status | Sound | Notes |
|-------|--------|-------|-------|
| Stop | Played | bundled:stop | 0.5 volume |
| Permission Prompt | Played | bundled:permission_prompt | 0.7 volume |
| Idle Prompt | Played | bundled:idle_prompt | 0.5 volume |
| Subagent | Played | bundled:subagent | 0.5 volume |
All enabled sounds working correctly!
To change sounds, run /ccbell:configure
Check potential issues:
# Check if currently in quiet hours
CONFIG_FILE="${CLAUDE_PROJECT_DIR:-.}/.claude/ccbell.config.json"
if [ ! -f "$CONFIG_FILE" ]; then
CONFIG_FILE="$HOME/.claude/ccbell.config.json"
fi
if [ -f "$CONFIG_FILE" ] && command -v jq &>/dev/null; then
quiet_start=$(jq -r '.quietHours.start // empty' "$CONFIG_FILE")
quiet_end=$(jq -r '.quietHours.end // empty' "$CONFIG_FILE")
if [ -n "$quiet_start" ]; then
echo "Quiet hours configured: $quiet_start - $quiet_end"
echo "Current time: $(date '+%H:%M')"
fi
fi
# Check debug log
if [ -f "$HOME/.claude/ccbell.log" ]; then
echo "Last 5 log entries:"
tail -5 "$HOME/.claude/ccbell.log"
fi
If sounds don't play:
enabled: true in config"debug": true in config and check ~/.claude/ccbell.log$CLAUDE_PLUGIN_ROOT/sounds/ directoryTo test sounds ignoring quiet hours and cooldowns, use the ccbell binary directly:
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/local/ccbell}"
"$PLUGIN_ROOT/bin/ccbell" stop
This confirms audio output is working independent of ccbell config.