Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
Claude Coding By Emily Carter

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

  1. In a Claude Code session, type /context.
  2. Look for large items you no longer need (old files, long tool outputs).
  3. 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

All Claude tricks →