← 返回 Skills 市场
330
总下载
0
收藏
1
当前安装
13
版本数
在 OpenClaw 中安装
/install memory-archiver
功能描述
记忆管理技能 - 三层时间架构 + 自动搜索/提取/会话笔记统一 Hook + 记忆巩固(整合 auto-dream)
安全使用建议
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.
功能分析
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.
能力标签
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memory-archiver - 安装完成后,直接呼叫该 Skill 的名称或使用
/memory-archiver触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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 自动化同步
元数据
常见问题
Memory Archiver 是什么?
记忆管理技能 - 三层时间架构 + 自动搜索/提取/会话笔记统一 Hook + 记忆巩固(整合 auto-dream). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 330 次。
如何安装 Memory Archiver?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-archiver」即可一键安装,无需额外配置。
Memory Archiver 是免费的吗?
是的,Memory Archiver 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Memory Archiver 支持哪些平台?
Memory Archiver 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Memory Archiver?
由 c32(@amd5)开发并维护,当前版本 v10.3.0。
推荐 Skills