Agent Shipped

Directory · Hooks

Claude Memory Compiler

Claude Code hooks that capture sessions, extract decisions and lessons, and compile them into a cross-referenced markdown knowledge base.

★ 1,328 stars · last updated 2026-04-06 · Free (check license) · View on GitHub

Best for

Install

uv sync

Our take

Uses SessionEnd and PreCompact hooks to flush transcripts through the Claude Agent SDK into daily logs, then compile.py builds concept articles and a SessionStart hook injects the index into new sessions. Retrieval relies on a markdown index rather than RAG, which the README says suits roughly 50 to 500 articles. No license is specified, and setup is described mainly as instructions for an agent to follow, with full details in AGENTS.md.

Similar hooks

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.