A TUI (Text User Interface) for viewing and resuming all your Claude Code sessions.
- View all Claude Code sessions across your computer
- See project directories (roots) for each session
- Display session start/end times, duration, and message counts
- View message history for any session
- Resume any session directly from the TUI
- Sort sessions by date, project, or message count
pip install claude-session-managergit clone https://github.com/Maxteabag/ClaudeSessionManager.git
cd ClaudeSessionManager
pip install -e .Simply run:
csmOr use the full command:
claude-session-manager| Key | Action |
|---|---|
Enter / d |
View session details |
r |
Resume selected session |
s |
Sort by date |
p |
Sort by project |
m |
Sort by message count |
? |
Show help |
q / Esc |
Quit |
Claude Session Manager reads the session history from ~/.claude/history.jsonl and presents it in an interactive TUI built with Textual.
When you resume a session, it:
- Changes to the project directory
- Runs
claude --resume <session-id>
- Python 3.10+
- Claude Code CLI installed
- Textual library (installed automatically)
MIT License - see LICENSE for details.