claude-history

Search and retrieve historical Claude Code conversation transcripts from local project directories.

437|44|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/raine/claude-history --skill claude-history-raine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-history
Source: https://github.com/raine/claude-history/tree/main/skills/claude-history
Command: npx skills add https://github.com/raine/claude-history --skill claude-history-raine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the difficulty of finding and referencing specific information buried in past Claude Code conversations, preventing the loss of historical context and technical decisions.

Core Features & Use Cases

  • Advanced Search: Perform fuzzy, semantic, or lexical searches across all local conversation transcripts to find specific commands, errors, or decisions.
  • Conversation Viewer: Navigate, scroll, and read past transcripts directly in the terminal with markdown rendering and message-level addressing.
  • Use Case: When you encounter a recurring bug, use this skill to search your history for how you previously resolved similar issues, allowing you to resume or fork the exact context of that past session.

Quick Start

Use the claude-history skill to search for all past conversations containing the phrase auth cache bug.

Frequently Asked Questions about claude-history

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search past Claude Code conversation transcripts for a specific error message?

You can search past Claude Code conversation transcripts using lexical, semantic, or hybrid search modes to locate specific error messages, commands, or technical decisions within your local project directories.

Can I resume a previous agent session by recalling its historical context?

Yes, you can recall historical context by reading and forking previous agent interactions, allowing you to resume a past agent session with its exact context for your current task.

Does this tool work with local transcript files or does it require a remote connection?

This tool retrieves historical Claude Code conversation transcripts directly from local project directories, requiring no remote connection or external API dependencies to search your past sessions.

What is the best way to find how I previously resolved a recurring bug in my CLI history?

The best way to find previous bug resolutions is to perform a fuzzy or semantic search across your local CLI history to identify the exact message ranges and tool outputs from past sessions.

How do I navigate and read past session transcripts directly in my terminal?

You can navigate, scroll, and read past session transcripts directly in the terminal using the conversation viewer, which supports markdown rendering and message-level addressing for precise context retrieval.

Are there limitations when searching for specific tool outputs within large conversation histories?

While the skill supports hybrid search modes to identify specific message ranges, extremely large local transcript directories may impact search latency when pinpointing granular tool outputs across extensive agent histories.