Agent skill · software engineering · aradotso
claude-memory-compiler
claude-memory-compiler — an agent skill for coding agents.
Why this skill is useful
Adds executable scripts for session capture and knowledge compilation that fundamentally extend Claude Code's capabilities.
What it needs
Requires python, uv installed locally. Requires claude account access. About 6k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
Clone https://github.com/coleam00/claude-memory-compiler into this project. Set up the Claude Code hooks so my conversations automatically get captured into daily logs, compiled into a knowledge base, and injected back into future sessions. Read the AGENTS.md for the full technical reference. bash Clone into your project root git clone https://github.com/coleam00/claude-memory-compiler .claude-memory cd .claude-memory Install dependencies (requires uv) uv sync Copy hooks config into your project's Claude settings cp .claude/settings.json ../.claude/settings.json Or merge the hooks block into an existing .claude/settings.json Conversation -> SessionEnd / PreCompact hooks -> flush.py (Claude Agent SDK extracts knowledge) -> daily/YYYY-MM-DD.md -> compile.py (after 6 PM or manually) -> knowledge/concepts/, connections/, qa/ -> SessionStart hook injects index.md into next session -> cycle repeats bash Compile new daily logs into knowledge articles uv run python scripts/compile.py Ask a question against the knowledge base uv run python scripts/query.py "Why did we switch from SQLite to Postgres?" Ask + save the answer back into the knowledge base uv run python scripts/query.py "What auth strategy are we using?" --file-back Run all 7 health checks (broken links, orphans, contradictions, staleness) uv run python scripts/lint.py Run only free structural checks (no LLM calls) uv run python scripts/lint.py --structural-only your-project/ ├── .claude/ │ └── settings.json # Hook configuration ├── daily/ │ └── YYYY-MM-DD.md # Raw daily session logs ├── knowledge/ │ ├── index.md # Master index (injected at session start) │ ├── concepts/ # Structured concept articles │ ├── connections/ # Cross-reference articles │ └── qa/ # Q&A articles saved with --file-back └── scripts/ ├── flush.py # Session capture + extraction ├── compile.py # Daily logs -> knowledge articles ├── query.py # Index-guided retrieval └── lint.py # Knowledge base health checks json { "hooks": { "SessionEnd": [ { " …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/claude-memory-compiler