Event Hooks

ouroboros

3 events · 3 hooks

Install
1
Install the plugin
$
npx claudepluginhub q00/ouroboros

Want just this hook?

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

Risk Indicators
Modifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/drift-monitor.py\"",
          "timeout": 3
        }
      ],
      "matcher": "Write|Edit"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/session-start.py\"",
          "timeout": 5
        }
      ],
      "matcher": "*"
    }
  ],
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/keyword-detector.py\"",
          "timeout": 5
        }
      ],
      "matcher": "*"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 3
  },
  "eventStats": {
    "PostToolUse": 1,
    "SessionStart": 1,
    "UserPromptSubmit": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 3,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars1681
Forks149
Last CommitMar 8, 2026
Actions

Similar Hooks