Event Hooks

claude-code-learn

4 events · 4 hooks

Install
1
Install the plugin
$
npx claudepluginhub ourines/claude-code-learn --plugin claude-code-learn

Want just this hook?

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

Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/stop-reflect.js",
          "timeout": 3
        }
      ]
    }
  ],
  "PreCompact": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.js",
          "timeout": 3
        }
      ]
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/post-research.js",
          "timeout": 3
        }
      ],
      "matcher": "WebSearch|WebFetch|mcp__context7__query-docs|mcp__gh_grep__searchGitHub"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.js",
          "timeout": 5
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "Stop": 1,
    "PreCompact": 1,
    "PostToolUse": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 4,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars1
Forks0
Last CommitFeb 12, 2026
Actions

Similar Hooks