claudedwithlove
explore/cc-dejavu

cc-dejavu

Cherished

CLI tool to search and browse Claude Code bash command history

·22·forks 5··submitted April 15, 2026
View on GitHub
Clauded With Love Rating
8.0 / 10

A CLI tool that indexes and searches Claude Code's bash command history using SQLite FTS5 with smart ranking that combines BM25 relevance and frecency scoring. It solves the common problem of finding previously executed commands by parsing Claude Code session files and making them searchable with features like regex support, directory filtering, and match highlighting.

Code Quality7.5
Usefulness8.5
Claude Usage7.0
Documentation9.0
Originality8.0
Highlights
  • Sophisticated ranking algorithm combining BM25 text relevance with frecency (frequency + recency) for intelligent command prioritization
  • Comprehensive CLI interface with thoughtful features like directory filtering, regex search, automatic syncing, and match highlighting
  • Excellent documentation with clear examples, multiple installation methods, and well-organized command reference
To Improve
  • Add test coverage for the core indexing and search functionality to improve reliability and maintainability
  • Implement configuration file support to allow users to customize default behavior, search limits, and excluded directories