← Back to Skills Marketplace
5573
Downloads
1
Stars
53
Active Installs
3
Versions
Install in OpenClaw
/install session-memory
Description
Persistent memory toolkit for AI agents. Save context, recall with relevance scoring, consolidate insights, track decisions across sessions. Features importa...
Usage Guidance
Install only if you are comfortable keeping agent memories as local plaintext files. Do not store API keys, passwords, tokens, or raw sensitive details in this memory; use vault references instead. Avoid letting untrusted prompts, imported backups, or external content choose script arguments until the input-interpolation bugs are fixed, and treat exports/backups as sensitive files.
Capability Analysis
Type: OpenClaw Skill
Name: session-memory
Version: 2.0.0
The skill bundle provides a functional local memory system but contains multiple security vulnerabilities due to a lack of input sanitization. Specifically, 'daily.sh' is vulnerable to path traversal via the date argument, and 'edit.sh' and 'recall.sh' are susceptible to shell/grep injection because user-provided variables are passed directly into shell commands. While the intent appears to be a legitimate utility for agent continuity, these flaws allow for unauthorized file access or command execution if the agent is prompted with crafted inputs.
Capability Assessment
Purpose & Capability
The stated purpose is persistent local agent memory, and the bundled commands match that purpose: save, recall, context loading, consolidation, stats, export/import, pruning, and edit/delete.
Instruction Scope
Several scripts interpolate command-line values directly into inline Node.js source instead of passing them only as argv data, so crafted values for options such as limits, days, topics, or dates can escape their intended scope and run local JavaScript under the user account.
Install Mechanism
The package declares only a Node binary requirement, has no npm dependencies or install lifecycle hooks, and does not show background installation behavior.
Credentials
Writing to ~/.agent-memory is proportionate for a memory skill, but the storage is plaintext JSONL and the docs do not clearly warn against storing secrets or sensitive operational details.
Persistence & Privilege
Persistence is disclosed and central to the skill, but high and critical memories are automatically resurfaced into future context, and export/prune/delete features lack strong warnings or safeguards against sensitive-data exposure or accidental loss.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install session-memory - After installation, invoke the skill by name or use
/session-memory - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
v2.0.0: relevance search, importance levels, context loader, consolidation, export/import, stats, edit/delete
v1.1.0
Fix: safe JSON via node (no more manual sed escaping), fix glob depth for recall/topics, add --json mode to all commands, add missing prune.sh, fix requires declaration
v1.0.0
Initial release: Persistent memory toolkit for AI agents
Metadata
Frequently Asked Questions
What is Session Memory?
Persistent memory toolkit for AI agents. Save context, recall with relevance scoring, consolidate insights, track decisions across sessions. Features importa... It is an AI Agent Skill for Claude Code / OpenClaw, with 5573 downloads so far.
How do I install Session Memory?
Run "/install session-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Session Memory free?
Yes, Session Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Session Memory support?
Session Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Session Memory?
It is built and maintained by Sway Liu (@swaylq); the current version is v2.0.0.
More Skills