Development
Hook
Hooks
What lumen runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
$ npx -y skills add ory/lumen --agent claude-codeShips with lumen. Installing the plugin gets these hooks.
What fires, and when
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.
- Matches
startup|resume|clear|compact"${CLAUDE_PLUGIN_ROOT}/scripts/run" hook session-start lumen --host claude --plugin-name lumen
PreToolUse
- Matches
Grep|Bash"${CLAUDE_PLUGIN_ROOT}/scripts/run" hook pre-tool-use lumen --plugin-name lumen
Ships withlumen
Save 30% token costs when using Claude Code, Codex, OpenCode for free - with open source, local semantic search. Works for small and large codebases and monorepos! Enterprise-ready and fully compliant via Ollama and SQLite-vec.
Get the whole plugin
Stats
243
Stars
28
Forks
Active
Maintenance
Go
Language
1d ago
Last commit
5mo ago
Created
Repo: ory/lumen
In this plugin
See everything inside 
