Event Hooks
Community

general

3 events · 4 hooks

Install
1
Install the plugin
$
npx claudepluginhub kingstinct/.github --plugin general

Want just this hook?

Then install: npx claudepluginhub u/[userId]/[slug]

Source

Defined inline in plugin.json manifest

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/check-docs-update.sh\""
        },
        {
          "type": "command",
          "command": "MESSAGE=\"Claude Code is done! ✅\" \"${CLAUDE_PLUGIN_ROOT}/scripts/pushover-notification.sh\""
        }
      ],
      "matcher": ""
    }
  ],
  "Notification": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "MESSAGE=\"Claude Code is waiting for your input 💻\" \"${CLAUDE_PLUGIN_ROOT}/scripts/pushover-notification.sh\""
        }
      ],
      "matcher": "idle_prompt"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/git-branch-context.sh\""
        }
      ],
      "matcher": "startup"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "Stop": 2,
    "Notification": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 4,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 4
  }
}

Similar Hooks