I built this because Claude Code stores sessions in per-project directories (~/.claude/projects/*/), but there's no built-in way to see all your sessions across projects or quickly jump back into one.
cc-sessions solves this by:
- Scanning all project directories in parallel (Rust + rayon)
- Showing sessions sorted by last modified with relative timestamps
- Interactive fzf picker with transcript preview (-i flag)
- Project filtering (-p dotfiles)
- Fork mode to branch off from any session (-f flag)
Technical details: ~350 lines of Rust, no chrono dependency (hand-rolled ISO 8601 parser to keep the binary small), reads from Claude's sessions-index.json files rather than parsing the .jsonl transcripts directly.
Requires fzf and jaq for the interactive preview.
nulone•55m ago
Nice. Does this work across multiple machines / moved repos (same project, different local path), or is it strictly path-based?
Chronologos•1h ago
cc-sessions solves this by: - Scanning all project directories in parallel (Rust + rayon) - Showing sessions sorted by last modified with relative timestamps - Interactive fzf picker with transcript preview (-i flag) - Project filtering (-p dotfiles) - Fork mode to branch off from any session (-f flag)
Technical details: ~350 lines of Rust, no chrono dependency (hand-rolled ISO 8601 parser to keep the binary small), reads from Claude's sessions-index.json files rather than parsing the .jsonl transcripts directly.
Requires fzf and jaq for the interactive preview.