Skip to content
BENIBIX Learn

/clear Command

Also known as /clear, /reset, /new

It starts a new chat with an empty context.

Think of it like

It is like you wipe the board. Then you can start a new one.

Example

Jack fixed a login bug and now wants to work on the footer. He types /clear, so the long talk about login no longer fills the window.

Why it matters

Old chat about a finished task uses up room and can pull Claude off track. A clean start keeps it focused.

Definition

/clear starts a new conversation with an empty context, so Claude no longer sees the chat so far. CLAUDE.md and your project memory still load. The old conversation is saved, so /resume can bring it back. Pass a name to label the old one in the /resume list. It is the cleanest way to switch to a new task.

Example code

console
/clear login-fix
Start fresh, and name the old chat login-fix.
/clear empties the messages part of this grid. The rest loads again.

Common mistake

Using /clear when you still need the chat. /compact keeps a short summary of it. /clear keeps none.

Key takeaways

  1. 1
    Empty context. A new conversation.
  2. 2
    Old chat is saved. /resume brings it back.
  3. 3
    Memory stays. CLAUDE.md still loads.

Compare

Learn it properly