adewale

Claude History Explorer — Development skill for Claude Code

Development community

Python CLI tool to explore, search and visualise your Claude Code conversation history.

How to install Claude History Explorer

This entry records only its repository, not the path inside it, so there is no exact command to give. Open adewale/claude-history-explorer and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude History Explorer does

Python CLI tool to explore, search and visualise your Claude Code conversation history.

Alternatives in Development

  • Understand Anything — Graphs that teach graphs that impress 80.7k ★
  • Understand Anything — Claude Code skills that turn any codebase into an interactive knowledge graph you can explore, search, and ask 2.5k ★
  • Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★

README

Claude History Explorer

[![CI](https://github.com/adewale/claude-history-explorer/actions/workflows/ci.yml/badge.svg)](https://github.com/adewale/claude-history-explorer/actions/workflows/ci.yml)

A Python CLI tool to explore, search and visualise your Claude Code conversation history. The history is stored locally at `~/.claude/projects/` and this tool turns raw JSONL files into searchable conversations and insights about your coding journey.

Highlights

  • Story Generation - Analyzes sessions to create narratives about work patterns, personality traits, and collaboration style
  • Concurrent Claude Detection - Identifies when you've used multiple Claude instances in parallel
  • Rich Terminal UI - Tables, panels, sparklines, and syntax highlighting
  • Multiple Export Formats - JSON, Markdown, plain text
  • Regex Search - Search across conversations with Python regex plus a basic ReDoS safety guard
  • Read-Only by Design - Never modifies your Claude history files (why trust this?)
  • Streaming JSONL - Line-by-line parsing handles large files efficiently

Example Output

📖 Keyboardia Project Story
============================

📅 3 days of development
🤝 heavy delegation (16 agents, 2 main sessions)
⚡ 1873 messages at 25.0 msgs/hour
🎯 steady, productive flow with marathon sessions
🎭 agent-driven, deep-work focused, high-intensity
🔀 Used up to 3 Claude instances in parallel

💡 Key insight: Most productive session: 1530 messages

Installation

Using `uv` (recommended):

# Install directly
uv tool install .

# Or run without installing
uv run claude-history --help

Using pip:

pip install .

Usage

**Tip:** Every command supports `--example` to show usage examples: `claude-history search --example`

projects

List all Claude Code projects sorted by last use.

claude-history projects
claude-history projects -n 10        # Limit to 10 projects

| Option | Description |