/clear wipes the entire conversation history and resets context to zero — without restarting the Claude Code process or losing your shell session. Use it when switching between unrelated tasks, or when the context has drifted and Claude starts giving confused answers. It’s faster than quitting and reopening, and cheaper than letting a contaminated context keep running.
Use /clear to Start Fresh Without Restarting
Wipe the conversation history and get a clean context without killing the Claude Code process.
/clear