[FEATURE] Claude Code Session Manager (with tasks, todos, sessions, histoy.jsonl etc...)

Status Closed β€” not planned
Maintainer reply None cached
Activity 2 comments Β· opened Apr 11, 2026 Β· closed May 24, 2026

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_

View original on GitHub β†—

This issue has 2 comments on GitHub. Read the full discussion on GitHub β†—