Thanks to visit codestin.com
Credit goes to xum.coder.com

Skip to main content
You can customize how Xum summarizes conversations during compaction by overriding the compact agent.

Override the compact agent

Create .xum/agents/compact.md in your project (or ~/.xum/agents/compact.md for global):
By default, your prompt is appended to the built-in compact agent.

Replace instead of append

Defaults (synced from source)

Notes

  • Custom compact agents apply to both manual /compact and auto-compaction.
  • Tools are always disabled during compaction.
  • -t sets maxOutputTokens; Xum converts this into an approximate word target for the instruction message.