See what is eating your context window with /context
In Claude Code you can type /context to see what is using up the context window. Checking it when a long session starts to feel slow tells you what to drop before you keep going, instead of guessing or starting over.
Why it matters
Long sessions slow down and lose focus when the context window fills up. /context shows you what to cut.
Who it's for
Anyone running long Claude Code sessions.
How to try it
- In a Claude Code session, type /context.
- Look for large items you no longer need (old files, long tool outputs).
- Prune or start a fresh session with only what matters, then continue.
Plan & availability: Claude Code CLI, all plans that include Claude Code.
Source: @mablesjoseph on X
Written by Emily Carter from the original post. Checked Oct 17, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.
claude codecontexttips
More Claude tricks
- One URL and one key for all your MCP servers: ngrok's MCP Gateway is live · Dec 2
- OpenCode 2.4.2 cuts about 700 tokens per request and tunes GPT-6.2 · Nov 26
- OpenCode 2.4 gives your coding agent a browser, automations, and video generation · Nov 24
- Claude Code 2.1.330 draws your charts with easel and lets scheduled tasks run 30 days · Nov 21