Uninstall guide
Two steps. The hook and audio file are removed from your Claude Code config — nothing else on your system is touched.
What was installed
Run this in Terminal to see your current Claude Code settings, including the hook entry:
cat ~/.claude/settings.jsonThis command removes the hook entry from settings.json and deletes the two installed files. Paste it into Terminal and press Return:
python3 - <<'PY'
import json, pathlib, sys
settings_path = pathlib.Path.home() / ".claude" / "settings.json"
hook_path = str(pathlib.Path.home() / ".claude" / "hooks" / "yes-baby.sh")
if not settings_path.exists():
print("settings.json not found — nothing to do")
sys.exit(0)
s = json.loads(settings_path.read_text())
usp = s.get("hooks", {}).get("UserPromptSubmit", [])
cleaned = [
e for e in usp
if not any(h.get("command") == hook_path for h in e.get("hooks", []))
]
if cleaned != usp:
s.setdefault("hooks", {})["UserPromptSubmit"] = cleaned
if not cleaned:
del s["hooks"]["UserPromptSubmit"]
if not s.get("hooks"):
s.pop("hooks", None)
settings_path.write_text(json.dumps(s, indent=2))
print("Hook removed from settings.json")
else:
print("Hook not found in settings.json — nothing to remove")
PY
rm -fv ~/.claude/hooks/yes-baby.sh ~/.claude/hooks/yes_baby.mp3
echo "Done. Restart Claude Code."You may need to scroll the command box — it is a multi-line Python script.
After running the command, fully quit and reopen Claude Code. The sound will no longer play.
Open settings
nano ~/.claude/settings.jsonRemove the entry
Delete the object containing "yes-baby.sh" from the UserPromptSubmit arrayDelete files
rm -f ~/.claude/hooks/yes-baby.sh ~/.claude/hooks/yes_baby.mp3Restart
Fully quit and reopen Claude CodeHaving trouble? Open an issue in the source repository.