Skip to content

Claude Code Commands#

/compact#

/compact : It compresses your long, messy conversation history into a dense summary, freeing up massive amounts of token space while remembering the core goal.

/clear#

/clear : The hard reset. It wipes the session's working memory clean so you aren't paying token taxes on old, irrelevant work.

/context#

/context : It shows you exactly what is eating your token budget (e.g., terminal logs, file reads, or chat history) so you can fix it.