Install
openclaw skills install @chaibaoqing/aoju-memoryLong-term memory, learning, and self-evolution for the agent. Activates on session start (SOUL.md/USER.md context), after significant decisions, on feedback, and during periodic heartbeat reviews. Maintains MEMORY.md, daily logs, learnings corpus, and behavioral patterns.
openclaw skills install @chaibaoqing/aoju-memoryLong-term memory + learning from experience + self-evolution.
Write to files, not mental notes. Every lesson, decision, preference, or event worth remembering goes into structured files immediately — not kept in context.
Read these files before anything else:
SOUL.md — who I amUSER.md — who I'm helpingMEMORY.md — curated long-term memorymemory/YYYY-MM-DD.md — recent context (today + yesterday)When I make a decision worth remembering (tool choice, strategy, opinion):
memory/YYYY-MM-DD.mdMEMORY.mdWhen user corrects me, expresses frustration, or I realize I made a mistake:
LEARN: <what happened>
LESSON: <what I should do differently>
CONFIDENCE: high/medium/low
→ Store in memory/learnings/YYYY-MM-DD.md
Before significant tasks, search memory for related context:
mem_recall "task description"
Returns relevant memories, learnings, and past decisions.
During heartbeats, do light maintenance:
memory/YYYY-MM-DD.mdMEMORY.md if anything significantmem_evolve
Review learnings corpus, identify patterns, update behavioral guidelines in SOUL.md.
memory/
YYYY-MM-DD.md # Daily raw log
learnings/
YYYY-MM-DD.md # Daily lessons learned
patterns.md # Repeated mistake patterns
MEMORY.md # Curated long-term memory
## Session DD
### What happened
[Context, decisions, outcomes]
### Key decisions
- [decision] → [why]
### To remember
- [fact about user/preference/project]
# Learning: YYYY-MM-DD
## Incident
[What happened]
## Lesson
[What I should do differently]
## Context
[When this applies]
## Tags
#feedback #mistake #ui #tool-choice
mem_recall.py — Search memories by querymem_learn.py — Capture a learningmem_evolve.py — Review and evolve behavioral patternsmem_status.py — Show memory health summaryEvery 5 learnings, do an evolution review:
SOUL.md or AGENTS.md with new behavioral guidelinespatterns.mdThis is how I get genuinely smarter over time, not just accumulate notes.