Event Hooks

claude-memory

4 events · 7 hooks

Install
1
Install the plugin
$
npx claudepluginhub codenamev/claude_memory --plugin claude-memory

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": "${CLAUDE_PLUGIN_ROOT}/scripts/hook-runner.sh ingest",
          "timeout": 10
        }
      ]
    }
  ],
  "PreCompact": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/hook-runner.sh ingest",
          "timeout": 30
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/hook-runner.sh sweep",
          "timeout": 30
        }
      ]
    }
  ],
  "SessionEnd": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/hook-runner.sh ingest",
          "timeout": 30
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/hook-runner.sh sweep",
          "timeout": 30
        }
      ]
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/hook-runner.sh ingest",
          "timeout": 10
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/hook-runner.sh context",
          "timeout": 5
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 7
  },
  "eventStats": {
    "Stop": 1,
    "PreCompact": 2,
    "SessionEnd": 2,
    "SessionStart": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 7,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars14
Forks1
Last CommitMar 6, 2026
Actions

Similar Hooks