sleep-consolidation

Use this skill to consolidate an AI agent's daily experiences and learnings into structured long-term memory, mimicking human sleep-based memory consolidation. Trigger this skill whenever: an agent session ends and there are new learnings to store, a user asks the agent to "sleep", "consolidate memory", or "process today's learnings", the agent's working memory is getting full and needs compression, the context window is approaching its limit and memories need flushing, or you want to extract insights from accumulated interaction logs. The skill runs three modes: micro-rest (waking replay for quick within-session notes), NREM (deep structured consolidation with dual fast/slow tracks), and REM (creative cross-domain synthesis). Memory is stored as plain Markdown files following OpenClaw's two-layer architecture. Always use this skill at the end of long agent sessions, before context compaction, and whenever explicitly asked to "remember".

Install

openclaw skills install @cshiaa/sleep-consolidation