Session management: no way to browse/delete old sessions by content, only by opaque UUID filename

Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 19, 2026

Claude Code stores each session as a UUID-named .jsonl file under ~/.claude/projects/<project>/. There's no built-in way to:

  • List sessions with identifying info (first message, date) outside of the interactive /resume picker
  • Delete a session from the CLI/UI without manually finding and rm-ing the raw file by UUID
  • Bulk-clean old/empty/duplicate sessions

With dozens or hundreds of sessions per project, this becomes unmanageable. Requesting:

  • A claude sessions list / claude sessions rm <id> command, or delete support directly in the /resume picker
  • Optional bulk actions (delete all before date X, delete empty sessions, etc.)

View original on GitHub ↗