Cursor CLIcontext-managementbuilt-in

/compress

Summarize conversation to free context window space while keeping a high-level record of what happened.

When to use

  • Mid-task when context is nearly full
  • Before switching to a new sub-task in the same session
  • Preserving a summary before a context-heavy operation

More Cursor CLI commands