返回顶部
a

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, and during periodic heartbeat reviews. Maintains MEMORY.md, daily logs, learnings corpus, and behavioral patterns.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
87
下载量
0
收藏
概述
安装方式
版本历史

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 am - `USER.md` — who I'm helping - `MEMORY.md` — curated long-term memory - `memory/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: <what happened> LESSON: <what 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.md` if 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 ```markdown ## Session DD ### What happened [Context, decisions, outcomes] ### Key decisions - [decision] → [why] ### To remember - [fact about user/preference/project] ``` ### Learnings Format ```markdown # 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 query - `mem_learn.py` — Capture a learning - `mem_evolve.py` — Review and evolve behavioral patterns - `mem_status.py` — Show memory health summary --- ## Evolving Every 5 learnings, do an **evolution review**: 1. Read recent learnings 2. Identify patterns (same mistake twice = pattern) 3. Update `SOUL.md` or `AGENTS.md` with new behavioral guidelines 4. Archive learnings to `patterns.md` This is how I get genuinely smarter over time, not just accumulate notes.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aoju-memory-1775993413 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aoju-memory-1775993413 技能

通过命令行安装

skillhub install aoju-memory-1775993413

下载 Zip 包

⬇ 下载 aoju-memory v1.0.1

文件大小: 14.97 KB | 发布时间: 2026-4-13 09:21

v1.0.1 最新 2026-4-13 09:21
aoju-memory 1.0.1

- Added new script: `mem_report.py` for memory reporting functionality.
- Removed unused npm files: `package.json` and `package-lock.json`.
- Updated documentation and metadata to reflect the latest structure and script changes.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部