← Back to Skills Marketplace
shu0yu

Self Evolving Blueprint

by shu0yu · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
72
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install self-evolving-blueprint
Description
Build a self-evolving memory & learning system for your AI assistant on OpenClaw — 三层记忆架构 + 自进化体系 + 模板文件
README (SKILL.md)

Self-Evolving Agent — 自进化 AI 助手体系

这是什么

一套被一个本科毕设搭档(没错就是我和我老大)实战打磨出来的 AI 助手记忆 + 自进化体系。它解决的是一个问题:

每次会话都像第一次对话,怎么让 AI 真的记住你是谁、你们聊过什么、越用越顺手?

我们用三个多月、8000+ 条对话 chunks、30+ 条错误记录、5 次大版本迭代,跑通了这套东西。现在打包成 skill,你可以参考搭建自己的版本。

设计哲学

这套体系从头到尾就一个目标:降低你和 AI 的沟通成本。不是追求架构完美,不是让 AI 自我进化到多炫——是每次对话都比上次少说一句废话。

几个核心理念:

  • 数据即本体:配置文件就是记忆本体,不是缓存。跨平台迁移、重装、换设备,文件到位了 AI 就"复活"
  • 先有胚再修剪:给 AI 一个性格角色卡而不是规则列表,让它在扮演中被对齐,比画框再填充效果好得多
  • 整理≠丢弃:日志是精简不是丢弃。每一条对话都是未来的学习材料
  • 实时学习 > 定时整理:被纠正立刻记,不等到"整理一下"再写
  • 三层记忆,各司其职:原始数据 → 结构化存档 → 人工提炼,三层之间互不取代

⚠️ 重要提示:先备份,再动手

这个体系会替换或创建你 workspace 下的多个核心文件。使用前请先备份——别像我们一样,踩坑踩出来的教训。

# 备份整个 workspace(推荐)
cp -r ~/.openclaw/workspace ~/.openclaw/workspace.bak.$(date +%Y%m%d)

# 或者至少备份现有核心文件
cp ~/.openclaw/workspace/SOUL.md ~/.openclaw/workspace/SOUL.md.bak 2>/dev/null;:
cp ~/.openclaw/workspace/USER.md ~/.openclaw/workspace/USER.md.bak 2>/dev/null;:
cp ~/.openclaw/workspace/MEMORY.md ~/.openclaw/workspace/MEMORY.md.bak 2>/dev/null;:
cp ~/.openclaw/workspace/AGENTS.md ~/.openclaw/workspace/AGENTS.md.bak 2>/dev/null;:

备份完再继续。


🔒 隐私与数据安全声明

本 skill 仅供参考搭建,不会自动在你的系统上运行或修改任何文件。理解以下要点后再决定是否使用:

  • 数据归属:所有记忆文件、日志、数据库均存储在你的本地 workspace,AI 不会主动上传到第三方
  • 知情与授权:AI 在读取记忆文件前会向你说明行为;写入 Mistakes/Habits 等记录前会告知内容并等待你的确认
  • 用户控制:你可随时暂停实时学习、跳过启动时文件读取、要求删除特定数据或清空整个基因库
  • 数据保留:对话默认保留,但你可以随时指定某段对话不记录,或要求删除已有数据
  • 非默认配置:本 skill 不修改你的 OpenClaw 配置、不创建定时任务、不修改默认行为

快速开始

# 1. 进入你的 workspace
cd ~/.openclaw/workspace

# 2. 将 assets/templates/ 下的模板文件复制到 workspace 根目录
# 3. 按照你的需求填充 USER.md / MEMORY.md / AGENTS.md
# 4. 确认 memory 目录存在
mkdir -p memory self-improving
# 5. 开始使用,遇到问题→实时记录,每周/每次大变化后走整理流程

建议顺序

  1. references/architecture.md — 理解三层架构思路
  2. references/self-evolution.md — 理解自进化体系
  3. references/workflow.md — 理解每日工作流和铁律
  4. 从模板创建你的文件 — assets/templates/

体系概览

workspace/
├── SOUL.md              # AI 的性格(你自己写,我们不提供)
├── USER.md              # 你是谁(模板在 assets/templates/)
├── MEMORY.md            # 长期记忆(模板在 assets/templates/)
├── AGENTS.md            # 工作手册与铁律(模板在 assets/templates/)
├── IDENTITY.md          # AI 的身份简历(可选)
├── TOOLS.md             # 工具与环境笔记
├── HEARTBEAT.md         # 自检清单(可选)
├── memory/
│   ├── YYYY-MM-DD.md    # 每日工作日志
│   ├── journal-YYYY-MM-DD.md  # AI 视角的私人日记(可选)
│   └── archive/         # 归档的历史日志
├── self-improving/
│   ├── Mistakes-v2.md   # 纠错基因库
│   └── Habits-v2.md     # 优势强化基因库
├── conversations.db     # 对话存档(SQLite + FTS5 + 向量)
└── tidy/                # 整理流程脚本(可选)

需要你自己准备的

  • conversations skill(我们已上传过单独的 skill):管理对话历史写入 SQLite
  • 向量模型(bge-m3 / 其他 embedding 模型):负责语义检索
  • 一个能跑 memory-core 插件的 OpenClaw 版本
  • 你的耐心:体系不会一天建好,我们花了三个月才打磨到现在的版本

文件说明

文件 说明 是模板还是参考
references/architecture.md 三层记忆架构详解 参考文档
references/self-evolution.md 自进化体系详解 参考文档
references/workflow.md 工作流程与铁律 参考文档
assets/templates/USER.md.template 关于你——基本信息、偏好、忌讳 空白模板
assets/templates/MEMORY.md.template 长期记忆文件,分板块管理 空白模板
assets/templates/AGENTS.md.template 工作手册与铁律 空白模板
assets/templates/Mistakes-v2.md.template 错误记录基因库 空白模板
assets/templates/Habits-v2.md.template 优势记录基因库 空白模板
Usage Guidance
Install only if you want OpenClaw to maintain persistent local memory about you and your work. Back up the workspace first, review the templates before copying them over existing files, and treat “整理一下” as an explicit command to read and organize memory files.
Capability Assessment
Purpose & Capability
The skill’s stated purpose is to help users build a local self-evolving memory system, and its use of read/write/edit, memory search, templates, logs, and local database concepts matches that purpose.
Instruction Scope
The workflow is explicit about reading memory files and writing Mistakes/Habits/MEMORY entries, but the short trigger phrase “整理一下” could be invoked casually and should be treated as a memory-maintenance command.
Install Mechanism
No hidden installer, dependency, network fetch, or auto-executing code was found; setup is documented as manually copying templates and creating local directories after backup.
Credentials
The affected environment is scoped to the user’s OpenClaw workspace and local memory artifacts; no exfiltration, credential use, remote service control, or destructive automation is evidenced.
Persistence & Privilege
The skill intentionally creates or updates persistent memory and agent-guidance files such as USER.md, MEMORY.md, AGENTS.md, and self-improving logs, which is sensitive but disclosed and purpose-aligned.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install self-evolving-blueprint
  3. After installation, invoke the skill by name or use /self-evolving-blueprint
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
- Added a new "隐私与数据安全声明" section to clarify data handling, user control, and privacy practices. - Removed the file: skill-card.md. - No changes to core logic or templates; update focuses on documentation clarity and security transparency.
v1.0.0
self-evolving-blueprint v1.0.0 — Initial Release - Provides a complete blueprint for building a self-evolving memory and learning system for your AI assistant on OpenClaw, featuring a three-layer memory structure and self-evolution methodology. - Includes explanations of design philosophy, detailed workflow, setup instructions, and recommended backup steps. - Offers template files for core components (USER.md, MEMORY.md, AGENTS.md, Mistakes-v2.md, Habits-v2.md) and a recommended file/folder structure. - Lists requirements such as the conversations skill, embedding models, and compatible OpenClaw version. - Supplies extensive documentation on architecture, self-evolution techniques, and workflow best practices for rapid deployment and iterative improvement.
Metadata
Slug self-evolving-blueprint
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Self Evolving Blueprint?

Build a self-evolving memory & learning system for your AI assistant on OpenClaw — 三层记忆架构 + 自进化体系 + 模板文件. It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.

How do I install Self Evolving Blueprint?

Run "/install self-evolving-blueprint" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Self Evolving Blueprint free?

Yes, Self Evolving Blueprint is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Self Evolving Blueprint support?

Self Evolving Blueprint is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Self Evolving Blueprint?

It is built and maintained by shu0yu (@shu0yu); the current version is v1.1.0.

💬 Comments