← Back to Skills Marketplace
140
Downloads
0
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install memory-enhancer
Description
Automatically extracts facts from daily logs to update and maintain structured long-term memory and summaries.
Usage Guidance
This skill mostly does what it says (read a daily log and update local memory files), but exercise caution before installing: 1) Confirm what permissions context.sessions_spawn grants on your platform — does the spawned sub-agent have unrestricted filesystem or network access? 2) Ask the author to fix the documentation/code mismatch (SKILL.md says OpenRouter; code spawns 'google/gemini-2.5-flash'). 3) Because the code uses hard-coded absolute paths under /home/bosunjung, either run it in a sandboxed account or modify paths to a dedicated workspace to avoid touching other files. 4) Verify you have backups of MEMORY.md and memory/stats before running, and inspect skill-execution.log after tests. 5) Prefer an explicit allowlist: limit the sub-agent's read/write scope to the specific memory directory and confirm it cannot send data externally (or restrict its network access). If you cannot confirm or constrain the sub-agent's permissions, treat this skill as higher risk and avoid deploying it to sensitive environments.
Capability Analysis
Type: OpenClaw Skill
Name: memory-enhancer
Version: 1.0.0
The skill extracts structured data from daily logs to maintain a long-term memory system, but it uses hardcoded absolute paths to a specific user's home directory (/home/bosunjung/) in index.js, which is a security anti-pattern. Additionally, it spawns a sub-agent to perform file writes based on the content of daily logs, which introduces a risk of indirect prompt injection if the logs contain instructions designed to manipulate the sub-agent's file operations.
Capability Assessment
Purpose & Capability
The skill name and description match what the code does: read yesterday's log and update JSON summaries and MEMORY.md. However, the code hard-codes absolute paths under /home/bosunjung/.openclaw/workspace which is environment-specific, and SKILL.md says the sub-agent uses OpenRouter while index.js actually asks the platform to spawn a sub-agent using 'google/gemini-2.5-flash' — a clear inconsistency between documentation and implementation.
Instruction Scope
SKILL.md and the code instruct a spawned sub-agent to perform merges and write operations on files in memory/stats and append to MEMORY.md. The main skill itself does not perform the merges; it relies on context.sessions_spawn to run a sub-agent with the prompt that directs arbitrary read/write of workspace files. The prompt gives exact filesystem paths but there is no explicit scoping or safeguards in the code limiting what the sub-agent can read/write. This grants the sub-agent broad file-system authority within the workspace and could be abused to modify unrelated files or exfiltrate content if sub-agent tooling has network access.
Install Mechanism
There is no install spec or external download. The skill is provided as code (index.js) and SKILL.md; nothing is pulled from the network at install time. This is lower risk from an installation perspective.
Credentials
The skill requests no environment variables or credentials, which is appropriate for local file processing. However, it hard-codes user-specific absolute paths (/home/bosunjung/.openclaw/workspace...), making it tied to a particular account and increasing the chance of accidental access to unrelated user files if deployed elsewhere. Also SKILL.md indicates using OpenRouter, but the code uses an internal sessions_spawn with Gemini — no API keys are requested, but the mismatch should be clarified.
Persistence & Privilege
The skill is not marked always:true and does not attempt to alter other skills or system-wide agent settings. It writes logs and updates files within its declared workspace area, which is expected for a memory-maintenance tool. The higher-risk element is the autonomous sub-agent invocation (allowed by default) combined with file write instructions; autonomous invocation alone is normal but increases blast radius when paired with file writes.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-enhancer - After installation, invoke the skill by name or use
/memory-enhancer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the Memory Enhancer Skill.
- Automatically extracts structured facts from daily memory logs and maintains long-term memory.
- Uses a sub-agent to identify preferences, contacts, habits, and project statuses from logs.
- Updates relevant JSON stat files and appends concise summaries to MEMORY.md.
- Runs daily by default (2:00 AM), with OpenRouter as the analysis backend.
Metadata
Frequently Asked Questions
What is Memory Enhancer?
Automatically extracts facts from daily logs to update and maintain structured long-term memory and summaries. It is an AI Agent Skill for Claude Code / OpenClaw, with 140 downloads so far.
How do I install Memory Enhancer?
Run "/install memory-enhancer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory Enhancer free?
Yes, Memory Enhancer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Memory Enhancer support?
Memory Enhancer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory Enhancer?
It is built and maintained by xpneuma (@xpneuma); the current version is v1.0.0.
More Skills