claude-sessions

Search and recover Claude Code chat history by project, keyword, or date.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jeff-hamm/ai-tools --skill claude-sessions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-sessions
Source: https://github.com/jeff-hamm/ai-tools/tree/main/src/skills/claude-sessions
Command: npx skills add https://github.com/jeff-hamm/ai-tools --skill claude-sessions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Claude Code conversation history can be scattered across projects and sessions, making it hard to locate past prompts, answers, and prompts.

Core Features & Use Cases

  • Search across Claude Code sessions by project, keyword, or date.
  • List, preview, and recover specific sessions and their chat histories.
  • Use cases: quickly locate a prior prompt to re-run a workflow, audit past decisions, or reproduce a conversation in code reviews.

Quick Start

Ask Claude Code to list and show a session for your current project.

Frequently Asked Questions about claude-sessions

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

FAQPage Schema
How do I search Claude Code chat history by keyword or project path?

You can search Claude Code chat history by keyword, project path, or date by scanning sessions stored under ~/.claude/projects. This locates specific past prompts and answers across your projects.

Can I recover a previous Claude Code conversation to reproduce a workflow?

Yes, you can list, preview, and recover specific Claude Code sessions and their chat histories. This allows you to reproduce prior conversations for code reviews or re-run workflows.

Does searching Claude Code sessions work on Windows, WSL, and Linux?

Yes, searching Claude Code sessions works across Windows, WSL, and Linux environments. It uses a PowerShell native API alongside a cross-platform binary to ensure consistent access.

Where are Claude Code chat sessions stored on my local machine?

Claude Code chat sessions are stored locally under the ~/.claude/projects/ directory structure. You can search this location to find past prompts and answers.