claude-code·Published 2026.06.01·Views 1
AI Keeps Repeating the Same Mistake? Reset the Chat and Start Fresh with /clear
/clear empties the conversation and starts fresh. Previous chats are archived, so learn how to reset safely, cut off when topics change, and the difference
In the morning you were asking tax questions, then in the afternoon you moved on to a different feature, but Claude kept mixing the two topics and saying odd things, have you had that? When the conversation gets long, it gets confused under the influence of old topics. The same goes for when the AI keeps repeating a wrong assumption. The reset button you press then is /clear. It empties the conversation cleanly and starts fresh. And the previous conversation is not gone but archived.
Definition
/clear is a command that empties the conversation and starts fresh. It cleanly erases the context so far (context — the conversation content the AI remembers) and starts from a blank page.
What is important is that the emptied conversation is not completely gone but archived. It goes into an archive, not the trash. So you can pull it out again later. That is why, when the topic changes or the conversation gets tangled, you can cut it off and start fresh without worry.
How to Use (by difficulty)
Basics — Start Fresh
Type just this into the chat box.
/clear
Once you enter it, the conversation on screen is emptied and becomes a clean state where you can start new work. Free from the influence of the previous context, Claude focuses fully on the new topic.
Advanced — Archiving with a Name
/clear 블로그작업
If you write a name after /clear, it archives the conversation before emptying with that name as a label. It is attaching a label so it is easy to find later. It is good to write a topic name like "blog work" or "payment feature."
Deeper — Recovering the Archive
/resume 블로그작업
A conversation archived with a name is reloaded by writing that name after /resume (resume — a command to reload an old conversation). Even an emptied conversation revives right from where it left off.
Common Pitfall — Save Important Context First
Although /clear archives the conversation, going back to continue it is a bit cumbersome. So if there is a rule or decision in the current conversation that must be remembered, it is safer to write it in CLAUDE.md (the rules file Claude reads automatically in every conversation) before emptying.
For example, rules like "we use pnpm" or "test before commit" have to be explained again after /clear if they live only in the conversation. Written in CLAUDE.md, they are followed automatically even in a new conversation. Before emptying, save the essentials you want to keep first. Remember this order.
Real-World Example
In the morning I was asking tax-related questions, then in the afternoon I had to move on to blog feature work. When I just continued asking, Claude dragged in the earlier tax context and started mixing in odd answers. So I cut it off like this.
/clear 세무질문
By emptying the conversation while archiving it with a name, Claude no longer mixed the two topics and focused only on the blog work. And if a tax question comes up again later, I can pull it out as-is with /resume 세무질문.
Using It Further
- Every time the topic changes: When the topic changes, like morning tax → afternoon blog, cut it off with
/clearto separate the context. - Archive with a name: Attach a label with
/clear blog work, and later pinpoint and recover it with/resume. - Reset a polluted conversation: When the AI keeps repeating a wrong assumption, it is faster to empty cleanly and start fresh.
- Distinguish from compact: To reduce only capacity without emptying the conversation, use
/compact. If continuing work, compact; if the topic changes, clear.
Tip: Think of
/clearas a "reset button." When the AI repeats the same mistake two or three times, it is often faster to empty once and explain anew than to keep trying to persuade it. Just save the core rules in CLAUDE.md before emptying.
How Others Use It
- Since /clear is cumbersome to recover, save needed context in CLAUDE.md first, then run it. — Clear vs Compact (MindStudio)
- It is good to reset the context with /clear between unrelated tasks. — Context Management (Blink)
Summary
The core fits in one sentence. When the topic changes or the conversation gets tangled, start fresh with /clear. The emptied conversation is archived, so you can cut it off with peace of mind and recover it anytime with /resume. Just save rules you must keep in CLAUDE.md before emptying, and if continuing work, use compact, not clear.
Based on: Claude Code v2.1.154 (2026.05)
Comments
Comments 0
Checking sign-in status…
Loading comments…