轻量化记忆管理。每日自动分片归档,语义压缩,只保留必要信息。0内存占用,重启不丢。用于用户提到内存、清理、整理记忆、减轻负担等场景。
Scanned 9/9/2026
Install to Claude Code
npx -y skills add Lord1Egypt/awesome-skill-forge --skill memory-vacuum --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Memory Vacuum?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lord1egypt-memory-vacuum)More formats (shields.io, HTML) on the badges page.
---
name: memory-vacuum
description: 轻量化记忆管理。每日自动分片归档,语义压缩,只保留必要信息。0内存占用,重启不丢。用于用户提到内存、清理、整理记忆、减轻负担等场景。
---
# 记忆轻量化系统
让记忆系统保持轻量:按天分片、自动压缩、只保留必要信息,不让记忆文件无限膨胀。
## 核心原则
**记忆要精,不要多。宁精一条,不要滥十条。**
## 工作方式
### 每日分片
所有记忆按 `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(<50KB)
- 原始对话 → 当日日记(按日期分流,不影响加载速度)
## 内存管理规则
| 操作 | 触发条件 | 动作 |
|------|---------|------|
| 写入日记 | 每条消息 | 追加到 `memory/YYYY-MM-DD.md` |
| 写入精华 | 重要信息 | 写入 MEMORY.md(精炼后) |
| 压缩 | MEMORY.md > 50KB | 自动压缩最旧记忆 |
| 分流 | 单日日记 > 100KB | 拆分月份子文件 |
## 安装
本技能无需额外配置,直接启用即可。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...