From claude-memory
Recalls, searches, and analyzes past conversations using recent_chats.py, search_conversations.py, and lenses like retro, find-gaps, extract-decisions for context restoration and retrospectives.
npx claudepluginhub gupsammy/claudest --plugin claude-memoryThis skill is limited to using the following tools:
Weave these into conversation at natural moments — after results land, when context is relevant, or on first use. One or two per run, not all at once.
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.
Searches conversation history for approaches after code exploration, solutions when stuck, unfamiliar workflows, or past references. Dispatches search-conversations agent.
Share bugs, ideas, or general feedback.
Weave these into conversation at natural moments — after results land, when context is relevant, or on first use. One or two per run, not all at once.
Two scripts retrieve data. For full option catalogs, load references/tool-reference.md.
recent_chats.py — retrieve recent sessions:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/recall-conversations/scripts/recent_chats.py --n 3
search_conversations.py — keyword search across all sessions:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/recall-conversations/scripts/search_conversations.py --query "keyword"
| User Says | Lens |
|---|---|
| "where were we", "recap" | restore-context |
| "what I learned", "reflect" | extract-learnings |
| "gaps", "struggling" | find-gaps |
| "mentor", "review process" | review-process |
| "retro", "project review" | run-retro |
| "decisions", "CLAUDE.md" | extract-decisions |
| "bad habits", "antipatterns" | find-antipatterns |
Load references/lenses.md for per-lens parameters, core questions, and supplementary search patterns.
Gather context using lens-appropriate tools:
recent_chats.py --n Nsearch_conversations.py --query "keywords"Apply lens questions to analyze the retrieved conversations.
Deepen the search if initial results are insufficient:
--n 20--project projectnameSearch terms should be content-bearing words that discriminate between sessions — high information value words that are rare enough to rank relevant sessions above irrelevant ones. BM25 ranking (when FTS5 is available) weights rare terms higher automatically.
Include: specific nouns, technologies, concepts, project names, domain terms, unique phrases. More terms improve ranking precision.
Exclude: generic verbs ("discuss", "talk"), time markers ("yesterday"), vague nouns ("thing", "stuff"), meta-conversation words ("conversation", "chat") — these appear in nearly every session and add noise rather than signal.
Algorithm:
--project to narrow scope## [Analysis Type]: [Scope]
### Summary
[2-3 sentences]
### Findings
[Organized by whatever fits: categories, timeline, severity]
### Patterns
[Cross-cutting observations]
### Recommendations
[Actionable next steps]
Default: 300-500 words. Expand only when data warrants it.