Claude Codesession-managementbuilt-in

/clear

Start a new conversation with empty context. The previous conversation stays available in /resume. Optionally name the previous conversation.

Syntax

/clear [name]

When to use

  • Switching to a completely new task
  • Resetting context when it has become polluted
  • Starting fresh while keeping prior sessions accessible

More Claude Code commands