[Feature Request] Implement hierarchical memory organization and cross-session persistence

Resolved 💬 1 comment Opened Apr 17, 2026 by kurellajunior Closed May 25, 2026

Problem Description
It is really hard to get memory transferred between sessions or projects. Claude has no internal concept of organising memories in hierarchies. I had to add such thing myself but it is hard to train it to use them consistently.

What I have done

In the .claude/memory folder is the MEMORY.md file. Next to it I placed relevant memories by topic in separate files. In MEMORY.md I "indexed" those files with hints, what is in the files. In the central CLAUDE.md I put a section strongly asking to load certain memories when certain conditions are met (load the git-memory, when gitStatus is present, load fun-coding style when in folder MAA/fun, etc.)

What I want

I would like claude to understand prompts like memorize globally, for ever, etc, to organize memories outside project scope.
Ideally when tasked to ponder it should extract recurring patterns into the global memory file.

I know that for efficient memory and dreaming stuff better tools exist. But for simple straightforward knowledges that are true across sessions this would suffice.

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.112
  • Feedback ID: 5d5455d9-6484-493e-ae5d-b16e459e63eb

View original on GitHub ↗

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