Use the codebase knowledge graph for structural code queries. Triggers on: explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions…
Packs the most relevant context (files, docs, prior decisions) into a compact payload for injection into the next agent turn. Build a task-aware context bundle before large changes, reviews, or unfamiliar work. Pul l only the code, standards, plans, RAG hits, and notes that matter instead of reading wi de. Use before…
Local hybrid retrieval (BM25 + embeddings + RRF) for agent memory and codebases — one SQLite file, MCP server included. Runs locally from the shelfmark-rag Python package.