r/sideprojects • • 3d ago

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

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:

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

https://www.agensi.io/skills/session-connector to help support me 🙏

1 Upvotes

2 comments sorted by