promptgarten 🌱

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.

πŸ”„ THE SAME TASK (β€œVISUALIZE CONTEXT USAGE”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… 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

MORE COMMANDS Β· Cursor CLI

/full-conversation/btw/skills/rules/commands/changesagent [prompt...]agent loginagent logoutagent status | agent whoamiagent aboutagent models

All commands Β· Cursor CLI β†’

Share:𝕏inπŸ’¬