← 返回 Skills 市场
Session Memory
作者
moltbotmolty-del
· GitHub ↗
· v1.3.0
· MIT-0
121
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install sessionmemory
功能描述
Your agent forgets everything after compaction? This fixes it. Built by the AI Advantage community — the world's leading AI learning platform (aiadvantage.ai...
安全使用建议
This skill appears to do what it claims: convert local session logs to Markdown, build a glossary, and suggest memory-aware cron prompts. Before installing/running: 1) Review the exact paths used by the scripts (session-to-memory.py currently targets ~/.openclaw/agents/main/sessions and writes to ~/.openclaw/workspace/memory); adjust if you store sessions elsewhere or have multiple agents. 2) Recognize privacy risk: session logs and cron payloads frequently contain sensitive data (API keys, personal data, passwords). The scripts will consolidate those into memory/*.md and (per SKILL.md) may be vectorized by memory_search — ensure the vector store and memory files are stored with proper access controls or sanitize secrets first. 3) Test on a copy of your data or a limited agent (use --new or --force cautiously) before enabling cron jobs broadly. 4) If you want to limit scope, run the scripts on a subset of session files or edit the scripts to filter/exclude patterns (e.g., API keys) before indexing. 5) If you need higher assurance, ask the author for explicit documentation of which fields are read and how to opt out of indexing particular sessions.
功能分析
Type: OpenClaw Skill
Name: sessionmemory
Version: 1.3.0
The session-memory skill is a legitimate utility designed to create a multi-layer memory system for OpenClaw agents by indexing session transcripts. It includes Python scripts (session-to-memory.py, build-glossary.py, and cron-optimizer.py) that convert local JSONL logs into searchable Markdown and generate a structured glossary of people, projects, and decisions. The code operates entirely locally within standard OpenClaw directories (~/.openclaw/), contains no network calls or data exfiltration logic, and includes safety features like stripping untrusted metadata from logs during processing.
能力评估
Purpose & Capability
Overall the requested actions (reading session logs, converting to Markdown, building a glossary, analyzing cron jobs) match the stated purpose. Minor inconsistencies: SKILL.md says it scans ~/.openclaw/agents/*/sessions/ but scripts.session-to-memory.py uses a hard-coded ~/.openclaw/agents/main/sessions path; build-glossary.py uses a WORKSPACE env var defaulting to ~/.openclaw/workspace, while session-to-memory writes to ~/.openclaw/workspace/memory/sessions — these are plausible but slightly mismatched and could confuse users running across multiple agents.
Instruction Scope
The runtime instructions are precise and the included scripts implement them. The scripts read local session JSONL files and cron job JSON files and write Markdown under memory/. They do not make network calls or exfiltrate data. However, they do aggregate potentially sensitive session contents (user messages, assistant replies, cron payloads) into memory/ and the SKILL.md assumes these files will be vectorized by the platform's memory search — this increases the attack surface for any sensitive content contained in sessions.
Install Mechanism
No install spec; this is instruction-plus-script content only. Nothing is downloaded from external URLs and no binaries are installed.
Credentials
The skill does not request credentials or environment variables. build-glossary.py optionally respects a WORKSPACE env var (reasonable). Be aware the scripts read files in user home paths (~/.openclaw/...) which is proportional to the stated function but may expose any secrets stored in session logs or cron job payloads.
Persistence & Privilege
always:false and no elevated privileges are requested. The scripts write to memory/ under the workspace (their own data), and read session/cron files. This is appropriate for a memory/indexing tool. They do not modify other skills or global agent configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sessionmemory - 安装完成后,直接呼叫该 Skill 的名称或使用
/sessionmemory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
Removed all hardcoded personal data. Scripts are now fully generic - no hardcoded names, paths, or personal references. Clean for any user.
v1.2.0
V1.2: NEW — Context sharing guide for Cron Jobs, Subagents & Telegram Sessions. How to make vectorized memory accessible to isolated sessions.
v1.1.0
V1.1: Better description, AI Advantage branding, competitive differentiation section
v1.0.0
Initial release: transcript converter, glossary builder, cron memory optimizer. Three-layer memory architecture for OpenClaw agents.
元数据
常见问题
Session Memory 是什么?
Your agent forgets everything after compaction? This fixes it. Built by the AI Advantage community — the world's leading AI learning platform (aiadvantage.ai... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。
如何安装 Session Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sessionmemory」即可一键安装,无需额外配置。
Session Memory 是免费的吗?
是的,Session Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Session Memory 支持哪些平台?
Session Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Session Memory?
由 moltbotmolty-del(@moltbotmolty-del)开发并维护,当前版本 v1.3.0。
推荐 Skills