← Back to Skills Marketplace
6203
Downloads
1
Stars
0
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 with agent memories being kept as local plaintext files. Do not store API keys, passwords, tokens, or sensitive raw data in this memory store; use vault references instead. Avoid letting untrusted prompts, imported backups, or external content choose script arguments until the input-interpolation issues 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 largely match that purpose: save, recall, context loading, consolidation, stats, export/import, pruning, and edit/delete.
Instruction Scope
Several scripts embed command-line values directly into inline Node.js source, so crafted values for options such as limit, days, topic, or date can escape their intended data role and execute local JavaScript under the user account.
Install Mechanism
The package declares a Node binary requirement, has no npm dependency installation, and shows no install hooks, background services, or network-based setup behavior.
Credentials
Plaintext storage under ~/.agent-memory is coherent for a memory skill, but the docs normalize credential-related memories and do not clearly warn users to avoid secrets or sensitive data.
Persistence & Privilege
Persistent local storage, export/import, raw recall/context output, and edit/delete/prune are disclosed and purpose-aligned, but they lack strong warnings or safeguards around sensitive content exposure and destructive changes.
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 6203 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