| name | slap |
| description | Control slap-claude-code settings — view status, toggle sounds on/off, change volume, change sensitivity. Use when user wants to configure slap during a Claude Code session. |
| user_invocable | true |
slap
View or change slap-claude-code settings.
Show status
Run the following command using the Bash tool:
~/.claude/hooks/slap-claude-code/slap config
Report the output to the user.
Change a setting
If the user included a setting to change (e.g. /slap sounds off, /slap volume 8, /slap sensitivity 5), extract the key and value and run:
~/.claude/hooks/slap-claude-code/slap config <key> <value>
Report the output to the user. The command auto-restarts the daemon.
Valid settings
sounds on or sounds off — toggle slap sounds
volume 1 through volume 10 — set sound volume
sensitivity 1 through sensitivity 10 — set detection sensitivity (1=hard slaps only, 10=light taps)
Stop / start
/slap stop → run ~/.claude/hooks/slap-claude-code/slap config enabled off
/slap start → run ~/.claude/hooks/slap-claude-code/slap config enabled on
Uninstall
If the user says /slap uninstall, run:
~/.claude/hooks/slap-claude-code/slap uninstall
Important: This will prompt for confirmation interactively. The user must confirm at their terminal.