Maintain OpenClaw chat sessions by compacting or resetting them. Always confirm with the user before running /compact or /new.
CommandPurposeWhen to use/compactSummarize + compress current contextSession feels stale, too long conversation, context bloated/newStart a brand-new session (new session ID)Need a completely fresh slate/resetReset current session stateQuick reset without a new ID
Suggest session maintenance when:
/compact to summarize and compress it?"bash
openclaw session compact
Or use the slash command in chat if supported: /compact
/new or openclaw session new/reset is a lighter operation (no new session ID). Confirm is still recommended but less critical than /new.
/compact is preferred over /new when the user just wants to reduce context bloat/new is for when the user explicitly wants a clean slate or different context(switch to a new task)