← Back to Skills Marketplace
330
Downloads
0
Stars
1
Active Installs
13
Versions
Install in OpenClaw
/install memory-archiver
Description
记忆管理技能 - 三层时间架构 + 自动搜索/提取/会话笔记统一 Hook + 记忆巩固(整合 auto-dream)
Usage Guidance
This skill appears to do what it says: local memory indexing, search, extraction, consolidation and pruning. Before installing: 1) Back up ~/.openclaw/workspace/MEMORY.md and your memory/ directory because several scripts will move or delete files (memory-aging.js, memory-dedup.js, dream-consolidate.js). 2) Inspect scripts/install.js if you prefer to register hooks and cron jobs manually instead of letting the installer do it automatically. 3) Note a few inconsistent/odd calls: some code runs bash against .js files (bootstrap-loader runs `bash ".../memory-loader.js"`, dream-consolidate runs `bash` on memory-dedup.js) — this looks like a conversion artifact and should be harmless if node is used instead, but you might want to change those to `node` or confirm behavior. 4) If you are cautious, run the scripts in dry-run modes where available (memory-aging.js supports --dry-run; dream-consolidate.js has --status and --force) and test install in a disposable environment first. 5) Because the skill will run repeatedly (hooks/cron), keep an eye on what it writes or deletes for the first few runs and disable the hook if behavior is not what you expect.
Capability Analysis
Type: OpenClaw Skill
Name: memory-archiver
Version: 10.3.0
The 'memory-archiver' skill is a comprehensive memory management system designed to categorize and consolidate agent interactions into daily, weekly, and long-term storage. The code demonstrates security maturity by explicitly using 'execFile' in 'hooks/handler.js' to prevent command injection vulnerabilities when processing untrusted user input. The bundle's activities—including hook registration, cron job creation, and file system management—are entirely consistent with its stated purpose, and the included AI prompts ('prompts/consolidation.md') actually include safety constraints to limit the agent to read-only bash commands during memory maintenance.
Capability Tags
Capability Assessment
Purpose & Capability
Name/description align with the code: hooks for message:received, agent:bootstrap loader, scripts for searching, extracting, classifying, aging, deduping and consolidating MEMORY.md. The files read and write only under ~/.openclaw/workspace (memory, hooks, MEMORY.md, SESSION-STATE.md), which is coherent with a local memory-archiver skill.
Instruction Scope
SKILL.md and hook handlers instruct the agent to read/write many workspace files, deploy hooks and add cron jobs — expected for this skill. Important runtime behaviors to note: several scripts permanently remove or move files (memory-aging.js deletes aged/excess files; memory-dedup.js modifies MEMORY.md; dream-consolidate moves/archives files). These destructive actions are consistent with 'aging' and 'cleanup' features but are high-impact and should be acceptable to the user. Also: some handlers/scripts invoke other scripts via shell (see bootstrap-loader invoking bash on a .js script), which is inconsistent with other places that call node directly.
Install Mechanism
No network downloads or package installs are declared. There's no registry install spec — installation is script-driven (scripts/install.js or clawhub install). All code is included in the bundle. This is lower risk than remote download installers, but the install script attempts to auto-register hooks and add cron jobs via the openclaw CLI and prints a systemctl restart suggestion.
Credentials
The skill requires no environment variables or external credentials in metadata. Runtime code uses only process.env.HOME to find the workspace — proportional for a local filesystem-based memory manager. No cloud endpoints or secret exfiltration are requested.
Persistence & Privilege
The skill installs a persistent hook (message:received) and adds 3 cron jobs to run consolidation/archiving tasks. always is false. Autonomous invocation via hooks/cron is the feature’s intent and is expected, but this gives the skill ongoing execution and file-modification capability inside the user's workspace — review/consent is recommended before enabling.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-archiver - After installation, invoke the skill by name or use
/memory-archiver - Provide required inputs per the skill's parameter spec and get structured output
Version History
v10.3.0
安全修复: handler.js 中 exec/async 替换为 execFile 传参数数组,彻底杜绝命令注入漏洞(backtick/$()等)
v10.2.0
全部.sh引用清理: dream-consolidate.js, bootstrap-loader, hooks, skill.json postinstall, HOOK.md
v10.1.1
修复文档: bash改为node, 占位符替换为示例
v10.1.0
全部.sh脚本转为.js,整合记忆提取+会话笔记为统一Hook
v10.0.1
整合记忆提取+会话笔记为统一Hook(message:received),作者改为c32
v10.0.0
整合 auto-memory-extract + session-notes 为统一 Hook (message:received),版本 10.0
v9.0.1
记忆管理技能更新
v9.0.0
完全整合 auto-dream: 记忆巩固(闸门+索引+编排)+文件锁+索引更新+去重; 新增 bootstrap-loader Hook(启动自动加载记忆); 三层时间架构+自动搜索Hook
v7.0.1
memory-archiver 7.0.1 Changelog
- Maintenance release with minor file updates.
- No major feature or functional changes.
- Internal meta and script updates to support skill deployment and registration.
v7.0.0
**memory-archiver v7.0.0**
- 自动化安装:支持通过 ClawHub 一键安装,自动部署 memory 搜索 hook 与定时任务。
- 新增 hooks 目录及 auto-memory-search,消息到达时自动多维关键字记忆联想与注入。
- 新增/更新多条管理与搜索脚本,包括 memory-loader、memory-dedup、memory-refresh 等。
- skill.json 增加 postinstall 步骤,install.sh 支持自动注册所有必要组件。
- 架构简化为 daily/weekly/长期精选三层,去除 monthly/yearly。
- 文档全面更新,突出安装流程、文件结构与自动搜索特性。
v2.1.1
技能文档优化,架构图精简
v2.1.0
新增最小化写入原则 + 三类记忆标签(episodic/semantic/procedural) + 压缩风险检测
v2.0.0
五层记忆架构:hourly/daily/weekly/monthly/yearly 自动化同步
Metadata
Frequently Asked Questions
What is Memory Archiver?
记忆管理技能 - 三层时间架构 + 自动搜索/提取/会话笔记统一 Hook + 记忆巩固(整合 auto-dream). It is an AI Agent Skill for Claude Code / OpenClaw, with 330 downloads so far.
How do I install Memory Archiver?
Run "/install memory-archiver" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory Archiver free?
Yes, Memory Archiver is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Memory Archiver support?
Memory Archiver is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory Archiver?
It is built and maintained by c32 (@amd5); the current version is v10.3.0.
More Skills