Add ability to delete individual conversations from history
Resolved 💬 3 comments Opened Mar 2, 2026 by SergeyMuha Closed Mar 6, 2026
Feature Request
Problem
There is currently no built-in way to delete individual conversations from Claude Code's session history. Users may want to remove specific conversations for cleanup, privacy, or organizational reasons.
Current Behavior
- Sessions are stored locally in
~/.claude/projects/<project-path>/sessions/ - Users can list sessions with
claude --resumebut cannot delete them - The only workaround is manually finding and deleting session files from the filesystem
Proposed Solution
Add a command or option to delete specific conversations from history. Possible implementations:
- CLI flag:
claude --delete-session <session-id>to delete a specific session - Interactive deletion: Add a delete option in the
claude --resumesession picker (e.g., pressdorDeleteto remove a highlighted session) - Slash command:
/delete-sessionto delete the current session and exit - Bulk cleanup:
claude --clear-historyto delete all sessions, orclaude --clear-history --older-than 7dfor time-based cleanup
Why This Matters
- Privacy: Users may want to remove sessions containing sensitive information
- Organization: Over time, session history accumulates and becomes harder to navigate
- Disk space: Long-running projects can accumulate many session files
Additional Context
Currently the only way to achieve this is by manually navigating the filesystem and deleting session files, which is error-prone and not user-friendly.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗