Claude Coding

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 AgentStackList 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 →

Agent Stack Weekly · free

Get the week's best AI tricks

Limit and pricing changes, new MCP servers, and setup fixes for Claude Code, Codex, Cursor, Copilot and Antigravity.

No spam. Unsubscribe anytime. Read past issues