TUI session picker for Claude Code --resume
Project description
claude-resume
A TUI session picker for Claude Code --resume.
Browse, search, and resume previous Claude Code sessions from any project — without remembering session IDs.
Features
- Session discovery — Scans
~/.claude/projects/for all sessions across every project - Real-time search — Filter by project name, first prompt, or git branch
- Project scoping — Toggle between current project and all projects (
Ctrl+T) - Sort modes — Cycle through Modified / Messages / Project (
Ctrl+S) - Session detail — View full metadata with
Space - Delete sessions — Remove old sessions with
d - Auto cd — Automatically changes to the session's project directory before resuming
- Fast cache — Fingerprint-based cache for instant startup after first load
- CLI passthrough — Extra arguments are forwarded to
claude
Installation
pip install claude-resume
Or install from source:
git clone https://github.com/jinwoo/claude-resume.git
cd claude-resume
pip install -e .
Usage
claude-resume
CLI Options
claude-resume [OPTIONS] [-- CLAUDE_ARGS...]
Options:
-g, --global Start in global (all projects) mode
-l, --local Start in local (current project) mode
--no-cache Force reload sessions without cache
Examples:
claude-resume # Pick a session to resume
claude-resume -g # Show all projects by default
claude-resume --no-cache # Ignore cache, rescan sessions
claude-resume -- --verbose # Pass --verbose to claude
Key Bindings
| Key | Action |
|---|---|
Enter |
Resume selected session |
Space |
Show session detail |
/ |
Focus search input |
Escape |
Clear search |
Ctrl+T |
Toggle scope (current project / all) |
Ctrl+S |
Cycle sort (Modified / Messages / Project) |
d |
Delete session (with confirmation) |
q |
Quit |
How It Works
- Scans
~/.claude/projects/*/sessions-index.jsonfor indexed sessions - Falls back to parsing
.jsonltranscript files (reads first 50 lines + last line for efficiency) - Filters out sidechains and sessions without user messages
- On selection,
cds to the session's project directory andexecsclaude --resume <id>
Requirements
- Python 3.10+
- Claude Code installed
- Textual (installed automatically)
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
claude_resume-0.1.3.tar.gz
(10.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_resume-0.1.3.tar.gz.
File metadata
- Download URL: claude_resume-0.1.3.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d2db2c38e77155e7568edde9dbe0aac1deff7124ef7ada30338001d523add3b
|
|
| MD5 |
53e6f83abb94125a09d5286d01e15e30
|
|
| BLAKE2b-256 |
2e149900141e3b3e29d150f71bea6f645071924fd4fade1b25e0432ff80f582b
|
File details
Details for the file claude_resume-0.1.3-py3-none-any.whl.
File metadata
- Download URL: claude_resume-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbda801ce07125805e8d06e628d1f10bdad0d493a19837afe91f41af6105cc80
|
|
| MD5 |
e50c060a64b4005a6fcd1aeb547a20bb
|
|
| BLAKE2b-256 |
6b016d8152cf9974f947dbb64973ec3b83a0f32bd86770c3bf46558484f06419
|