/compact

Frees up context by summarizing the conversation.

What /compact does

Frees up context by summarizing the conversation up to the current point. You can optionally provide focus instructions to guide the summary. This helps manage the context window without starting a new conversation.

Syntax

/compact

Quick drill

Three cards from the /cards deck. Open each to check your answer.

  1. Which command frees up context by summarizing the conversation?

    • Summarizes conversation to free context.
    • Deletes parts of the conversation.
    • Starts a new conversation.
    • Displays current context usage.
    Show answer

    /compact: Summarizes conversation to free context.

  2. Which command opens the Settings interface or sets preferences directly via key=value pairs?

    • Resets all user settings to default.
    • Displays current configuration values.
    • Exports current session settings.
    • Opens settings or sets preferences.
    Show answer

    /config: Opens settings or sets preferences.

  3. Which command visualizes current context usage and provides optimization suggestions?

    • Visualizes current context usage.
    • Clears the entire context window.
    • Summarizes the conversation context.
    • Sets the context window size.
    Show answer

    /context: Visualizes current context usage.

Drill all 112 commands in /cards

Spaced repetition so the right command comes to mind in your terminal.