coleam00/claude-memory-compiler

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.

1.3kStars on the repository
5Mods indexed here, across every type
4mo agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

SessionStart

01

coleam00/claude-memory-compiler

Hook Claude Code

Runs when a session starts, executing session-start.py via uv. From coleam00/claude-memory-compiler.

1.3k 4mo ago A tokens not measured

PreCompact

02

coleam00/claude-memory-compiler

Hook Claude Code

Runs before the context is compacted, executing pre-compact.py via uv. From coleam00/claude-memory-compiler.

1.3k 4mo ago A tokens not measured

SessionEnd

03

coleam00/claude-memory-compiler

Hook Claude Code

Runs when a session ends, executing session-end.py via uv. From coleam00/claude-memory-compiler.

1.3k 4mo ago A tokens not measured