Overview
- Skill Key
- breezezephyr/session-memory-workspace
- Author
- breezezephyr
- Source Repo
- openclaw/skills
- Version
- 1.0.0
- Source Path
- skills/breezezephyr/session-memory-workspace
- Latest Commit SHA
- 6450bd95c87265eac46accb3d8bc62d97b107296
Write session summaries to daily memory files and search session history so OpenClaw can recall and cite past conversations.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 session-memory 技能。 若已安装,则直接安装 session-memory 技能。
# 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. ## 1. Summarize a day’s sessions → memory (session-to-memory) Writes a **session summary** for the given date into `memory/YYYY-MM-DD.md` (creates the file or appends a section). Memory citations and RAG will then include that day’s chat. ```bash node skills/session-memory/scripts/session-to-memory.js --date YYYY-MM-DD ``` Optional: - `--date YYYY-MM-DD` — date to summarize (default: yesterday in local time). - `--workspace /path/to/workspace` — workspace root; memory dir is `<workspace>/memory` (default: cwd or `~/.openclaw/workspace`). - `--sessions-dir /path` — override sessions dir (default: `~/.openclaw/agents/main/sessions`). - `--append` — append a “Session summary” section if the file exists; otherwise replace (default: append). - `--max-messages 200` — cap messages per session when building summary (default: 200). Example: ```bash cd ~/.openclaw/workspace node skills/session-memory...
# session-memory OpenClaw skill: write session summaries into daily memory files and search session history so the agent can recall and cite past conversations. ## Features - **Session → memory**: Run `session-to-memory.js` for a date to generate or update `memory/YYYY-MM-DD.md` with a "Session summary" section. OpenClaw’s memory/citation search will then include that day’s chat. - **Session search**: Run `session-search.js` with a query (and optional date range) to get JSON snippets from past sessions. Use this to answer “what did we say about X?” or to prepare context. ## Requirements - Node.js (no extra npm deps) - Sessions at `~/.openclaw/agents/main/sessions/` (default agent) - Workspace with `memory/` directory (e.g. `~/.openclaw/workspace/memory/`) ## Usage (agent) From the workspace root: ```bash # Summarize 2026-02-27 into memory/2026-02-27.md node skills/session-memory/scripts/session-to-memory.js --date 2026-02-27 --append # Search sessions for "discord" node skills/session-memory/scripts/session-search.js --query "discord" --since 2026-02-26 --limit 10 ``` See `SKILL.md` for full usage and when the agent should use this skill. ## Version 1.0.0
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.