← ClaudeAtlas

recalllisted

Recall past decisions, fixes, and context from the shared project memory store. Use when the user asks about earlier work ("what did we decide about X", "how did we fix Y", "have we seen this before"), when a question likely predates this session, when the stable snapshot surfaces a relevant memory entry but lacks detail, or when a memory may live in another project (cross-repo recall). Searches scored chunks, expands the best hits, and as a last resort reads the origin session transcript.
sripwoud/pi-memsearch · ★ 3 · AI & Automation · score 69
Install: claude install-skill sripwoud/pi-memsearch
# Recall Answer from the project memory store through progressive disclosure: search chunks (L1), expand sections (L2), read the origin transcript (L3). Stop at the shallowest layer that answers the question; each deeper layer costs more context. ## L1 — search chunks Call `memory_search` with the question in natural phrasing. Each hit carries a relevance score, a `chunk_hash`, its source as `file:start-end`, and the chunk text. - Answer directly from the hits when they already settle the question. - When nothing relevant comes back, retry once with a paraphrase (different wording, same meaning) before concluding memory has nothing. ### Cross-repo escalation Only after the project-scoped search and its paraphrase retry both miss — or when the user explicitly asks to search all projects — call `memory_search` again with `scope: "all"`. It fans out across every project under `PI_MEMSEARCH_SCAN_ROOTS`, labels each hit with its origin project path, and reports how many projects were searched and skipped. When it fails because the variable is unset, relay that message instead of retrying. Never escalate while project-scoped hits already answer the question. ## L2 — expand a section When a hit looks relevant but truncated, call `memory_expand` with its `chunk_hash`. It returns the full memory-file section and, when the entry was captured from a session, its session anchor: origin session id, entry id, and transcript path. For a cross-repo hit, also pass its origin project p