Event Hooks

tome

2 events · 2 hooks

Install
1
Install the plugin
$
npx claudepluginhub athola/claude-night-market --plugin tome

Want just this hook?

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

Source

Defined in hooks/hooks.json

Configuration
{
  "PreCompact": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/pre_compact.py",
          "timeout": 5
        }
      ],
      "_comment": "Checkpoint active research session before compaction"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/session_start.py",
          "timeout": 5
        }
      ],
      "_comment": "Check for active research sessions on startup"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 2
  },
  "eventStats": {
    "PreCompact": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 2,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars222
Forks22
Last CommitMar 20, 2026
Actions

Similar Hooks