raine/claude-history

Fuzzy-search Claude Code conversation history

What it solves

claude-history provides a centralized, searchable interface for your past AI coding conversations. It solves the problem of scattered, hard-to-find chat logs by automatically discovering and indexing local history files from multiple coding agents, allowing you to quickly search, view, and resume previous work sessions directly from your terminal.

How it works

When run inside a project directory, the tool automatically detects and indexes local conversation files from Claude Code, Pi, Oh My Pi (OMP), and Codex. It provides a terminal-based user interface (TUI) that supports both keyword-based lexical search and semantic search (which finds conversations by meaning). You can navigate these logs using familiar keyboard shortcuts, fork or resume sessions, and export content to your clipboard.

Who it’s for

This tool is designed for developers who use AI coding agents like Claude Code, Pi, or Codex and need a fast, keyboard-driven way to manage, reference, and revisit their historical interactions without leaving the command line.

Highlights

  • Multi-agent support: Works with Claude Code, Pi, OMP, and Codex sessions in one unified interface.
  • Advanced search: Features fuzzy keyword matching and local-only semantic search that understands the intent behind your queries.
  • Vim-style navigation: Includes robust keyboard controls for scrolling, jumping between messages, and managing session files.
  • Session management: Allows you to resume, fork, rename, or delete conversations directly from the TUI.
  • Cross-project capabilities: Supports forking conversations from any project into your current working directory.
  • Privacy-focused: All semantic search and indexing run entirely on your local machine.

Related

  • Project
  • Project
  • Project
  • Project
  • Project