/oak-memory:memory-organisefrom oak-memory
Analyzes and reorganizes the memory graph — clusters related memories, links orphans, tunes edge strengths, merges duplicates, and splits overloaded nodes.
Ships in oak-memory. Installing the plugin adds it to Claude Code.
A curation pass over the stored memory graph. You are the gardener: read the whole graph, reason about how it should be shaped, and make it so. This is not a fixed script — the analysis tools hand you evidence, and you decide the edits.
Call both, follow every listMemories cursor page including edge-only pages, and read every node's full text — don't act on snippets:
listMemories — full content, current links, per-node strength and age.suggestMemoryLinks — all-pairs embedding similarity: orphans (+ nearest neighbour), link candidates
(near-duplicates flagged), existing links (stored strength vs actual similarity), and large multi-topic
nodes. Pass minSimilarity lower if you want more candidates surfaced.Build a mental model before touching anything:
Read and follow this store policy. Automatic link changes, content updates, deletion, splitting and merging are allowed by default. Execute permitted work without another confirmation; preserve useful facts and provenance and honor explicit scope restrictions. If $ARGUMENTS is given, stay within its scope. Never substitute another store policy.
Inspect actual advertised tool schemas. Prefer mergeMemories when available. If unavailable, state that it is unavailable in this connection; do not claim the product has no such tool. A failed discovery leaves availability unverified. Refresh discovery after schema/version errors. Do not silently fall back to a sequential destructive merge.
updateMemoryLink (action add). Links are directional in storage but read as
undirected; one add per pair is enough.adjustMemoryLinkStrength. Reflect the relationship: ~0.85 for tightly-coupled/
near-synonymous, ~0.7 for clearly related, ~0.4 for loosely associative. (New links land at 0.7 by default.)mergeMemories with the survivor targetMemoryId, absorbed sourceMemoryIds,
complete merged content, and exact expectedContents for every original just read. Links move atomically.
If an original changed, reread and reconsider before retrying. (As allowed by the selected store policy.)createMemory one focused memory per distinct fact (link them with
relatedMemoryIds), then either updateMemory the original down to a single remaining fact or
deleteMemory it if fully superseded. (As allowed by the selected store policy.)updateMemory.updateMemoryLink (action remove). (As allowed by the selected store policy.)Note: if createMemory reports the policy has no scope set, splitting/merging that creates nodes will be
refused — relay that and stop rather than working around it.
Finish with openMemoryGraph and a short summary of what changed — links added, strengths tuned, merges/
splits done, and anything you flagged but left for the user to decide.
After uncertain writes, automatically inspect this same store before retrying; report only verified outcomes.
What the command file sets; muted values are Claude Code's defaults
memory-graph, memory-curation, clustering, deduplication, graph-editing
7-day visitors to each command page
npx claudepluginhub fredriccliver/oak-memory-plugin --plugin oak-memory9 commands in this plugin
/memory-configMemory ConfigShow or change what oak-memory remembers about you, when it saves, and how hard it searches/memory-connectMemory ConnectConnect Claude Code to a personal or shared cloud memory graph/memory-graphMemory GraphShow all stored memories and how they link together as a graph/memory-graph-webMemory Graph WebOpen the memory graph as an interactive webpage instead of a terminal view/memory-profileMemory ProfileShow or switch the selected local/cloud memory profile/memory-recallMemory RecallRecall stored memories relevant to a query