Auto Memory Manager

v1.0.0

Automatic memory management based on built-in memory-lancedb-local-storage. Auto-extract key points, compress conversation, write to MEMORY.md and update vec...

0· 78·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description promise automatic memory extraction, compression, write to MEMORY.md and vector index update. The code registers session:end and command:new hooks, invokes the LLM to extract key points, appends results to MEMORY.md in ctx.workspace, and runs 'openclaw memory index --force' — these actions directly implement the declared functionality.
Instruction Scope
Instructions and code automatically trigger at session:end (and on /new), gather the full session messages, call the default LLM to extract JSON-formatted key points, and append them to MEMORY.md. This is consistent with the stated scope, but it does mean full conversation content is sent to the configured LLM provider and is written to disk without additional confirmation. There are minimal heuristics (message count >=2 and keyPoints length >=20) to avoid trivial writes.
Install Mechanism
No install spec; this is an instruction+code skill that relies on runtime hooks and existing platform APIs. Nothing is downloaded or written to disk by an installer. Code included is small and readable; no external URL downloads or packaged installers are invoked.
Credentials
The skill requests no environment variables, no external credentials, and no config paths. Its operations use platform-provided ctx APIs (invokeLLM, exec, listSessions, workspace). The lack of extra credentials is proportional to its stated role.
Persistence & Privilege
always:false (not force-installed). The skill can run autonomously when session:end fires (normal for skills). It also registers an optional daily cron (if ctx.cron exists) and a CLI command for manual runs. These behaviors increase automatic activity but are coherent with a memory management skill; users should be aware it will write to MEMORY.md and invoke indexing automatically.
Assessment
This skill will automatically summarize finished sessions by sending the session text to the platform LLM, append the extracted summary to MEMORY.md in the agent workspace, and run 'openclaw memory index --force' to update local vector indexes. It requests no credentials and installs nothing. Before installing, consider: (1) Do you want automatic writes to MEMORY.md (back it up if needed)? (2) Are you comfortable the full conversation will be sent to your configured LLM provider? (3) If you prefer manual control, disable the skill or remove/modify its session:end and cron hooks. If you need more assurance, review or test the skill in a safe environment to confirm behavior and output formatting.

Like a lobster shell, security has layers — review code before you run it.

latestvk979vseeh6dxzws0xejagp9ag584a7ky

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments