claude-code - 💡(How to fix) Fix OpenViking Memory Hooks — persistent long-term memory plugin

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

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

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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix OpenViking Memory Hooks — persistent long-term memory plugin