history

Searches local .jsonl session files for keywords and emits resume commands for matching conversations.

2|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/abnegate/claudes --skill history-abnegate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: history
Source: https://github.com/abnegate/claudes/tree/main/skills/history
Command: npx skills add https://github.com/abnegate/claudes --skill history-abnegate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you locate earlier Claude Code discussions on your machine when you remember something was said before but can’t recall where or when.

Core Features & Use Cases

  • Searches local Claude Code history on disk: Scans the project’s .history JSONL session files for a given query.
  • Surfaces relevant context fast: Returns matching session filenames and surrounding conversation excerpts to confirm relevance quickly.
  • Enables rapid recovery via resume: Provides resume commands for each matched session so you can continue where that context left off.
  • Use Case: If you’re debugging an earlier change and remember a specific error message or library name was discussed months ago, you can search for it and immediately resume the exact session that contains the answer.

Quick Start

Use /history? <your search query> to search the latest Claude Code project history for the matching conversations and get resume commands for the sessions that contain the result.

Frequently Asked Questions about history

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

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

You can search local Claude Code conversation history by running /history? followed by your search query. The Skill scans local JSONL session files in the project's .history directory, retrieves matching conversations with surrounding context, and outputs resume commands to continue those exact sessions.

Can I resume a specific prior Claude Code session from months ago?

Yes, you can resume a prior Claude Code session by searching for remembered terms using /history?. The Skill matches your query against local JSONL history files and generates resume commands for every matched session, allowing you to pick up exactly where that prior conversation left off.

What is the best way to find old debugging discussions in Claude Code projects?

The best way to find old debugging discussions is using /history? to grep through local JSONL session files. It scans the project's .history directory, returns matching session filenames and surrounding conversation excerpts to confirm relevance quickly, and provides resume commands for immediate recovery.

Does searching Claude Code history work across different project directories?

Searching Claude Code history is scoped to a given project directory by deriving the project key from your working directory. It lists the newest .history/*.jsonl files locally stored for that specific project and scans them for query matches, so it does not search across unrelated project directories.

How do I retrieve audit-style context of past decisions from Claude Code sessions?

To retrieve audit-style context of past decisions, use /history? with keywords related to the decision. The Skill performs grep-based retrieval with surrounding context on local JSONL session files, returning conversation excerpts that confirm what was previously discussed and decided in that project.