← Back to Skills Marketplace
54
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install memory-vacuum
Description
轻量化记忆管理。每日自动分片归档,语义压缩,只保留必要信息。0内存占用,重启不丢。用于用户提到内存、清理、整理记忆、减轻负担等场景。
README (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 | 拆分月份子文件 |
安装
本技能无需额外配置,直接启用即可。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-vacuum - After installation, invoke the skill by name or use
/memory-vacuum - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
memory-vacuum v1.0.0
- 首次发布:提供轻量化记忆管理系统
- 日志自动按日期分片归档,避免单一大文件膨胀
- 对记忆信息自动进行语义压缩与合并,定期精简无效或冗余内容
- 保证 MEMORY.md 始终小于 50KB,实现零内存占用、重启不丢失必要信息
- 适用于记忆管理、整理、自动“减负”等多种场景
Metadata
Frequently Asked Questions
What is Memory Vacuum?
轻量化记忆管理。每日自动分片归档,语义压缩,只保留必要信息。0内存占用,重启不丢。用于用户提到内存、清理、整理记忆、减轻负担等场景。 It is an AI Agent Skill for Claude Code / OpenClaw, with 54 downloads so far.
How do I install Memory Vacuum?
Run "/install memory-vacuum" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory Vacuum free?
Yes, Memory Vacuum is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Memory Vacuum support?
Memory Vacuum is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory Vacuum?
It is built and maintained by Primordia (@liujw0214); the current version is v1.0.0.
More Skills