Skip to content

session-indexer: giving Claude Code a memory that doesn't die with the project next door

6.9 relevance
Score Breakdown
technical depth
6
novelty
8
actionability
7
community
5
strategic
7
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Novel approach to persist AI coding assistant context across sessions.

AI/ML dev.to
session-indexer: giving Claude Code a memory that doesn't die with the project next door
Summary

Session-indexer is a Go tool that indexes Claude Code session transcripts per project into local SQLite databases, using optional Ollama bge-m3 embeddings for semantic search and falling back to FTS5 BM25 keyword matching. It hooks into Claude Code's lifecycle: a stop hook mines transcripts within a 50-second deadline, and a start hook derives queries from git branch/commits to inject relevant context. By keeping the database append-only inside the project's .claude/ directory, it avoids the single-point-of-failure problem of centralized memory services.

Author

Valentyn Solomko

More from Valentyn Solomko →