compact
Condense the conversation when context fills, save a dense state to permanent memory, and return it so you can continue; previous details are still retrievable via recall.
Instructions
Compact the conversation when the context window is filling up (call around 70% full, before turns scroll away). Summarizes the session into a dense STATE block, saves it to permanent memory, and returns it. Continue from the returned block and treat earlier turns as discarded - nothing is lost, recall can retrieve it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversation | Yes | The conversation so far, as text. |