← 返回 Skills 市场
341
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-skill-session-memory
功能描述
Automatically saves conversations daily with sensitive data redacted and supports fast keyword search across recent sessions.
安全使用建议
This skill appears to do what it claims: locally save session logs and provide search with regex-based redaction. Before installing: (1) review and test the redaction rules — some patterns (very generic long-string rule) may over-redact or miss secrets; (2) be aware conversation logs are written unencrypted to ~/.openclaw/.../memory/conversations — ensure filesystem permissions and backups meet your privacy needs; (3) the package has minor implementation issues (e.g., skill.py references timedelta without importing it in one function) — test in a safe environment first and consider fixing those bugs; (4) if you need stronger protection, consider encrypting the memory directory or restricting access to the session files. If you want, I can point out the exact lines to change for the timedelta/import bug and suggest safer redaction regex adjustments.
功能分析
Type: OpenClaw Skill
Name: openclaw-skill-session-memory
Version: 0.1.0
The OpenClaw AgentSkills skill bundle 'session-memory' is classified as benign. The Python scripts (`record.py`, `search.py`, `skill.py`) perform their stated function of recording and searching conversation history within the OpenClaw workspace (`~/.openclaw/workspace/memory/conversations` and `~/.openclaw/agents/main/sessions`). A key security feature is the extensive data redaction of sensitive information (e.g., API keys, emails, phone numbers) before storage and during search. There is no evidence of data exfiltration, unauthorized network activity, arbitrary file access, persistence mechanisms, or obfuscation. While the `SKILL.md` and `README` files provide command-line examples that could theoretically be exploited via shell injection if the OpenClaw agent's execution environment poorly sanitizes user input, this is a vulnerability in the agent's interaction layer, not an inherent flaw or malicious intent within the skill's code or documentation itself. The Python scripts safely process their `sys.argv` inputs for string comparisons.
能力评估
Purpose & Capability
Name/description state local conversation recording, redaction, and search; the included Python scripts (record.py, search.py, skill.py) implement those behaviors and only read/write under ~/.openclaw (sessions -> memory/conversations), which is consistent with the declared purpose.
Instruction Scope
SKILL.md instructs the agent to run the included scripts and references the same file paths the code uses. The scripts read JSONL session logs from ~/.openclaw/agents/main/sessions and write markdown files under ~/.openclaw/.../memory/conversations — this is expected for a session-memory skill. Note: the skill stores full conversation text (albeit redacted) on disk; there is no network exfiltration or access to other system config files.
Install Mechanism
No install spec (instruction-only packaging) and all code is included in the package. Nothing is downloaded or executed from remote URLs, so install risk is low.
Credentials
The skill requires no environment variables or external credentials. Its file access is limited to OpenClaw session logs and the skill's own memory directory in the user's home — proportional to its purpose.
Persistence & Privilege
always is false and the skill does not request persistent platform-level privileges. It writes its own files under the user's home directory only and does not modify other skills or global agent configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-skill-session-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-skill-session-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of session memory skill:
- Automatically records session conversations and saves them daily in markdown files.
- Sensitive information (emails, phone numbers, API keys, etc.) is redacted for privacy.
- Provides fast keyword search using regular expressions without loading entire files.
- Includes CLI tools for searching keywords, setting time range, and listing recent session files.
- Conversation logs are organized by date and contain summaries for easy review.
元数据
常见问题
Openclaw Skill Session Memory 是什么?
Automatically saves conversations daily with sensitive data redacted and supports fast keyword search across recent sessions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 341 次。
如何安装 Openclaw Skill Session Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-skill-session-memory」即可一键安装,无需额外配置。
Openclaw Skill Session Memory 是免费的吗?
是的,Openclaw Skill Session Memory 完全免费(开源免费),可自由下载、安装和使用。
Openclaw Skill Session Memory 支持哪些平台?
Openclaw Skill Session Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openclaw Skill Session Memory?
由 魏然(@qiaotucodes)开发并维护,当前版本 v0.1.0。
推荐 Skills