home / skills / dhughes / claude-marketplace / conversation-search
This skill searches indexed conversation history to locate past topics and project contexts, helping you answer when, where, or with whom discussions occurred.
npx playbooks add skill dhughes/claude-marketplace --skill conversation-searchReview the files below or copy the command above to add this skill to your agents.
---
name: conversation-search
description: Search indexed conversation history to find past conversations, locate when topics were discussed, or identify which project conversations occurred in. Use when user asks questions like "when did we discuss X?", "find conversations about Y", "in which project did we talk about Z?", or "show me conversations mentioning W". Works across all projects or within current project.
---
# Conversation History Search
Search through indexed past conversations with Claude to find relevant discussions.
## How to Search
Run the search command with the user's query:
```bash
bash ${CLAUDE_PLUGIN_ROOT}/skills/conversation-search/scripts/search.sh --query "search terms" --limit 10
```
Options:
- `--query`: Search terms (required). Supports prefix matching.
- `--limit`: Maximum results (default: 20)
- `--json`: Output results as JSON for programmatic processing
## Presenting Results
Show the user:
- Number of matching conversations found
- For each result: conversation ID, project path, date, and snippet
- Suggest using `/conversation-history:load-conversation <id>` to load full transcripts
## First-Time Setup
If search returns no results and the user seems surprised, they may need to run the initial indexing:
```
/conversation-history:index-history
```
This indexes all existing conversations from `~/.claude/projects/` into the database.
This skill searches indexed conversation history to find past discussions, identify when topics were discussed, and show which project a conversation belongs to. It works across all projects or can be scoped to the current project. Results include conversation IDs, project paths, dates, and short snippets to help you decide which transcripts to load.
The skill queries a prebuilt index of past conversations using prefix-matching search terms and returns the most relevant matches. Results include metadata (conversation ID, project path, and date) plus a snippet from the conversation. If no results appear, the index may need to be built or refreshed using the provided indexing command.
What if the search returns no results?
If you expect matches but see none, run the indexing command to index existing conversations, then retry the search.
Can searches be limited programmatically?
Yes — you can specify a limit on results so your application processes only the top matches.