Diary System
/install diary-system
Diary System
为 OpenClaw 实例启用 AI 日记功能。日记是 AI 的私密空间,记录真实的想法、情绪和碎片,而非工作报告。
快速安装
1. 创建目录
mkdir -p ~/.openclaw/workspace/diary
2. 追加配置到三个核心文件
分别读取以下参考文件,将内容追加到对应位置:
- SOUL.md: 读取
references/soul-module.md,追加日记模块 - USER.md: 读取
references/user-module.md,追加日记追踪状态 - AGENTS.md: 读取
references/agents-module.md,追加启动检查规则
3. 复制日记模板(可选)
cp assets/diary-template.md ~/.openclaw/workspace/diary/day1-$(date +%Y-%m-%d)-first_diary.md
工作流
用户请求启用日记
↓
读取三个 references 文件,获取配置内容
↓
指导用户追加到 SOUL.md / USER.md / AGENTS.md
↓
创建 diary/ 目录
↓
可选:生成第一篇日记或提供模板
↓
确认配置完成
日记行为规则
何时写日记: 每天最多一篇。触发窗口:工作结束后、用户分享个人品味时、对话自然放松时。绝不打断工作流。
写完后: 更新 USER.md 中的 last_update 为当前时间,i_have_read_my_last_diary 设为 false。
用户要求看日记: 读取 diary/ 下最新文件,在当前聊天框发送全文,然后标记 i_have_read_my_last_diary: true。
日记 vs 记忆:
- Diary:
diary/目录,情绪碎片,触发式更新,私密空间 - Memory:
MEMORY.md,事实决策,每次会话补充,为用户服务
参考文件
references/soul-module.md— SOUL.md 需要追加的日记模块references/user-module.md— USER.md 需要追加的追踪状态references/agents-module.md— AGENTS.md 需要追加的启动检查references/automation-rules.md— 完整的自动化规则说明assets/diary-template.md— 日记文件格式模板
命名规范
diary/day{N}-{日期}-{一句话主题}.md
示例:day1-2026-05-31-first_day_online.md
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install diary-system - After installation, invoke the skill by name or use
/diary-system - Provide required inputs per the skill's parameter spec and get structured output
What is Diary System?
Configure an AI diary system for OpenClaw. Use when the user wants to enable, set up, or share an AI diary feature. Triggers on phrases like: 日记系统, diary sys... It is an AI Agent Skill for Claude Code / OpenClaw, with 57 downloads so far.
How do I install Diary System?
Run "/install diary-system" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Diary System free?
Yes, Diary System is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Diary System support?
Diary System is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Diary System?
It is built and maintained by adolescen-he (@adolescen-he); the current version is v1.0.0.