Smart Compaction

Manage duoduo's idle auto-compact for channel sessions — enable/disable per conversation, read the measured compaction stats, and retune thresholds with the break-even formula when the owner changes model/backend or asks about idle-session cost. Trigger when the owner mentions 自动压缩/smart compaction/压缩策略, asks why a session was compacted (a compact notice appeared), switches a session to a metered or short-cache-TTL backend, or asks to protect a conversation from compaction. Also use proactively right after the FIRST auto-compaction of a session you manage — that event carries the calibration measurement.

openduo fdfda97 9.5 KB Updated

File contents

openduo/duoduo/tree/main/skills/smart-compaction commit fdfda97887

Frequently asked questions

npx skillmds@latest add openduo/smart-compaction