OpenViking Memory Hooks — persistent long-term memory plugin

Resolved 💬 1 comment Opened May 18, 2026 by benediktkraus Closed Jun 7, 2026

Built a plugin that gives Claude Code persistent long-term memory via OpenViking.

What it does: Every UserPromptSubmit gets enriched with relevant memories from previous sessions. Every Stop captures decisions, preferences, and context. Also works with Codex, Gemini CLI, and OpenClaw — same memory pool.

Recall: Hybrid search (semantic + grep + RRF merge) → 5-scope system (CWD-based) → 7-dimension ranking → MMR diversity → temporal decay → compaction → citations

Capture: Substance filter → pre-processing → content merge (>0.85 dedup) → auto-link (project + tool relations)

Extra hooks: SessionStart (project bootstrap), SubagentStart/Stop (scope isolation), PreCompact (token tracking)

MCP server: 6 tools — memory_recall, memory_store, memory_forget, memory_health, memory_search, convert_to_markdown

git clone https://github.com/benediktkraus/openviking-hooks.git
cd openviking-hooks
./install.sh claude-code

Fork of Castor6/openviking-plugins. Apache-2.0.

Repo: https://github.com/benediktkraus/openviking-hooks

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗