Claude Code's plugin installer does not merge hooks.json into settings.json automatically. This adds a setup script and skill that users can run once after installing the plugin to register the hooks manually.
698 B
698 B
| name | description |
|---|---|
| hindsight:setup | Register hindsight-memory hooks into Claude Code settings. Run this once after installing the plugin. |
Register the hindsight-memory hooks into ~/.claude/settings.json by running the setup script:
python3 "$CLAUDE_PLUGIN_ROOT/scripts/setup_hooks.py"
If CLAUDE_PLUGIN_ROOT is not set, find the path manually:
ls ~/.claude/plugins/cache/hindsight/hindsight-memory/
Then run:
python3 ~/.claude/plugins/cache/hindsight/hindsight-memory/<version>/scripts/setup_hooks.py
After the script completes, restart Claude Code for the hooks to take effect. You should see [Hindsight] log lines on the next session start.