search-history

Retrieve past Claude Code conversation sessions by date range, keywords, or session IDs.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/akshatdalton/skills --skill search-history-akshatdalton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-history
Source: https://github.com/akshatdalton/skills/tree/main/search-history
Command: npx skills add https://github.com/akshatdalton/skills --skill search-history-akshatdalton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires extract_transcripts.py, and includes scripts (resource) components.

What problem does it solve?

Searching through past Claude Code conversation sessions can be time-consuming and inefficient. This Skill simplifies the process by allowing users to search using vague hints, saving time and effort.

Core Features & Use Cases

  • Search by Date Range: Quickly find sessions from a specific date range.
  • Keyword Search: Locate conversations containing specific keywords or topics.
  • Full Transcript Access: Retrieve and view the full transcript of any session.
  • Current Session ID: Get the ID of the current session for reference.
  • Use Case: If you need to find a conversation from last week about a particular project, you can use this Skill to quickly locate it.

Quick Start

Use the search-history skill to find a conversation from last week about project X.

Frequently Asked Questions about search-history

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

FAQPage Schema
How do I search past Claude Code conversation sessions by date range or keyword?

You can search past Claude Code conversation sessions by providing specific date ranges, keywords, or session IDs. The skill processes these parameters using Python scripts to retrieve the matching full transcripts from your local session data.

Can I retrieve the full transcript of a specific Claude Code session?

Yes, you can retrieve the full transcript of a specific Claude Code session. By providing a session ID or searching with relevant keywords, the skill accesses your session data and extracts the complete conversation history for review.

How do I find a previous Claude Code conversation if I only remember vague hints about the topic?

To find a conversation using vague hints, you can use keyword search to locate sessions containing specific terms or topics. This simplifies the retrieval process by matching your partial hints against the stored Claude Code session data.

Do I need Python installed to access Claude Code conversation history?

Yes, Python is required to access Claude Code conversation history. The skill relies on Python scripts, specifically the extract_transcripts.py dependency, to process and retrieve session data from your local environment.

What is the best way to get the current Claude Code session ID for reference?

The best way to get the current Claude Code session ID is to use the skill's built-in current session retrieval feature. This allows you to quickly identify and store the active session ID for future reference and searching.