Command reference ยท Cursor CLI
/context
Visualizes what's consuming the context window, broken down by category.
/context shows a breakdown of what's consuming the current session's context window, e.g. by category such as files, tool output, or conversation. Documented in the official changelog, not (yet) listed in the command reference table.
โ WHEN TO USE IT?
Understand what's taking up the most space before a /summarize
/context โ check whether, e.g., large tool outputs are filling the context
Gauge how much room is left for further turns
/context โ before a planned large file review
โ WHEN NOT TO?
The context window needs to actually shrink, not just be analyzed
/context only shows the breakdown, it doesn't change anything.
Better: Use /summarize to actually free up space
It's just a quick yes/no check mid-turn
/context opens its own detail view, more than needed for a brief aside.
Better: Use /btw for a quick read-only side question
SOURCES
- Cursor Docs โ Changelog โ cursor.com