coleam00

Give Claude Code a memory that evolves with your codebase. Hooks automatically capture sessions, the Claude Agent SDK extracts key decisions and lessons, and an LLM compiler organizes everything into structured, cross-referenced knowledge articles - inspired by Karpathy's LLM Knowledge Base architecture.

84
28
100% credibility
Found Apr 07, 2026 at 76 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

This tool automatically captures, organizes, and reuses key insights from your AI coding conversations to build a personal, searchable knowledge base that enhances future interactions.

How It Works

1
💭 Wish for better AI memory

You want your AI coding assistant to remember lessons, decisions, and patterns from all your past chats so you don't repeat yourself.

2
🤖 Tell your AI to set it up

Simply instruct your AI helper to add this memory system to your project, and it installs and activates everything with no extra work from you.

3
💬 Chat normally with your AI

Carry on your usual conversations about coding tasks, asking questions and getting help as always.

4
📝 Key moments get captured

Whenever a chat session wraps up, the important exchanges like decisions and insights are automatically saved to a daily note.

5
🔄 Notes turn into knowledge

At the end of the day, those daily notes organize themselves into connected articles about concepts, building your personal wisdom library.

6
📖 AI recalls everything next time

Open a new chat, and your AI instantly brings in the full knowledge base, making it smarter right from the start.

7
Explore or maintain your knowledge
Ask the knowledge base

Type a question like 'How do I handle auth?' and get a clear answer drawn from your saved wisdom.

🩺
Run a health check

Quickly scan for any loose ends or updates needed to keep your knowledge organized.

AI becomes your genius partner

Your assistant now draws on months of your own experiences, saving time and making every session more productive and insightful.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 76 to 84 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is claude-memory-compiler?

This Python tool gives Claude Code a persistent, evolving memory by hooking into session start, end, and pre-compaction events to capture transcripts automatically. It uses the Claude Agent SDK to extract decisions, lessons, and patterns from chats, compiling them into daily logs and then structured markdown articles on concepts, connections, and Q&A—complete with cross-references and an index for retrieval. Future sessions get this knowledge injected upfront, so Claude remembers your codebase specifics without you giving Claude code access to folders or repos manually each time.

Why is it gaining traction?

Unlike basic session summaries, it builds a full knowledge base that grows with use, auto-compiling after 6 PM and offering CLI commands to query answers, lint for issues like broken links or contradictions, or file responses back. Developers dig the zero-setup hook—just tell Claude to clone the repo and configure settings for read access—plus it skips pricey RAG for a lightweight index that fits personal scale. Runs on your Claude subscription, no extra billing.

Who should use this?

Claude Code power users debugging complex codebases, like backend devs tracking auth flows or frontend teams standardizing API patterns across sessions. Ideal if you're tired of re-explaining project gotchas or giving Claude access to Jira, Obsidian notes, or private GitHub repos repeatedly.

Verdict

Early-stage gem at 45 stars and 1.0% credibility—docs shine with agent-friendly setup, but expect tweaks for production. Try it if Claude Code is your daily driver; skip for one-off use.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.