Claude Code /context command – See what is filling the context window
- Home
- Conversation & context
- /context
/context[all]
See what is filling the context window
★ Start here
Shows context usage as a colored grid with optimization suggestions and capacity warnings. all expands the per-item breakdown.
Best use
When Claude seems forgetful or usage climbs fast, run /context to see whether large files or tool output are filling the window.
Related commands · Conversation & context
- /clearStart a fresh conversation (the old one stays resumable)
- /compactSummarize a long conversation to free space
- /planGet a plan first; edits wait for your approval
- /resumeGo back to an earlier conversation
- /rewindUndo: roll code and conversation back
- /autocompactSets how full the context window gets before automatic compaction, e.g.
- /branchCreates a branch of the conversation at this point and switches into it; the original is preserved and reachable via /resume.
- /btwAsks a side question about the current session without adding it to the conversation.
← See all commands