Skip to content

Add ability to delete sessions #30468

Description

@SeanFeldman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions