What problem does it solve?
Persistent memory and codebase indexing for Claude Code solves the challenge of analyzing very large codebases by combining a persistent memory store with a fast, SQLite-backed code index. It enables cross-repo symbol lookups, memory injection at session start, and long-running analysis beyond a single prompt.
Core Features & Use Cases
- Multi-repository support: index multiple repos into a single searchable database.
- Persistent connection and WAL mode: minimize churn and improve crash recovery.
- FTS5 full-text search: fast content search across code without loading all chunks.
- Incremental indexing: re-index only files that changed.
- Multi-language support: Python (AST), JavaScript/TypeScript (regex), Java (regex) for code chunking and symbol tracking.
- Parent tracking: associate methods with their containing classes.
- Transaction batching: fast bulk indexing for large codebases.
- Use cases: architectural analysis, refactoring planning, symbol relationship discovery, and cross-file impact analysis.
Quick Start
Use the rlm skill to index a codebase and explore the index:
- Index a single repo: python3 .claude/skills/rlm/scripts/rlm_repl.py init /path/to/codebase
- Index multiple repos: python3 .claude/skills/rlm/scripts/rlm_repl.py init /path/to/frontend --name frontend
- Check what was indexed: python3 .claude/skills/rlm/scripts/rlm_repl.py status --languages --chunks