Moore 金字塔记忆系统
Moore's self-developed memory system ensures continuity across sessions. Never forget a cross-session task again.
The Problem It Solves
Before: Cross-session tasks were forgotten because there was no persistent todo tracking.
After: A 5-layer pyramid with a dedicated .todos.md file ensures every cross-session task persists.
Architecture
CODEBLOCK0
Core Files
| File | Purpose |
|---|
| INLINECODE1 | Loads all 5 layers on every startup |
| INLINECODE2 |
Generates weekly summaries (cron: Monday 9AM) |
|
scripts/monthly-archive.js | Generates monthly summaries (cron: monthly, last day) |
|
.todos.md | Cross-session todo list — THE key mechanism |
How Startup Works
On every session start, startup-read.js executes automatically:
CODEBLOCK1
The .todos.md Rule (Critical!)
When to write to .todos.md:
- - Masone asks you to create something that can't be completed immediately
- Any cross-session project, agreement, or pending action
- Examples: "publish this skill when network restores", "wait for Masone's input"
Format:
CODEBLOCK2
After completion: Move the line from "进行中" to "已完成"
Conversation Summary Rule
After every conversation with Masone ends, write a summary immediately.
- - When: Trigger words ("好的"/"就这样"/"结束了"), topic switch, 5 min silence
- Length: ≤2000 characters
- Where:
memory/YYYY-MM-DD.md (today's diary) - Format:
1. Topic (1 sentence)
2. Core content (bullet points)
3. Masone's preferences/corrections
4. Todo items
5. Self-reflection
Cron Configuration
| Task | Cron | Script |
|---|
| Weekly review | Monday 9AM | weekly-archive.js |
| Monthly archive |
Last day of month 10AM | monthly-archive.js |
Scripts Location
All scripts: INLINECODE7
Related Skills
- -
memos-memory-guide — MemOS memory tools (memory_search, etc.) - INLINECODE9 — Atkinson-Shiffrin memory model
History
| Date | Event |
|---|
| 2026-03-22 | Initial creation |
| 2026-03-27 |
Enhanced with .todos.md, startup-read.js updated to 5 layers |
| 2026-03-29 | Added conversation summary rule |
| 2026-03-31 | Fixed: scripts separated, monthly cron added, template newlines fixed |
This skill documents Moore's own memory system.
Moore 金字塔记忆系统
Moore自主研发的记忆系统确保会话间的连续性。再也不必担心忘记跨会话任务。
解决的问题
之前: 跨会话任务因缺乏持久化待办追踪而被遗忘。
之后: 五层金字塔结构配合专用.todos.md文件,确保每个跨会话任务持久留存。
架构
工作区记忆(5层)
├── MEMORY.md — 永久核心(启动时始终加载)
├── memory/monthly/ — 月度总结
├── memory/weekly/ — 周度总结
├── memory/*.md — 每日日记(最近14天)
└── .todos.md — 跨会话待办列表(关键!)
核心文件
| 文件 | 用途 |
|---|
| scripts/startup-read.js | 每次启动时加载全部5层 |
| scripts/weekly-archive.js |
生成周度总结(定时任务:周一上午9点) |
| scripts/monthly-archive.js | 生成月度总结(定时任务:每月最后一天) |
| .todos.md | 跨会话待办列表 — 核心机制 |
启动流程
每次会话启动时,startup-read.js自动执行:
第1层:MEMORY.md — 永久核心
第2层:memory/monthly/*.md — 所有月度总结
第3层:memory/weekly/weekly-review-*.md — 本月各周总结
第4层:memory/*.md — 最近14天日记
第5层:.todos.md — 跨会话待办事项 ⭐
.todos.md规则(关键!)
何时写入.todos.md:
- - Masone要求创建无法立即完成的内容
- 任何跨会话项目、协议或待处理事项
- 示例:网络恢复后发布此技能、等待Masone输入
格式:
markdown
进行中
已完成
完成后: 将行从进行中移至已完成
对话总结规则
每次与Masone的对话结束后,立即撰写总结。
- - 触发时机: 触发词(好的/就这样/结束了)、话题切换、静默5分钟
- 长度: ≤2000字符
- 存储位置: memory/YYYY-MM-DD.md(当日日记)
- 格式:
1. 主题(一句话)
2. 核心内容(要点列表)
3. Masone的偏好/修正
4. 待办事项
5. 自我反思
定时任务配置
| 任务 | 定时规则 | 脚本 |
|---|
| 周度回顾 | 周一上午9点 | weekly-archive.js |
| 月度归档 |
每月最后一天上午10点 | monthly-archive.js |
脚本位置
所有脚本:~/.openclaw/workspace/scripts/
相关技能
- - memos-memory-guide — MemOS记忆工具(memory_search等)
- memory-never-forget — 阿特金森-谢夫林记忆模型
历史记录
| 日期 | 事件 |
|---|
| 2026-03-22 | 初始创建 |
| 2026-03-27 |
增强.todos.md功能,startup-read.js更新为5层 |
| 2026-03-29 | 添加对话总结规则 |
| 2026-03-31 | 修复:脚本分离、添加月度定时任务、修复模板换行 |
本技能记录了Moore自身的记忆系统。