session-history

Search and summarize Claude Code and Codex session histories.

13|Updated May 19, 2024
One-click install
npx skills add https://github.com/david-crespo/dotfiles --skill session-history-david-crespo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-history
Source: https://github.com/david-crespo/dotfiles/tree/main/claude/skills/session-history
Command: npx skills add https://github.com/david-crespo/dotfiles --skill session-history-david-crespo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, rg, fd, stat.

What problem does it solve?

Search and summarize Claude Code and Codex sessions to help you reconstruct past conversations, context, and debugging narratives.

Core Features & Use Cases

  • Search sessions by keyword, topic, or date across Claude Code and Codex.
  • Summarize conversations to reveal the narrative arc and key decisions.
  • Extract relevant user, assistant messages and commands for rapid review.

Quick Start

Use claude-sessions.sh search <term> to locate relevant conversations across Claude Code and Codex sessions.

Frequently Asked Questions about session-history

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

FAQPage Schema
How do I search Claude Code session history for specific debugging conversations?

Search Claude Code session history by running claude-sessions.sh search <term> to locate relevant past conversations, debugging narratives, and commands across multiple project timelines and dates.

What is the best way to summarize past Codex sessions for quick review?

Summarize Codex sessions by extracting user, assistant, bash, and tool content with claude-sessions.sh, which detects session formats and handles large files safely to reveal conversation narrative arcs.

Does this session history search tool require any specific command line utilities?

Session history search requires jq, rg, fd, and stat command line utilities to be installed, as these dependencies power the listing, searching, and file handling capabilities of the CLI workflow.

Can I search across multiple timelines and topics in Claude Code and Codex sessions?

Search across multiple Claude Code and Codex timelines, topics, and dates using the listing and searching capabilities of claude-sessions.sh to discover relevant discussions and commands from past conversations.

How do I extract user and assistant messages from large session history files?

Extract user and assistant messages from large session files safely using claude-sessions.sh, which detects session formats and isolates specific message types including bash and tool content for rapid review.