/compact, /clear, and Context Hygiene is part of Mastering Claude Code: From Zero to Power User. Unlock this lesson and the full Academy catalog.
Already paid? Open Dashboard and your access will apply automatically.
/compact, /clear, and Context Hygiene Now that you understand how the context window works, let's talk about the tools Claude Code gives you to manage it — and the habits that keep your conversations clean and productive. /clear — The Nuclear Reset /clear completely wipes your conversation history. After running …