Skip to content

Maxteabag/ClaudeSessionManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Session Manager

A TUI (Text User Interface) for viewing and resuming all your Claude Code sessions.

Python License

Features

  • 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

Installation

From PyPI

pip install claude-session-manager

From source

git clone https://github.com/Maxteabag/ClaudeSessionManager.git
cd ClaudeSessionManager
pip install -e .

Usage

Simply run:

csm

Or use the full command:

claude-session-manager

Key Bindings

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

How It Works

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:

  1. Changes to the project directory
  2. Runs claude --resume <session-id>

Requirements

  • Python 3.10+
  • Claude Code CLI installed
  • Textual library (installed automatically)

License

MIT License - see LICENSE for details.

About

TUI for viewing and resuming Claude Code sessions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages