← Back to Skills Marketplace
Session Memory (Workspace)
by
caixiaopeng
· GitHub ↗
· v1.0.0
606
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install session-memory-workspace
Description
Write session summaries to daily memory files and search session history so OpenClaw can recall and cite past conversations.
Usage Guidance
This skill is coherent: it reads local OpenClaw session logs and writes/updates per-day memory markdown files so the agent can recall past conversations. Before installing, confirm you are comfortable with the agent reading your session JSONL files and adding their summaries to workspace/memory (these files may contain sensitive content). Also ensure Node.js is available. If you do not want automatic summarization, avoid running the summarize script or restrict who can invoke the skill; when enabled the agent can call the scripts (autonomous invocation is the platform default).
Capability Analysis
Type: OpenClaw Skill
Name: session-memory-workspace
Version: 1.0.0
The skill is classified as suspicious due to the exposure of arguments in `SKILL.md` that allow the AI agent to specify arbitrary file paths for read and write operations. Specifically, `session-to-memory.js` accepts `--workspace /path/to/workspace` and `session-search.js` accepts `--sessions-dir /path`. While these arguments are plausibly needed for the skill's stated purpose, they introduce a significant vulnerability: if the AI agent is compromised via prompt injection, it could be coerced into reading from or writing to arbitrary file system locations, potentially leading to information disclosure or arbitrary file modification. The scripts themselves do not exhibit malicious intent (e.g., data exfiltration, backdoors, or direct malicious execution), and the `SKILL.md` does not contain explicit prompt injection instructions for the agent to perform harmful actions.
Capability Assessment
Purpose & Capability
Name/description match behavior: the scripts read session JSONL files from ~/.openclaw/agents/main/sessions and either search them or summarize them into workspace/memory/YYYY-MM-DD.md. Required binary (node) is appropriate and necessary for the included JavaScript scripts.
Instruction Scope
SKILL.md instructs running the included node scripts and documents which paths are read/written. The instructions limit scope to session files and workspace memory; they do not ask the agent to read unrelated paths, system credentials, or call external endpoints. The scripts perform only local file I/O and text processing.
Install Mechanism
There is no install spec (instruction-only), and included files are plain Node scripts. No remote downloads, package installs, or archive extraction are performed by the skill metadata.
Credentials
The skill requires no environment variables or credentials. It accesses only the documented local session directory and the workspace memory directory; those paths are reasonable for the described functionality.
Persistence & Privilege
always is false and the skill is user-invocable; autonomous invocation is allowed (platform default) but the skill does not request heightened privileges or modify other skills or global agent settings. It writes only to the workspace memory files that its description declares.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install session-memory-workspace - After installation, invoke the skill by name or use
/session-memory-workspace - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首次发布:会话摘要写入每日 memory 文件,支持按关键词/日期搜索会话历史
Metadata
Frequently Asked Questions
What is Session Memory (Workspace)?
Write session summaries to daily memory files and search session history so OpenClaw can recall and cite past conversations. It is an AI Agent Skill for Claude Code / OpenClaw, with 606 downloads so far.
How do I install Session Memory (Workspace)?
Run "/install session-memory-workspace" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Session Memory (Workspace) free?
Yes, Session Memory (Workspace) is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Session Memory (Workspace) support?
Session Memory (Workspace) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Session Memory (Workspace)?
It is built and maintained by caixiaopeng (@breezezephyr); the current version is v1.0.0.
More Skills