Productivity
Hook
Hooks
What cortexes runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
> /plugin marketplace add XBlueSky/cortexes > /plugin install cortexes@cortex
Ships with cortexes. Installing the plugin gets these hooks.
What fires, and when
SessionEnd
bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-end-record.sh
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-start-inject.sh
In the plugin's words
How cortexes describes its own hook set.
Cortexes plugin hooks — session recording and memory injection
Ships withcortexes
Personal knowledge vault plugin for Claude Code — session recording, memory distillation, and hybrid semantic + BM25 retrieval.
Get the whole plugin, auto-invoked
Stats
21
Stars
4
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
1d ago
Last commit
4mo ago
Created
Repo: XBlueSky/cortexes

