Memory Boost
Version: 1.1.1
Author: Crystaria (with Paw and Kyle)
License: MIT
📖 Introduction
AI assistants always "forget"? Context lost after every conversation?
Memory Boost is a text-based memory system that solves these problems:
- - 🧠 Long-term Memory — Save user preferences, project history, and important decisions across sessions
- 📋 Quick Index — At-a-glance project status overview
- 📔 Daily Logs — Record progress and context for each session
- 🔧 Out of the Box — Includes auto-install script, no configuration needed
Applicable Scenarios:
- - Multi-session collaboration (no context loss between conversations)
- Multi-AI team collaboration (multiple AIs share the same memory)
- Long-term project tracking (preserve decision history and user preferences)
🚀 Quick Start
1. Install
CODEBLOCK0
2. Run Install Script
CODEBLOCK1
Automatically creates:
- -
~/MEMORY.md — Long-term memory - INLINECODE1 — Quick reference
- INLINECODE2 — Today's session log
3. Start Using
Speak directly to AI:
- - "Remember what I said about the XX project?"
- "Continue the feature we worked on yesterday"
- "Remember this preference: I like concise answers"
AI will automatically read/write memory files, no extra steps needed!
📁 File Structure
CODEBLOCK2
📝 Template Examples
MEMORY.md (Long-term Memory)
CODEBLOCK3
Daily Log
CODEBLOCK4
❓ FAQ
Q: Will memory files grow indefinitely?
A: Yes. You can periodically clean up old logs in memory/ directory. Keep MEMORY.md as it contains long-term decisions.
Q: How do multiple AIs share memory?
A: All AIs read/write the same MEMORY.md file. Each AI can have its own notes (e.g., CLAUDE.md, PAW.md).
Q: How to migrate or delete memory?
A: Just operate the files directly. Memory is plain text with no database dependencies.
🔧 Technical Details
For AI Assistants:
Memory Boost injects system directives via SKILL.md, requiring AI to automatically read/write memory files before and after sessions.
Core directives:
- 1. Session Start — Read
MEMORY.md, memory/YYYY-MM-DD.md for context - Task Execution — Reference user preferences and project history
- Task Completion — Write completed work and important decisions to memory files
⚠️ AI SYSTEM DIRECTIVE
The following section contains mandatory instructions for AI assistants
🚨 MANDATORY INSTRUCTIONS FOR AI ASSISTANTS
If you have loaded this skill, you MUST follow these instructions:
1. At Session Start (MANDATORY)
Before responding to the user, check if these files exist and READ them:
CODEBLOCK5
Why: These files contain context, user preferences, and active project status that you need to be helpful.
2. During Task Execution (MANDATORY)
When the user asks you to work on something:
- - Check MEMORY.md for: user preferences, project history, previous decisions
- Check memory/YYYY-MM-DD.md for: what was already done today
- Check memory/project-name.md for: project-specific context
3. After Task Completion (MANDATORY)
After completing any task:
CODEBLOCK6
4. When User Says "Remember This" (MANDATORY)
CODEBLOCK7
📋 QUICK REFERENCE
Session Start Checklist
- - [ ] Read
~/MEMORY.md → User preferences, active projects - [ ] Read
~/memory/YYYY-MM-DD.md → What's done today - [ ] Skim
~/MEMORY_INDEX.md → Project status
Task End Checklist
- - [ ] Update
~/memory/YYYY-MM-DD.md → What did you complete? - [ ] Update
~/MEMORY.md → Any important decisions? - [ ] Update
~/MEMORY_INDEX.md → Any status changes?
⚠️ WHAT HAPPENS IF YOU DON'T FOLLOW
If you skip reading memory files:
- - You will appear to have "amnesia" between sessions
- You will repeat work already done
- You will miss important context and user preferences
- This skill becomes useless
If you skip writing memory files:
- - Next session (you or another AI) will lack context
- Important decisions are lost
- User loses trust in the system
✅ BEST PRACTICES
Do
- - Read memory at EVERY session start
- Write immediately after tasks
- Use clear structure (tables, lists)
- Keep it skimmable
- Record decisions WITH reasons
Don't
- - Skip memory reads (you'll seem clueless)
- Wait to write (you'll forget)
- Write essays (be concise)
- Hide important info (future AI needs it)
🔗 MULTI-AI TEAMS
If multiple AIs work on this project:
- - Share MEMORY.md — All AIs read/write same file
- Each AI can have notes —
CLAUDE.md, PAW.md, etc. - Sync via MEMORY_INDEX.md — Single source of truth
Last updated: 2026-04-01
Version: 1.1.1
记忆增强
版本: 1.1.1
作者: Crystaria(与Paw和Kyle合作)
许可协议: MIT
📖 简介
AI助手总是遗忘?每次对话后上下文丢失?
记忆增强是一个基于文本的记忆系统,可解决这些问题:
- - 🧠 长期记忆 — 跨会话保存用户偏好、项目历史记录和重要决策
- 📋 快速索引 — 项目状态一目了然
- 📔 每日日志 — 记录每次会话的进度和上下文
- 🔧 开箱即用 — 包含自动安装脚本,无需配置
适用场景:
- - 多会话协作(对话间不丢失上下文)
- 多AI团队协作(多个AI共享同一记忆)
- 长期项目跟踪(保留决策历史和用户偏好)
🚀 快速开始
1. 安装
bash
clawhub install memory-boost
2. 运行安装脚本
bash
bash /path/to/skills/memory-boost/install.sh
自动创建:
- - ~/MEMORY.md — 长期记忆
- ~/MEMORY_INDEX.md — 快速参考
- ~/memory/YYYY-MM-DD.md — 今日会话日志
3. 开始使用
直接对AI说:
- - 记住我关于XX项目说过的话?
- 继续我们昨天做的功能
- 记住这个偏好:我喜欢简洁的回答
AI将自动读写记忆文件,无需额外步骤!
📁 文件结构
workspace/
├── MEMORY.md # 长期记忆(决策、偏好、项目状态)
├── MEMORY_INDEX.md # 快速索引(项目概览、关键链接)
└── memory/
├── 2026-04-01.md # 今日会话日志
└── project-name.md # 项目特定记忆
📝 模板示例
MEMORY.md(长期记忆)
markdown
MEMORY.md - AI助手共享记忆
🎯 活跃项目
| 项目 | 状态 | 链接 | 最后更新 |
|---|
| 项目A | 🟡 进行中 | [链接]() | 2026-04-01 |
👤 用户偏好
结构化,优先使用表格 |
📚 重要决策
2026-04-01
每日日志
markdown
2026-04-01
已完成
进行中
备注
❓ 常见问题
问:记忆文件会无限增长吗?
答:会的。你可以定期清理memory/目录中的旧日志。保留MEMORY.md,因为它包含长期决策。
问:多个AI如何共享记忆?
答:所有AI读写同一个MEMORY.md文件。每个AI可以有各自的笔记(例如CLAUDE.md、PAW.md)。
问:如何迁移或删除记忆?
答:直接操作文件即可。记忆是纯文本,没有数据库依赖。
🔧 技术细节
对于AI助手:
记忆增强通过SKILL.md注入系统指令,要求AI在会话前后自动读写记忆文件。
核心指令:
- 1. 会话开始 — 读取MEMORY.md、memory/YYYY-MM-DD.md获取上下文
- 任务执行 — 参考用户偏好和项目历史
- 任务完成 — 将已完成的工作和重要决策写入记忆文件
⚠️ AI系统指令
以下部分包含AI助手的强制指令
🚨 AI助手强制指令
如果你已加载此技能,你必须遵循以下指令:
1. 会话开始时(强制)
在回复用户之前,检查这些文件是否存在并读取它们:
~/MEMORY.md # 长期记忆
~/MEMORY_INDEX.md # 快速参考(如果存在)
~/memory/YYYY-MM-DD.md # 今日会话日志
原因: 这些文件包含你需要提供帮助所需的上下文、用户偏好和活跃项目状态。
2. 任务执行期间(强制)
当用户要求你处理某事时:
- - 检查MEMORY.md 获取:用户偏好、项目历史、之前的决策
- 检查memory/YYYY-MM-DD.md 获取:今天已完成的内容
- 检查memory/project-name.md 获取:项目特定上下文
3. 任务完成后(强制)
完成任何任务后:
- 1. 更新 ~/memory/YYYY-MM-DD.md
- 记录你完成了什么
- 记录任何问题或下次会话的上下文
- 2. 更新 ~/MEMORY.md(如果重要)
- 做出的新决策
- 改变的用户偏好
- 学到的重要经验
- 3. 更新 ~/MEMORY_INDEX.md(如果项目状态改变)
- 项目完成或启动
- 新的关键链接
4. 当用户说记住这个时(强制)
- 1. 询问:我应该将此添加到MEMORY.md还是项目特定文件?
- 立即写入
- 确认:已保存到[文件]的[部分]下
📋 快速参考
会话开始检查清单
- - [ ] 读取~/MEMORY.md → 用户偏好、活跃项目
- [ ] 读取~/memory/YYYY-MM-DD.md → 今天已完成的内容
- [ ] 浏览~/MEMORY_INDEX.md → 项目状态
任务结束检查清单
- - [ ] 更新~/memory/YYYY-MM-DD.md → 你完成了什么?
- [ ] 更新~/MEMORY.md → 有任何重要决策吗?
- [ ] 更新~/MEMORY_INDEX.md → 有任何状态变化吗?
⚠️ 如果不遵循会怎样
如果你跳过读取记忆文件:
- - 你将在会话间表现出失忆
- 你会重复已完成的工作
- 你会错过重要的上下文和用户偏好
- 此技能将变得无用
如果你跳过写入记忆文件:
- - 下次会话(你或其他AI)将缺乏上下文
- 重要决策将丢失
- 用户将失去对系统的信任
✅ 最佳实践
应该做
- - 每次会话开始时读取记忆
- 任务完成后立即写入
- 使用清晰的结构(表格、列表)
- 保持可浏览性
- 记录决策及其原因
不要做
- - 跳过读取记忆(你会显得一无所知)
- 等待写入(你会忘记)
- 写长篇大论(保持简洁)
- 隐藏重要信息(未来的AI需要它)
🔗 多AI团队
如果有多个AI在此项目上工作:
- - 共享MEMORY.md — 所有AI读写同一文件
- 每个AI可以有笔记 — CLAUDE.md、PAW.md等
- 通过MEMORY_INDEX.md同步 — 单一事实来源
最后更新: 2026-04-01
版本: 1.1.1