[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 2 comments on GitHub. Read the full discussion on GitHub β