From aviz85-claude-skills-library
Searches Claude Code conversation history across all projects' JSONL files. Filters by project, user-only messages, or result limits to retrieve past discussions, solutions, and context.
npx claudepluginhub aviz85/claude-skills-libraryThis skill uses the workspace's default tool permissions.
Search across all Claude Code sessions and projects to find past discussions, solutions, and context.
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 past Claude Code session logs to recall decisions, patterns, or unresolved work. Useful when users reference prior conversations, say 'do you remember', or need historical context.
Searches past Claude Code session logs for keywords to recover context like decisions, data paths, CRS info, model configs, and unresolved work across projects or scoped to current one.
Share bugs, ideas, or general feedback.
Search across all Claude Code sessions and projects to find past discussions, solutions, and context.
/search-history "aviz-museum" /search-history "supabase migration" --project Users-aviz-dreemz-backend /search-history "Riley Brown" --user-only --limit 5
<search-term> -- keyword or phrase to search (required)--project <name> -- limit to specific project dir (e.g., -Users-aviz-sb)--user-only -- only search user messages (skip assistant/progress/system)--limit N -- max sessions to show (default: 10)~/.claude/projects/
-Users-aviz-sb/ # Project dir (path with / -> -)
ae1972bf-...-2e6f1b34be03.jsonl # Session file (UUID)
ae1972bf-.../ # Session artifacts
subagents/ # Subagent logs
tool-results/ # Tool output files
-Users-aviz-dreemz-backend/
...
Each line is a JSON object with a type field:
| Type | Description | Key Fields |
|---|---|---|
user | User input | message.content (string or array), timestamp, cwd |
assistant | Claude response | message.content (array of text/tool_use blocks), message.model |
progress | Tool execution tracking | data.toolName, data.status |
system | System events | Compaction, boundaries |
file-history-snapshot | File backup metadata | snapshot.timestamp |
queue-operation | Inbox operations | operation |
last-prompt | Last user prompt text | prompt |
message.content is usually a string, sometimes array of content blocks.message.content is array -- extract .text from type: "text" blocks.Search using grep + Python for structured output:
# Quick grep across all projects
grep -rl "SEARCH_TERM" ~/.claude/projects/*/*.jsonl
For structured search with context, use Python to parse JSONL files, extract matching messages, and display with session metadata (project, timestamp, message type).
--user-only to find what YOU asked, not what Claude replied--project to narrow to a specific workspaceclaude --resume SESSION_ID.txt files under session-dir/tool-results/session-dir/subagents/agent-*.jsonl