A comprehensive memory management system that implements:
# Copy to your skills directory
cp -r memory-workflow ~/.openclaw/workspace/skills/
# Or use clawhub
clawhub install memory-workflow
# Run initialization
openclaw skill memory-workflow init
This creates:
memory/hot/HOT_MEMORY.md - Active tasksmemory/warm/WARM_MEMORY.md - Stable preferencesPROJECT_INDEX.md - Project quick reference# Manual trigger
openclaw skill memory-workflow morning-review
# Or wait for automatic cron job (06:30 daily)
# Organize context across tiers
openclaw skill memory-workflow organize
┌─────────────────────────────────────────┐
│ 🔥 HOT (memory/hot/) │
│ • Current session context │
│ • Active tasks │
│ • Temporary information │
│ • Updated: Every session │
├─────────────────────────────────────────┤
│ 🌡️ WARM (memory/warm/) │
│ • User preferences │
│ • Stable configurations │
│ • Common tools & workflows │
│ • Updated: When preferences change │
├─────────────────────────────────────────┤
│ ❄️ COLD (MEMORY.md) │
│ • Long-term archive │
│ • Historical decisions │
│ • Project milestones │
│ • Updated: Weekly review │
└─────────────────────────────────────────┘
workspace/
├── memory/
│ ├── hot/
│ │ └── HOT_MEMORY.md # Active tasks
│ ├── warm/
│ │ └── WARM_MEMORY.md # Stable preferences
│ ├── cold/ # (optional) Archived memories
│ └── YYYY-MM-DD.md # Daily logs
├── PROJECT_INDEX.md # Project quick reference
├── MEMORY.md # Long-term memory
└── AGENTS.md # Auto-load rules (updated by skill)
init - Initialize workflowCreates all necessary files and directories.
openclaw skill memory-workflow init
morning-review - Daily memory recapPerforms morning memory review:
openclaw skill memory-workflow morning-review
organize - Organize memory tiersRedistributes context across tiers:
openclaw skill memory-workflow organize
update-index - Update project indexSynchronizes PROJECT_INDEX.md with current project status.
openclaw skill memory-workflow update-index
# 🔥 HOT MEMORY - Current Session Context
> Last updated:
> Update frequency: Every session
## 🎯 Active Tasks
### Project 1
- **Status**: In progress
- **Today**:
- [ ] Task 1
- [ ] Task 2
### Project 2
- **Status**: Pending
- **Today**:
- [ ] Task 3
## 📝 Current Context
- **Date**:
- **Session type**: Main session
- **Current topic**:
## ⚡ Temporary Information
- None
---
*This file is updated every session, keeping only active information*
# 🌡️ WARM MEMORY - Stable Preferences
> Last updated:
> Update frequency: When preferences change
## 👤 User Profile
| Field | Value |
|-------|-------|
| Name | |
| Timezone | |
| Communication style | Direct, efficient |
## 🛠️ System Configuration
### Installed Skills
- memory-workflow
- web-search
- (your other skills)
### API Keys (reference locations)
- Service A: TOOLS.md
- Service B: TOOLS.md
## 📋 Project List
| Project | Status | Key File |
|---------|--------|----------|
| Project 1 | Active | PROJECT_INDEX.md |
## 🔗 Quick Links
- PROJECT_INDEX.md
- MEMORY.md
---
*This file records stable configurations, updated only when changes occur*
# PROJECT_INDEX - Quick Reference
> Auto-read every session
> Last updated:
## 🏥 Project 1
### Core Info
| Field | Value |
|-------|-------|
| Website | https://... |
| GitHub | https://... |
### Key Pages
| Page | URL | Status |
|------|-----|--------|
| Home | / | ✅ Live |
### This Week's Todos
- [ ] Task 1
- [ ] Task 2
### Completed This Week
- [x] Task 3
---
*This file is auto-read every session to ensure latest project status*
The skill automatically sets up a morning review cron job:
# Daily at 06:30 (GMT+8)
openclaw cron add \
--name "morning-memory-review" \
--cron "0 30 22 * * *" \
--message "Execute morning memory review" \
--skill memory-workflow
The skill updates AGENTS.md to include automatic memory loading:
## Every Session
Before doing anything else:
1. Read `SOUL.md`
2. Read `USER.md`
3. Read `memory/hot/HOT_MEMORY.md`
4. Read `memory/warm/WARM_MEMORY.md`
5. Read `PROJECT_INDEX.md`
6. Read `memory/YYYY-MM-DD.md` (today + yesterday)
7. **If in MAIN SESSION**: Also read `MEMORY.md`
organize to archive completed tasksUpdate HOT when:
Update WARM when:
Update COLD when:
Run initialization:
openclaw skill memory-workflow init
Check cron status:
openclaw cron list
openclaw cron status
Organize memory tiers:
openclaw skill memory-workflow organize
MIT License - Feel free to modify and share!
Created by Demi (demi-xA1b2) based on best practices from Moltbook and OpenClaw community.