Stop losing context. Start remembering everything.
session-notes.md captures your current work statebash
# Install
clawhub install beastxa-memory-pro
# Run setup (interactive, takes ~30 seconds)
bash scripts/install.sh
That's it. Everything else is automatic.
text
your-workspace/
├── memory/
│ ├── session-notes.md # Live session state (auto-updated)
│ ├── MEMORY-INDEX.md # Topic file directory
│ ├── YYYY-MM-DD.md # Daily logs (auto-appended)
│ └── topics/ # Organized by theme
│ ├── projects.md
│ ├── decisions.md
│ ├── lessons.md
│ └── ... # Auto-generated from your content
LayerFilePurposeUpdate FrequencySessionsession-notes.mdCurrent work stateEvery compactionDailyYYYY-MM-DD.mdRaw daily logEvery significant eventTopicstopics/*.mdLong-term organized memoryDaily cron
Before each context compaction:
session-notes.md and daily logSplit an existing MEMORY.md:
bash
python3 scripts/split_memory.py --input MEMORY.md --output memory/topics/
memory/topics/memory/MEMORY-INDEX.md with pointersVerify installation:
bash
bash scripts/verify.sh
The install script adds compaction enhancement to your OpenClaw config:
json
{
"agents": {
"defaults": {
"compaction": {
"memoryFlush": {
"enabled": true,
"prompt": "Pre-compaction memory flush. Store durable memories in memory/YYYY-MM-DD.md..."
},
"instructions": "Preserve: user decisions, file paths, errors+fixes, current task, next step..."
}
}
}
}
You can customize the compaction instructions to match your workflow.
Will it overwrite my existing MEMORY.md? Never. The split script only reads it. Your original stays intact.
Does it send data anywhere? No. Everything is local Markdown files. No APIs, no cloud, no external services.
Can I use it with other memory skills? Yes. It only creates files and cron jobs — no core modifications.
What if I don't like the topic categories? Edit them freely. They're just Markdown files. The cron will respect your structure.