session-memory

Installation
SKILL.md

session-memory

Use this skill when the user asks to remember yesterday’s (or a date’s) chat, to summarize a day’s sessions into memory, or to search past conversations (by keyword or date). It bridges session logs and the memory store so OpenClaw can answer “what did we talk about on …?” and use session context in replies.

When to use

  • User asks: “把昨天的聊天记到记忆里” / “总结一下 2 月 27 日的对话并写入 memory”
  • User asks: “查一下之前我们说过关于 XXX 的对话” / “搜索会话里关于 discord/股票 的内容”
  • User wants past chats to be searchable via memory/citations → run the summarize script for that day first, then normal memory search will include it.

Paths (default agent)

  • Sessions: ~/.openclaw/agents/main/sessions/
    • sessions.json = index; <session-id>.jsonl = full transcript.
  • Memory: <workspace>/memory/
    • Daily file: memory/YYYY-MM-DD.md. Create or append a ## Session summary section.

Run scripts from the workspace root (e.g. ~/.openclaw/workspace), or pass --workspace so memory/ is resolved correctly.

Installs
2
Repository
openclaw/skills
GitHub Stars
4.5K
First Seen
Mar 12, 2026
session-memory — openclaw/skills