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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-memory:recall-conversationsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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.
npx claudepluginhub gupsammy/claudest --plugin claude-memorySearches past conversations before answering, guessing, or treating topics as new. Avoids reinventing solutions by recalling prior decisions, patterns, and gotchas.
Searches and recalls previous Claude Code conversation sessions by querying a local SQLite FTS5 index or JSONL log files.