From memstack
Recalls details from past Claude Code sessions using semantic vector search in LanceDB, SQLite keyword search, and recent session queries. Activates on 'recall', 'remember', 'last session', 'continue from'.
npx claudepluginhub cwinvestments/memstack --plugin memstackThis skill uses the workspace's default tool permissions.
*Recall information from past CC sessions using semantic vector search.*
Searches past Claude Code session logs to recall decisions, patterns, or unresolved work. Useful when users reference prior conversations, say 'do you remember', or need historical context.
Semantically searches past Claude Code sessions to recall commands, solutions, and context from prior conversations. Triggers on 'remember when', 'last time', or /woz-recall.
Searches Claude Code conversation history in Scribe DB (SQLite FTS5) or JSONL files to recall past discussions, decisions, code snippets, and context from prior sessions.
Share bugs, ideas, or general feedback.
Recall information from past CC sessions using semantic vector search.
When this skill activates, output:
๐ Echo โ Searching the archives...
Then execute the protocol below.
| Context | Status | Priority |
|---|---|---|
| User says "recall", "remember", "last session", "what did we" | ACTIVE โ search memory | P1 |
| User asks about past work explicitly ("did we build X?") | ACTIVE โ search memory | P1 |
| User says "continue from" or "resume" a past topic | ACTIVE โ search memory | P2 |
| User is describing NEW work to do ("build X", "add Y") | DORMANT โ this is new work, not recall | โ |
| User mentions "memory" in code context (RAM, variables) | DORMANT โ technical term, not MemStack recall | โ |
| User mentions a project name in present tense ("work on X") | DORMANT โ forward-looking, not recall | โ |
| User says "save" or "log" (Diary/Project territory) | DORMANT โ Diary or Project skill handles writing | โ |
If you're thinking any of these, STOP โ you're about to skip the protocol:
| You're thinking... | Reality |
|---|---|
| "I remember this from earlier in the conversation" | You don't persist. Earlier context may be compacted. Run the search. |
| "I can just summarize from what I know" | You know nothing from prior sessions. The database does. Search it. |
| "The user probably doesn't need exact details" | Users ask Echo for specifics โ dates, decisions, file paths. Run all steps. |
| "Vector search seems slow, I'll skip to SQLite" | Vector search returns the best results. Always try it first. |
| "I found one result, that's probably enough" | Run ALL steps (vector + SQLite + insights). One source misses context another catches. |
| "The keywords are too vague to search" | Search anyway. Vague queries still return useful semantic matches. |
Try LanceDB vector search first for best-quality results:
python "$MEMSTACK_PATH/skills/echo/search.py "<keywords>" --top-k 5
If this returns results, present them with scores, dates, and source files.
Always run SQLite search to supplement vector results or as fallback if Step 1 fails:
python "$MEMSTACK_PATH/db/memstack-db.py" search "<keywords>" --project <project>
For additional context:
python "$MEMSTACK_PATH/db/memstack-db.py" get-sessions <project> --limit 5
python "$MEMSTACK_PATH/db/memstack-db.py" get-insights <project>
If both vector and SQLite return nothing, check memory/sessions/ and memory/projects/ for markdown files.
Combine and deduplicate results from all sources:
If nothing found across all sources โ say clearly: "No session logs found for [topic]. Use Diary to save future sessions."
To re-index sessions after new diary entries (normally done automatically):
python "$MEMSTACK_PATH/skills/echo/index-sessions.py
Use --force to re-embed all content (e.g., after changing embedding model):
python "$MEMSTACK_PATH/skills/echo/index-sessions.py --force
$MEMSTACK_PATH/memory\vectors\lancedb\ (via LanceDB)$MEMSTACK_PATH/db\memstack.db (via memstack-db.py)$MEMSTACK_PATH/memory\ (legacy markdown files)User: "Do you remember what we did on AdminStack last session?"
๐ Echo โ Searching the archives...
Vector search (top 3):
[1] AdminStack โ 2026-02-18 (session)
Section: Accomplished
Score: 0.912
Built CC Monitor page with session cards, auto-refresh, notifications.
Created /api/cc-sessions CRUD + public report endpoint.
[2] AdminStack โ 2026-02-17 (session)
Section: Decisions
Score: 0.847
Used SWR for auto-refresh instead of polling. API key via HMAC-SHA256.
[3] AdminStack โ 2026-02-18 (session)
Section: Next Steps
Score: 0.791
Deploy dashboard, add notification preferences, test mobile view.
SQLite insights (3):
- [decision] Used SWR for auto-refresh instead of polling
- [decision] API key validation via HMAC-SHA256
- [pattern] Next.js App Router + SWR for all dashboard pages
.claude/rules/echo.md), /memstack-search slash command, auto-indexed CLAUDE.md context. (Origin: MemStack v3.0-beta, Feb 2026)