← Back to Skills Marketplace
341
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-skill-session-memory
Description
Automatically saves conversations daily with sensitive data redacted and supports fast keyword search across recent sessions.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-skill-session-memory - After installation, invoke the skill by name or use
/openclaw-skill-session-memory - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Openclaw Skill Session Memory?
Automatically saves conversations daily with sensitive data redacted and supports fast keyword search across recent sessions. It is an AI Agent Skill for Claude Code / OpenClaw, with 341 downloads so far.
How do I install Openclaw Skill Session Memory?
Run "/install openclaw-skill-session-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Openclaw Skill Session Memory free?
Yes, Openclaw Skill Session Memory is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Openclaw Skill Session Memory support?
Openclaw Skill Session Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Openclaw Skill Session Memory?
It is built and maintained by 魏然 (@qiaotucodes); the current version is v0.1.0.
More Skills