Ton abspielen wenn Claude Code fertig ist

Der nachfolgende Code kommt in deinen Claude Code User Einstellungen:

nano ~/.claude/settings.jsonCode-Sprache: PHP (php)

Es gibt unterschiedliche Hooks, wir brauchen "Stop" - wird dann abgefeuert wenn CC fertig ist.
Weitere Infos findest du hier: https://docs.anthropic.com/en/docs/claude-code/hooks-guide

{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "afplay /System/Library/Sounds/Ping.aiff"
          }
        ]
      }
    ]
  }
}Code-Sprache: JSON / JSON mit Kommentaren (json)