← 返回 Skills 市场
liujw0214

Memory Vacuum

作者 Primordia · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
54
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-vacuum
功能描述
轻量化记忆管理。每日自动分片归档,语义压缩,只保留必要信息。0内存占用,重启不丢。用于用户提到内存、清理、整理记忆、减轻负担等场景。
使用说明 (SKILL.md)

记忆轻量化系统

让记忆系统保持轻量:按天分片、自动压缩、只保留必要信息,不让记忆文件无限膨胀。

核心原则

记忆要精,不要多。宁精一条,不要滥十条。

工作方式

每日分片

所有记忆按 memory/YYYY-MM-DD.md 日期归档,不写入同一个大文件

memory/
├── 2026-05-01.md   ← 5月1日所有对话
├── 2026-05-02.md   ← 5月2日所有对话
├── 2026-05-03.md   ← 5月3日所有对话
└── MEMORY.md        ← 提炼后的精华(体积小,定时精简)

自动压缩(每次会话前)

新会话开始前,检查 MEMORY.md

  • 单条记忆超过 5 行 → 压缩成要点
  • 有重复信息 → 合并
  • 有过时信息 → 标记但不删除(永远不删除)
  • 超过 200 行 → 压缩最旧的一半

零内存占用原理

  • 不存对话历史(太初靠上下文)
  • 不预加载任何东西(按需读取)
  • MEMORY.md 永远小于 50KB(动态压缩保证)
  • 真正需要的信息 → MEMORY.md(\x3C50KB)
  • 原始对话 → 当日日记(按日期分流,不影响加载速度)

内存管理规则

操作 触发条件 动作
写入日记 每条消息 追加到 memory/YYYY-MM-DD.md
写入精华 重要信息 写入 MEMORY.md(精炼后)
压缩 MEMORY.md > 50KB 自动压缩最旧记忆
分流 单日日记 > 100KB 拆分月份子文件

安装

本技能无需额外配置,直接启用即可。

安全使用建议
Review carefully before installing. There is no code or network exfiltration shown, but the instructions would create persistent daily chat archives and rewrite memory automatically. Use it only if you are comfortable storing chat history, and prefer a version that supports explicit consent, secret filtering, backups, and deletion/retention settings.
功能分析
Type: OpenClaw Skill Name: memory-vacuum Version: 1.0.0 The skill bundle contains only Markdown instructions and metadata for managing an AI agent's local memory files. It implements a sharding and compression strategy to keep memory files (e.g., MEMORY.md) small and organized. There is no executable code, no network activity, and no instructions to access sensitive system files or exfiltrate data. The behavior is entirely consistent with the stated purpose of memory optimization.
能力评估
Purpose & Capability
The memory-management purpose is coherent, but the instructions go beyond lightweight summaries by archiving every message and raw conversations, which can include sensitive user data.
Instruction Scope
The skill describes automatic per-message journaling and pre-session compression, with no explicit user approval, exclusions, rollback, or retention limits.
Install Mechanism
No code files, package install, dependencies, or install-time execution are present; the listed install step is only a manual copy command.
Credentials
Registry metadata declares no required config paths or capability tags, yet the skill instructs persistent writes to a memory directory and reuse of stored memory.
Persistence & Privilege
The skill explicitly aims for memory to survive restarts, archives all daily conversations, and says outdated information is marked but never deleted.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-vacuum
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-vacuum 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
memory-vacuum v1.0.0 - 首次发布:提供轻量化记忆管理系统 - 日志自动按日期分片归档,避免单一大文件膨胀 - 对记忆信息自动进行语义压缩与合并,定期精简无效或冗余内容 - 保证 MEMORY.md 始终小于 50KB,实现零内存占用、重启不丢失必要信息 - 适用于记忆管理、整理、自动“减负”等多种场景
元数据
Slug memory-vacuum
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Memory Vacuum 是什么?

轻量化记忆管理。每日自动分片归档,语义压缩,只保留必要信息。0内存占用,重启不丢。用于用户提到内存、清理、整理记忆、减轻负担等场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。

如何安装 Memory Vacuum?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-vacuum」即可一键安装,无需额外配置。

Memory Vacuum 是免费的吗?

是的,Memory Vacuum 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Memory Vacuum 支持哪些平台?

Memory Vacuum 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Memory Vacuum?

由 Primordia(@liujw0214)开发并维护,当前版本 v1.0.0。

💬 留言讨论