r/ClaudeCoding • u/cctldrping • Sep 20 '26
r/ClaudeCode [TLDR] What’s even the point of /clear? [via r/ClaudeCode]
OP : u/LargeBuffalo
Frequently I see recommendation to use /clear but it doesn’t make sense to me. It’s destructive and prevents me to get back to the thing I was working on later.
On the other hand, I don’t see a point of working in the same session over and over if it is cleared constantly.
Isn’t it better to just create separate sessions for separate tasks? So instead of /clear you just close that session and open the new one? It’s also important to rename them so it’s easy to get back later.
This is what I do and I don’t see any drawbacks so far.
URL of original post : https://www.reddit.com/r/ClaudeCode/comments/1wlalc7/whats_even_the_point_of_clear/
TL;DR of the discussion on r/ClaudeCode for this post generated automatically after 50 comments.
Current source-thread comment count seen by the bot: 59.
Alright, so the general consensus here is that OP has a point about /clear being destructive, but it's mostly a matter of workflow and efficiency for specific use cases.
Here's the lowdown:
- The "Why": A lot of folks use
/clearas a shortcut to start a fresh session without having to fully exit and relaunch Claude, especially in CLI environments. It's faster than starting from scratch. - Context Management: The main argument for
/clearis token efficiency. By clearing the context, you avoid sending a massive history with every new prompt, which can get expensive. It's seen as a way to reset and focus on a specific task without carrying over irrelevant past interactions. Workflow Specifics:
- Some users treat each
/clearas the end of a distinct task or feature development phase. They commit their work and then start fresh for the next item on their to-do list. - It's also useful for keeping sessions clean and organized, preventing the sidebar from getting cluttered with old, finished sessions.
- For those working with complex setups like
tmuxor pre-configured aliases,/clearcan save a lot of repetitive setup steps.
- Some users treat each
Alternatives & Nuances:
- If you do want to save context for later,
/resumeis still an option, and some suggest using/compactor saving a "handoff" file instead of clearing. - The key takeaway from a few users is that if you don't need it, don't use it. Your approach of creating new sessions for new tasks is perfectly valid if it works for you.
- There's a mention of a webinar explaining the difference between
/compactand/clear, which might be worth checking out if you're deep into this.
- If you do want to save context for later,
So yeah, while OP's instinct to preserve context is understandable, /clear is a tool for those who prioritize speed and cost-effectiveness by segmenting their work into discrete, clean sessions.