Event Hooks

core

4 events · 7 hooks

From core
Install
1
Run in your terminal
$
npx claudepluginhub kentanakae/claude-code-plugins --plugin core
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "async": true,
          "command": "afplay /System/Library/Sounds/Hero.aiff",
          "statusMessage": "完了音を再生中"
        },
        {
          "type": "command",
          "async": true,
          "command": "osascript -e 'display notification \"Claude Codeがタスクを完了しました\" with title \"Claude Code\" subtitle \"タスク処理終了\"' -e 'tell application id \"com.mitchellh.ghostty\" to activate'",
          "statusMessage": "タスク完了通知を表示中"
        }
      ]
    }
  ],
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "async": true,
          "command": "afplay /System/Library/Sounds/Funk.aiff",
          "statusMessage": "スキル発火通知音を再生中"
        },
        {
          "type": "command",
          "async": true,
          "command": "SKILL_NAME=$(cat | jq -r '.tool_input.skill // \"unknown\"'); osascript -e \"display notification \\\"$SKILL_NAME を使用します\\\" with title \\\"Claude Code\\\" subtitle \\\"スキル\\\"\"",
          "statusMessage": "スキル発火通知を表示中"
        }
      ],
      "matcher": "Skill"
    }
  ],
  "Notification": [
    {
      "hooks": [
        {
          "type": "command",
          "async": true,
          "command": "afplay /System/Library/Sounds/Blow.aiff",
          "statusMessage": "確認音を再生中"
        },
        {
          "type": "command",
          "async": true,
          "command": "osascript -e 'display notification \"Claude Codeが確認を求めています\" with title \"Claude Code\" subtitle \"確認待ち\"' -e 'tell application id \"com.mitchellh.ghostty\" to activate'",
          "statusMessage": "確認待ち通知を表示中"
        }
      ],
      "matcher": "permission_prompt"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/skills/setup-claude-code/scripts/setup-check.sh"
        }
      ],
      "matcher": "startup"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 7
  },
  "eventStats": {
    "Stop": 2,
    "PreToolUse": 2,
    "Notification": 2,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 1,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 7
  }
}
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitMar 18, 2026