Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 605 Bytes

File metadata and controls

21 lines (14 loc) · 605 Bytes

Compact Context Proactively

Don't wait until Claude starts forgetting things. Compact when you:

  • Finish a logical unit of work - After implementing a feature or fixing a bug, compact before moving on.
  • Switch tasks - Context from the previous task adds noise. Clear it.
  • Notice high token usage - Check the status bar. If you're getting high, compact.

Usage

/compact

You can also provide a summary focus to guide what gets preserved:

/compact focus on the authentication changes

This helps Claude retain the most relevant context while freeing up space.