Add ability to delete sessions

Resolved 💬 3 comments Opened Mar 3, 2026 by SeanFeldman Closed Mar 3, 2026

Feature Request

Problem

There is currently no way to delete sessions in Claude Code. The /resume picker lists all past sessions, but over time this list grows and there's no way to clean it up by removing sessions that are no longer needed.

Proposed Solution

Add the ability to delete sessions, either:

  • A keyboard shortcut (e.g., D or Delete) in the /resume session picker to delete the highlighted session
  • A slash command like /session delete <name-or-id>
  • A CLI flag like claude sessions delete <id>

Current Workarounds

  • Renaming sessions to mark them as obsolete
  • Ignoring old sessions (they sort below recent ones)

Neither of these actually removes the session from the list.

---
🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗