🔧 Công cụ lập trình•Mã nguồn mở•Đang hoạt động

Claude Memory Compiler

Hệ thống ghi nhớ cho Claude Code, tự động gom transcript thành daily logs rồi biên dịch thành knowledge base markdown có cấu trúc.

#claude-memory-compiler
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 1,296
Ngôn ngữ
Python
Ngày thêm
2026-04-11
Tóm tắt từ README GitHub
LLM Personal Knowledge Base Your AI conversations compile themselves into a searchable knowledge base. Adapted from Karpathy's LLM Knowledge Base architecture, but instead of clipping web articles, the raw data is your own conversations with Claude Code. When a session ends (or auto-compacts mid-session), Claude Code hooks capture the conversation transcript and spawn a background process that uses the Claude Agent SDK to extract the important stuff - decisions, lessons learned, patterns, gotchas - and appends it to a daily log. You then compile those daily logs into structured, cross-referenced knowledge articles organized by concept. Retrieval uses a simple index file instead of RAG - no vector database, no embeddings, just markdown. Anthropic has clarified that personal use of the Claude Agent SDK is covered under your existing Claude subscription (Max, Team, or Enterprise) - no separate API credits needed. Unlike OpenClaw, which requires API billing for its memory flush, this runs on your subscription. Quick Start Tell your AI coding agent: "Clone https://github.com/coleam00/claude-memory-compiler into this project. Set up the Claude Code hooks so my conversations automat
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

Claude Memory Compiler là một dự án giúp Claude Code có “trí nhớ” tốt hơn bằng cách tự động ghi lại transcript, rút ra quyết định và bài học quan trọng, rồi biên dịch chúng thành knowledge base markdown có cấu trúc. Ý tưởng cốt lõi lấy cảm hứng từ mô hình LLM knowledge base của Karpathy, nhưng áp dụng trực tiếp vào conversation với coding agent.

Điểm đáng giá của tool này là cách tiếp cận khá gọn: không cần vector database, không cần RAG phức tạp, chỉ dùng hooks, logs, compiler và index markdown. Với những người làm việc dài ngày cùng Claude Code, đây là một hướng rất hợp lý để giảm chuyện “hôm qua nói rồi mà hôm nay quên sạch”.

Tính năng chính

  • Hook tự động capture transcript từ Claude Code sessions
  • Flush daily logs và compile thành knowledge articles có liên kết chéo
  • Query dựa trên index markdown thay vì RAG nặng nề
  • Có health checks để kiểm tra broken links, mâu thuẫn và độ stale
  • Hợp với workflow cá nhân muốn lưu lại decisions và lessons learned trong codebase

Ai nên dùng

Hợp với developer dùng Claude Code thường xuyên, đặc biệt là các project dài hơi cần nhớ decisions, gotchas và patterns đã thống nhất trước đó.

Hạn chế

  • Gắn khá chặt với Claude Code ecosystem
  • Chất lượng “memory” vẫn phụ thuộc vào quality của transcript và bước compiler
  • Cần người dùng chịu khó duy trì workflow knowledge base thay vì coi nó là magic
Claude Memory Compiler | Atlas for AI