Commands

Compact

Conversation compression

Compact compresses your conversation history and keeps what matters: decisions, insights, file references, and open questions. A fresh context window with the knowledge carried forward.

How it works

Fresh context window,
zero lost knowledge

When your conversation gets long, run /compact. It summarizes the full history into a compressed form: keeping decisions, insights, and context while freeing the context window for new work.

Smart Compression

Keeps decisions, insights, file references, and outstanding questions. Discards implementation noise, tool call details, and repetitive exchanges.

Before: 47 messages (12,000 tokens) → After: 1 summary (800 tokens)

Context Preservation

The AI continues with full knowledge of what came before. No re-explaining. No lost ground. The conversation picks up where you left off.

Summary includes: plan, decisions, files touched, next steps

Focus Chain

Multiple compactions build a focus chain: a layered history of your thinking. Earlier compactions are preserved, creating a trail of how the work evolved.

Focus chain: Session 1 summary → Session 2 summary → Current

Instant & Local

Runs inside the app with no extra model call. Your compressed context is ready immediately.

Compacted. Ready to continue immediately.

Compress, not lose

Not "start over from scratch."
Keep everything that matters. Lose everything that doesn't.

Without Compact
Context window fills up mid-conversation
AI starts forgetting early context
You re-explain decisions already made
Start new chat and lose everything
With /compact
Conversation compressed to essential context
All decisions, files, and insights preserved
Focus chain maintains history across compactions
Fresh token budget for new work, instantly

When conversations get long

Long conversations. Short context. No loss.

Any session where the conversation outgrows the context window.

Deep Research Sessions

3-hour research dive → compressed to key findings and next steps

Multi-Day Projects

Days of context → distilled plan, decisions, and current state

Complex Debugging

Long debugging trail → what worked, what didn't, what's left

Strategy Discussions

Extended strategy session → decisions made and open questions

Collaborative Sessions

Multi-person discussions → shared context everyone can continue from

Writing Sessions

Long drafting session → key decisions about voice, structure, themes

Need a fresh start?

Open a Vault file or press Cmd+K, then type /compact in the Workspace.

Get AskQP