Event Hooks

personal-ai-infrastructure

8 events · 15 hooks

Install
1
Install the plugin
$
npx claudepluginhub rafaelcalleja/claude-market-place --plugin personal-ai-infrastructure

Want just this hook?

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

Risk Indicators
Matches all tools
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.ts"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type Stop"
        }
      ]
    }
  ],
  "PreCompact": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/context-compression-hook.ts"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type PreCompact"
        }
      ],
      "matcher": ""
    }
  ],
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type PreToolUse"
        }
      ],
      "matcher": "*"
    }
  ],
  "SessionEnd": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-session-summary.ts"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type SessionEnd"
        }
      ]
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type PostToolUse"
        }
      ],
      "matcher": "*"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/load-core-context.ts"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/initialize-pai-session.ts"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type SessionStart"
        }
      ]
    }
  ],
  "SubagentStop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/subagent-stop-hook.ts"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type SubagentStop"
        }
      ]
    }
  ],
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/update-tab-titles.ts"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type UserPromptSubmit"
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": true,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 15
  },
  "eventStats": {
    "Stop": 2,
    "PreCompact": 2,
    "PreToolUse": 1,
    "SessionEnd": 2,
    "PostToolUse": 1,
    "SessionStart": 3,
    "SubagentStop": 2,
    "UserPromptSubmit": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 15,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 15
  }
}
Stats
Stars2
Forks1
Last CommitNov 10, 2025
Actions

Similar Hooks