Claude Self-Reflect — Summary
Claude Self-Reflect (CSR) is a single 44MB Rust binary that gives Claude Code persistent conversation memory via a 3-layer enrichment pipeline: raw conversation chunks → structured metadata → AI-generated narratives, achieving a claimed 9.3x search quality improvement. It ships 6 lifecycle hooks (SessionStart, UserPromptSubmit, PostToolUse, Stop, PreCompact, SessionEnd), 12 MCP tools with safety annotations, local FastEmbed embeddings (384-dim), HNSW sub-millisecond vector search, and AST-aware code analysis across 6 languages — all running from a single binary with no Docker, no database server, and no API keys required.
Version 8.0 represents a complete rewrite of the previous Python/Docker/Qdrant stack into pure Rust. The install path is a one-line curl script or npm install -g claude-self-reflect; the csr-engine setup command imports past conversations, registers the MCP server, and installs hooks. Key metric claims: context retention below 20% after 10 sessions without CSR, sub-1ms p95 search, 93ms startup, ~20 conversations/sec import speed.
Compared to seeds, CSR is the technical inverse of ccmemory: both use hooks to capture and re-inject conversation memory in Claude Code, but ccmemory relies on an external Neo4j + Docker stack, while CSR is a zero-dependency single binary. CSR differs from basic-memory (explicit agent writes) by being fully automatic (hooks capture without agent action). The 3-layer enrichment pipeline that progressively transforms chunks into AI narratives is unique in this batch.