From genesis-tools
Search Claude Code conversation history. Use for finding past conversations by keywords, files modified, tools used, or time range. Triggers on "find conversation", "search history", "where did I", "where did you", "when did we discuss", "find where", "look up our conversation".
How this command is triggered — by the user, by Claude, or both
Slash command
/genesis-tools:claude-history [query] [--options]The summary Claude sees in its command listing — used to decide when to auto-load this command
# Claude History Search To exclude the current conversation, use `--exclude-session` with your session ID from the SessionStart message above (look for `$CLAUDE_CODE_SESSION_ID=<id>`): ## Key Options | Flag | Description | |------|-------------| | `--summary-only` | Search only titles/summaries (fastest for topic search) | | `--exclude-session <id>` | Exclude a session ID (use $CLAUDE_CODE_SESSION_ID) | | `--sort-relevance` | Sort by relevance score instead of date | | `--commit <hash>` | Find conversation mentioning a git commit | | `--commit-msg <text>` | Find conversation by commit m...
To exclude the current conversation, use --exclude-session with your session ID from the SessionStart message above (look for $CLAUDE_CODE_SESSION_ID=<id>):
tools claude history $ARGUMENTS --exclude-session "<session-id>"
| Flag | Description |
|---|---|
--summary-only | Search only titles/summaries (fastest for topic search) |
--exclude-session <id> | Exclude a session ID (use $CLAUDE_CODE_SESSION_ID) |
--sort-relevance | Sort by relevance score instead of date |
--commit <hash> | Find conversation mentioning a git commit |
--commit-msg <text> | Find conversation by commit message content |
--conv-date <date> | Filter by conversation start date |
--list-summaries | Quick list of conversation topics |
-c, --context <n> | Show N messages around matches |
--since <date> | Filter by date ("yesterday", "7 days ago") |
--file <path> | Find conversations that modified a specific file |
--all | Search all projects, not just current |
--summary-only (fastest)--sort-relevance (ranks results)--commit or --commit-msg--exclude-session <your-session-id> to avoid self-matches# Find by topic (fast) - replace <session-id> with your actual session ID
tools claude history "mcp-manager refactor" --summary-only --exclude-session "<session-id>"
# Find by commit hash
tools claude history --commit "27a6fa9"
# Find by commit message
tools claude history --commit-msg "safe config writing"
# Find recent work on a file
tools claude history --file "backup.ts" --since "3 days ago" --exclude-session "<session-id>"
# List all conversation topics from last week
tools claude history --list-summaries --since "7 days ago"
# Search with relevance ranking
tools claude history "backup mechanism" --sort-relevance --exclude-session "<session-id>" -c 3
npx claudepluginhub genesiscz/genesistools --plugin genesis-tools/historySearches Claude Code, Codex, and Hermes conversation history in parallel with optional date, source, and limit filters.
/search-sessionsSearches past Claude Code and OpenClaw session history by metadata (default, instant) or full message content (--deep), listing matches with project, date, summary, and UUID for resuming. Supports --limit N, --project FILTER, --openclaw, --agent NAME.
/search-historianSearches past Claude conversation history for solutions, decisions, and context matching a query. Retrieves up to 5 relevant results via historian MCP.
/recallRecovers conversation context via quick commands: lastN exchanges, around TIME, search KEYWORD [--all|--global], sessions/tags/stats. Also supports tagging, pruning, exporting, connections.
/recallSearches session history by keyword, returning matching sessions with concept tags, Done bullets, and Decisions.
/continue-sessionSearches and resumes a previously saved Claude session from local summaries: filter by project, time, or keywords; select to generate Markdown continuation summary.