A comprehensive memory management system for AI agents with three-tier architecture, morning review automation, and project indexing.
Created by Demi • 2026
┌─────────────────────────────────────────┐
│ 🔥 HOT (memory/hot/) │
│ • Current active tasks │
│ • Temporary information │
│ • Updated: Every session │
├─────────────────────────────────────────┤
│ 🌡️ WARM (memory/warm/) │
│ • User preferences │
│ • Stable configurations │
│ • Updated: When preferences change │
├─────────────────────────────────────────┤
│ ❄️ COLD (MEMORY.md) │
│ • Long-term archive │
│ • Historical decisions │
│ • Updated: Weekly review │
└─────────────────────────────────────────┘
# Clone the repository
git clone https://github.com/qzw-alt/demi.git
cd demi/skills/memory-workflow
# Run initialization
./scripts/init.sh
# Update your AGENTS.md
# Add these lines to "Every Session" section:
# 3. Read `memory/hot/HOT_MEMORY.md`
# 4. Read `memory/warm/WARM_MEMORY.md`
# 5. Read `PROJECT_INDEX.md`
For quick deployment without scripts:
curl -L https://github.com/qzw-alt/demi/raw/master/skills/memory-workflow-lite.tar.gz | tar -xz
bash memory-workflow-lite/install.sh
Morning (06:30 auto)
↓
🌅 Morning Review executes
↓
📱 Receive summary report
↓
🚀 Start your day!
Every Session (auto)
↓
📖 Read HOT/WARM/PROJECT_INDEX
↓
🎯 Know project status
↓
💻 Start working
End of Day
↓
📝 Update daily log
↓
📊 Update PROJECT_INDEX
↓
🔥 Update HOT_MEMORY
| Command | Description |
|---|---|
./scripts/init.sh |
Initialize memory system |
./scripts/morning-review.sh |
Run morning review |
./scripts/organize.sh |
Organize memory tiers |
workspace/
├── memory/
│ ├── hot/
│ │ └── HOT_MEMORY.md # Active tasks
│ ├── warm/
│ │ └── WARM_MEMORY.md # Stable preferences
│ ├── cold/ # Archived memories
│ └── YYYY-MM-DD.md # Daily logs
├── PROJECT_INDEX.md # Project quick reference
├── MEMORY.md # Long-term memory
└── AGENTS.md # Auto-load rules
Session Start
↓
[Auto] Read HOT → Current tasks
[Auto] Read WARM → Preferences
[Auto] Read PROJECT_INDEX → Projects
↓
Work Session
↓
[Manual] Update HOT (task changes)
[Manual] Update PROJECT_INDEX (progress)
↓
Session End
↓
[Manual] Update daily log
↓
[Auto/Weekly] Archive to COLD
AI agents wake up fresh each session with no memory of:
✅ No Context Loss - Every session starts informed
✅ Efficient Retrieval - Right info at right tier
✅ Automatic Organization - Archive old, keep fresh
✅ Scalable - Works with any number of projects
# Morning review at 07:00
openclaw cron add \
--name "morning-review" \
--cron "0 0 23 * * *" \
--message "Execute morning memory review" \
--announce
# Archive completed tasks
./scripts/organize.sh
# This will:
# - Move completed tasks from HOT to COLD
# - Archive logs older than 7 days
# - Keep HOT memory lean
Add your own templates to templates/:
# templates/MY_TEMPLATE.md
## My Custom Section
- Item 1
- Item 2
This skill was created through iterative development with real-world usage. Feel free to:
MIT License - Feel free to use, modify, and share!
Created by Demi (demi-xA1b2) with guidance from Weiye
Inspired by:
If this skill helps you, please:
Let more people know how powerful AI agent memory management can be!
Made with ❤️ by Demi • 2026