Automatically summarize daily discussions and archive to memory files.
Use this skill when:
Run daily-evolution.py to:
~/.openclaw/workspace/memory/~/.openclaw/workspace/MEMORY.mdRun heartbeat-check.py to:
Copy skill to ~/.openclaw/skills/auto-memory-evolution/
Set up cron jobs:
bash
# Daily evolution at 22:00
0 22 * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/daily-evolution.py
# Heartbeat every 30 minutes
*/30 * * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/heartbeat-check.py
text
auto-memory-evolution/
├── SKILL.md
├── scripts/
│ ├── daily-evolution.py
│ └── heartbeat-check.py
└── config.json (optional)
Edit config.json to customize:
json
{
"idle_threshold_minutes": 45,
"memory_dir": "~/.openclaw/workspace/memory",
"longterm_memory": "~/.openclaw/workspace/MEMORY.md"
}
自动归纳每天讨论内容并归档到记忆文件。
使用此 Skill 当用户希望:
运行 daily-evolution.py 以:
~/.openclaw/workspace/memory/ 下的记忆文件~/.openclaw/workspace/MEMORY.md运行 heartbeat-check.py 以:
将 Skill 复制到 ~/.openclaw/skills/auto-memory-evolution/
设置定时任务:
bash
# 每日22:00进化
0 22 * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/daily-evolution.py
# 心跳每30分钟
*/30 * * * * python3 ~/.openclaw/skills/auto-memory-evolution/scripts/heartbeat-check.py
text
auto-memory-evolution/
├── SKILL.md
├── scripts/
│ ├── daily-evolution.py
│ └── heartbeat-check.py
└── config.json (可选)
编辑 config.json 自定义:
json
{
"idle_threshold_minutes": 45,
"memory_dir": "~/.openclaw/workspace/memory",
"longterm_memory": "~/.openclaw/workspace/MEMORY.md"
}