Event Hooks
Community

headless-knight

5 events · 5 hooks

Install
1
Install the plugin
$
npx claudepluginhub lostabaddon/headlessknight

Want just this hook?

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

Risk Indicators
Matches all tools
Source

Defined inline in plugin.json manifest

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/lib/on-stop.js"
        }
      ]
    }
  ],
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/lib/tool-start.js"
        }
      ],
      "matcher": "*"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/lib/tool-end.js"
        }
      ],
      "matcher": "*"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/lib/session-start.js"
        }
      ],
      "matcher": "startup"
    }
  ],
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/lib/on-input.js"
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": true,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 5
  },
  "eventStats": {
    "Stop": 1,
    "PreToolUse": 1,
    "PostToolUse": 1,
    "SessionStart": 1,
    "UserPromptSubmit": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 5,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 5
  }
}

Similar Hooks