Event Hooks

thrum

4 events · 4 hooks

Install
1
Install the plugin
$
npx claudepluginhub leonletto/thrum --plugin thrum

Want just this hook?

Add to a custom plugin, then install with one command.

Risk Indicators
Executes bash commands
Source

Defined inline in plugin.json manifest

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/stop-check-messages.sh",
          "timeout": 15
        }
      ]
    }
  ],
  "PreCompact": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/pre-compact-save-context.sh 2>/dev/null || true"
        }
      ],
      "matcher": ""
    }
  ],
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/block-sync-worktree-cd.sh",
          "timeout": 5
        }
      ],
      "matcher": "Bash"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "thrum prime 2>/dev/null || echo 'Thrum not initialized (run: thrum init)'"
        }
      ],
      "matcher": ""
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "Stop": 1,
    "PreCompact": 1,
    "PreToolUse": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 3,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 2
  }
}
Actions

Similar Hooks