How do I delete a single conversation from my chat history?
Status Closed — not planned
Maintainer reply None cached
Activity 13 comments · opened Aug 19, 2025 · closed Feb 10, 2026
No description provided.
No description provided.
13 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
There is no built-in command like
/delete-conversationto remove a single conversation from your history. However, you can manually delete the conversation file from your local system.Here’s a breakdown of how conversations are stored and how you can remove one:
.jsonlfile on your local machine. These files are typically located in a path~/.claude/projects/.claude --resumeorclaude -r. This will display an interactive list of your recent conversations, showing the start time and initial prompt.~/.claude/projects/and its subdirectories)..jsonlfile that corresponds to the conversation you want to remove. The file will have a unique session ID as its name (e.g.,00893aaf-19fa-41d2-8238-13269b9b3ca0.jsonl). You may need to inspect the contents of the files to match them to the conversation from the--resumelist.rm <filename>.jsonl.In summary, the process is:
claude --resumeto identify the conversation.~/.claude/projects/)..jsonlfile.Note: The
/clearcommand only clears the history of the current active session, and thecleanupPeriodDayssetting insettings.jsonautomatically purges conversations older than a certain number of days, but neither allows for deleting a specific, single conversation.I'm sorry but this is terrible UX for such a useful task. Can't you add a bin icon next to every conversation in the dropdown list? I am referring to the VS Code Claude Code plugin.
https://www.reddit.com/r/ClaudeAI/comments/1nkdffp/discovered_how_to_bypass_claude_code_conversation/
100% agree with @panosjapan7 .
I’d also expect a simple, clean “Clear Chat” (🗑️ bin) button in the VS Code Claude code chat box to quickly reset the conversation.
Additionally, I’m curious whether there’s an option (or if one could be added) to disable persistent chat history — so that all chat data is cleared automatically when VS Code restarts.
Tell me you wanna hold data hostage without telling me you wanna hold data hostage.
@coygeek Hey, what don't you provide a single command like
/resumewhich instead will delete a single history file?This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Hi, I just build a tool for it
https://github.com/ataleckij/claude-chats-delete
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
Anthropic team, its 2026.. and we still miss the basic functionalities. Please add the basic chat features to claude code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.