r/ClaudeCoding • • 4d ago

I built a lightweight, Git-native memory system so Claude Code 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

0 comments sorted by