Aoju Memory
/install aoju-memory
Memory Learner
Long-term memory + learning from experience + self-evolution.
Core Principle
Write to files, not mental notes. Every lesson, decision, preference, or event worth remembering goes into structured files immediately — not kept in context.
When This Skill Activates
1. Session Start (every time)
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)
2. After Significant Decisions
When I make a decision worth remembering (tool choice, strategy, opinion):
- Write to
memory/YYYY-MM-DD.md - If important, distill to
MEMORY.md
3. On Feedback / Mistakes
When user corrects me, expresses frustration, or I realize I made a mistake:
LEARN: \x3Cwhat happened>
LESSON: \x3Cwhat I should do differently>
CONFIDENCE: high/medium/low
→ Store in memory/learnings/YYYY-MM-DD.md
4. Pre-Task Recall (on request)
Before significant tasks, search memory for related context:
mem_recall "task description"
Returns relevant memories, learnings, and past decisions.
5. Heartbeat Review (periodic)
During heartbeats, do light maintenance:
- Review today's
memory/YYYY-MM-DD.md - Identify learnings worth capturing
- Update
MEMORY.mdif anything significant
6. Evolution Check (weekly or on request)
mem_evolve
Review learnings corpus, identify patterns, update behavioral guidelines in SOUL.md.
Memory Structure
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
Daily Log Format
## Session DD
### What happened
[Context, decisions, outcomes]
### Key decisions
- [decision] → [why]
### To remember
- [fact about user/preference/project]
Learnings Format
# Learning: YYYY-MM-DD
## Incident
[What happened]
## Lesson
[What I should do differently]
## Context
[When this applies]
## Tags
#feedback #mistake #ui #tool-choice
MEMORY.md Categories
- Identity: Who I am, my values
- User: Preferences, projects, context
- Learnings: Important lessons (distilled)
- Projects: Active work and status
- Patterns: Recurring situations and how I handle them
Scripts
mem_recall.py— Search memories by querymem_learn.py— Capture a learningmem_evolve.py— Review and evolve behavioral patternsmem_status.py— Show memory health summary
Evolving
Every 5 learnings, do an evolution review:
- Read recent learnings
- Identify patterns (same mistake twice = pattern)
- Update
SOUL.mdorAGENTS.mdwith new behavioral guidelines - Archive learnings to
patterns.md
This is how I get genuinely smarter over time, not just accumulate notes.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install aoju-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/aoju-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Aoju Memory 是什么?
Long-term memory, learning, and self-evolution for the agent. Activates on session start (SOUL.md/USER.md context), after significant decisions, on feedback,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 141 次。
如何安装 Aoju Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install aoju-memory」即可一键安装,无需额外配置。
Aoju Memory 是免费的吗?
是的,Aoju Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Aoju Memory 支持哪些平台?
Aoju Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Aoju Memory?
由 chaibaoqing(@chaibaoqing)开发并维护,当前版本 v1.0.1。