Command
/clear
Clear the current conversation context entirely.
Install
manual
/clear
Add this to your Claude Code MCP settings or run via the CLI.
About
Hard reset of the session context. Use when /compact is not enough or when switching to an unrelated task. Built-in command.
Common use cases
- •Switch to unrelated task
- •Recover from confused state
- •Start a fresh experiment
Tags
contextsessionbuilt-in