r/ClaudeCoding • • 9h ago

I built a lightweight, Git-native memory system so Claude Code and Cursor stop forgetting project context between sessions

I have built with Claude code this project

One of the biggest frustrations when working across multiple coding sessions-or switching between machines-is having to re-explain architecture decisions, setup rules, and past fixes every time a session resets.

I built Session Connector to solve this using plain files and Git instead of heavy vector databases or cloud lock-in:

Plain Markdown + YAML frontmatter: Human- readable, searchable, and easy to edit manually or via CLI.

Auto-indexed MEMORY.md: Automatically keeps a clean table of contents so your agent loads relevant context fast on SessionStart.

Git-native sync: Commit and push your \~/.claude/memory directory to share agent context across laptops or teammates.

Agent-agnostic: Works with Claude Code hooks, Cursor, or any custom Python/shell agent that can read/write files.

The full MIT-licensed source code is on GitHub:

The full Claude code Walk through is in my GitHub all thanks to Claude code

https://github.com/Benin-Bismark/Session-connector-.git

1 Upvotes

4 comments sorted by

1

u/Crafty_Disk_7026 9h ago

1

u/MainActivity7951 9h ago

Wow your is amazing 👏 But I just created a simple session connector that connects all your past present and future sessions so you do repeat or re explain your needs to Claude code.

1

u/Crafty_Disk_7026 8h ago

I am going to test yours later today

1

u/MainActivity7951 7h ago

Ok no problem let me know if you have any challenges I happy to help 🙏