ccs - Claude Code Search

Globally search and resume Claude Code conversations.

Features
- Search through all your Claude Code conversations
- Preview conversation context with search term highlighting
- See message counts and hit counts per conversation
- Resume conversations directly from the search interface
- Pass flags through to
claude (e.g., --plan)
- Mouse wheel scrolling support
Installation
Homebrew (macOS and Linux)
brew install agentic-utils/tap/ccs
From source
Requires Go 1.21+.
go install github.com/agentic-utils/ccs@latest
Manual
Download the binary from releases and add to your PATH.
Requirements
Usage
# Search and resume a conversation
ccs
# Search with initial query
ccs buyer
# Resume with plan mode
ccs -- --plan
# Combined: search "buyer", resume with plan mode
ccs buyer -- --plan
Keybindings
↑/↓ or Ctrl+P/N - Navigate list
Enter - Resume selected conversation
Ctrl+J/K - Scroll preview
Mouse wheel - Scroll list or preview (context-aware)
Ctrl+U - Clear search
Esc / Ctrl+C - Quit
How it works
ccs reads conversation history from ~/.claude/projects/ and presents them in an interactive TUI. When you select a conversation, it changes to the original project directory and runs claude --resume <session-id>.
License
MIT