[FEATURE] Claude Code Session Manager (with tasks, todos, sessions, histoy.jsonl etc...)
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Repo:
https://github.com/KenCheung-AIxFinance/claude-code-session-manager
🔧 Claude Code Session Manager (CCSM)
A CLI + TUI utility designed to fully manage and safely delete Claude Code sessions with proper cleanup across all associated data.
---
💡 Why this matters
Deleting a session isn’t just removing a single file. It involves coordinated cleanup across:
~/.claude/tasks/~/.claude/todos/~/.claude/sessions/~/.claude/history.jsonl- and several other linked directories
Missing any of these leads to:
- orphaned data
- bloated storage
- inconsistent state
CCSM handles this correctly and safely.
---
✨ Key Features
- 🔍 Inspect before delete (
ccsm info <session-id>) - 🧪 Dry-run mode to preview deletions
- 🗑️ Safe session deletion with full dependency cleanup
- 📁 Project-level deletion
- 🧹 Orphan session cleanup
- 🖥️ Interactive TUI for fast navigation and management
- 🤖 JSON output for automation pipelines
---
🎯 Target Use Cases
- Heavy Claude Code users with many sessions
- Developers building automation around Claude workflows
- Anyone wanting clean, deterministic state management
---
🔗 Repository
Repo:
https://github.com/KenCheung-AIxFinance/claude-code-session-manager
---
Happy to answer questions or take feedback if you give it a try!
Proposed Solution
https://github.com/KenCheung-AIxFinance/claude-code-session-manager
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗