スキル一覧に戻る
gupsammy

search-conversations

by gupsammy

9🍴 2📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: search-conversations description: Search past Claude Code conversations. Use when user says "search conversations", "find that chat", "what did we discuss", "where did we talk about", "look up past session", "find conversation about X", "search history", "what did I ask about", "remember when we", "that discussion about". Also triggers on past-tense questions referencing prior work or possessives without context.

search-conversations

Extraction

python3 ~/.claude/skills/search-conversations/scripts/extract_conversations.py --days 3
OptionEffect
--days NDays from last activity (not today)
--from-todayDays from today instead
--all-projectsCross-project (implies --from-today)
--project /pathFilter to specific project
--compactNo metadata, more conversation
--min-exchanges NSkip sessions with < N exchanges
--ids abc,defFetch specific conversations
--paths /path.jsonlDirect file paths

Output: Default shows files, tools, errors + conversation. --compact omits metadata.

Time modes: --days N counts from last activity (useful when returning to old projects). --all-projects or --from-today counts from today (calendar-based).

Workflow

  1. Identify the lens from user intent (see Routing table below)

  2. Extract recent context using the script with lens-appropriate parameters:

    python3 ~/.claude/skills/search-conversations/scripts/extract_conversations.py --days N [flags]
    

    Use the Parameters table to select --days, flags, and any supplementary data to gather.

  3. Apply lens questions to analyze the extracted conversations

  4. Deepen the search using what you learned from the initial extraction:

    • Extract additional timeframes with the script (--days 30, --all-projects)
    • Search for specific keywords, project names, or patterns that surfaced:
      qmd search "keyword from context" -c conversations -n 15 --files
      
    • Extract those specific paths: python3 ... --paths /found/conv.jsonl

    This step surfaces older context, related discussions, or cross-project patterns that complement the initial extraction.

Keep index updated: Run qmd update periodically to index new sessions.


Lenses

Routing

User SaysLens
"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

Parameters

LensDaysFlagsAlso Gather
restore-context3git status, git log -10
extract-learnings14--all-projects --compact
find-gaps30--all-projects --compact
review-process14--all-projects --compactrecent git log
run-retro30--project /pathfull git history
extract-decisions90--project /path
find-antipatterns30--all-projects --compact

--min-exchanges 2 or 3 filters out short sessions and reduces noise.

Core Questions

LensAsk
restore-contextWhat's unfinished? What were the next steps?
extract-learningsWhere did understanding shift? What mistakes became lessons?
find-gapsWhat topics recur? Where is guidance needed repeatedly?
review-processIs there planning before coding? Is debugging systematic?
run-retroHow did the solution evolve? What worked? What was painful?
extract-decisionsWhat trade-offs were discussed? What was rejected and why?
find-antipatternsWhat mistakes repeat? What confusions persist?

Follow-ups: find-gaps → suggest learn-anything. extract-decisions → suggest /updateclaudemd.

Supplementary Search Patterns

When recent extraction doesn't surface enough, use these qmd queries to find specific sessions:

LensQuery
extract-learningsqmd search "learned realized understand clicked" -c conversations -n 15 --files
find-gapsqmd search "confused struggling help with don't understand" -c conversations -n 15 --files
extract-decisionsqmd search "decided chose instead of trade-off because" -c conversations -n 15 --files
find-antipatternsqmd search "again same mistake repeated forgot" -c conversations -n 15 --files

Synthesis

Principles

  1. Prioritize significance — 3-5 key findings, not exhaustive lists
  2. Be specific — file paths, dates, project names
  3. Make it actionable — every finding suggests a response
  4. Show evidence — quotes or references
  5. Keep it scannable — clear structure, no walls of text

Structure

## [Analysis Type]: [Scope]

### Summary
[2-3 sentences]

### Findings
[Organized by whatever fits: categories, timeline, severity]

### Patterns
[Cross-cutting observations]

### Recommendations
[Actionable next steps]

Length

Default: 300-500 words. Expand only when data warrants it.

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です