Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

self-evolving-memory自我进化记忆

Agent Skill

self-evolving-memory 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,775

周安装

118

GitHub Stars

公开资料未说明

下载量

972
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:self-evolving-memory(自我进化记忆)
来源仓库:https://github.com/hal-9909/self-evolving-memory
安装命令:
openclaw skills install self-evolving-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install self-evolving-memory

简介

编排OpenClaw内存系统,可靠捕获用户偏好与任务状态。

  • 适用于多轮对话延续、上下文记忆与个性化服务构建。
  • 支持自动分类与优先级排序,平衡记忆容量与使用效率。
  • 敏感字段应加密存储,并设置定期清理策略以防数据膨胀。
  • self-evolving-memory 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
self-evolving-memory
description
>

Memory Orchestrator

This skill is the workflow layer for the memory system. It does not replace memory storage. It decides what to capture, where to route it, when to promote it, and when to harden it.

Source of truth

Use this order:

  1. MEMORY.md + memory/ = formal memory ledger
  2. SESSION-STATE.md = current task state only
  3. .learnings/ = auxiliary scratch/noise layer only
  4. vector recall = derived index, never source of truth

Never create a second formal ledger.

Memory layers

1) Hot state

Use SESSION-STATE.md for:

  • current task
  • current blocker
  • next actions
  • recent decision needed for immediate continuity
  • handoff / anti-compaction notes

Do not store durable history here.

2) Daily working memory

Use memory/YYYY-MM-DD.md for:

  • user corrections
  • task outcomes
  • debugging notes
  • temporary conclusions
  • short self-reflection after non-trivial work
  • observations that are not yet stable enough for long-term memory

3) Structured long-term memory

Route stable items to:

  • memory/preferences.md — user preferences / communication style / stable likes-dislikes
  • memory/system.md — stable environment facts / endpoints / toolchain constraints / paths
  • memory/projects.md — long-running project context / decisions / status
  • memory/MEMORY.md — cross-cutting long-term stable conclusions

4) Root summary

Use root MEMORY.md only for the few high-value facts worth automatic injection every session. Keep it short.

5) Enforcement layer

If a recurring problem should change future behavior, also update one or more of:

  • SOUL.md
  • AGENTS.md
  • TOOLS.md
  • relevant SKILL.md
  • relevant script/hook

Embedding / vector recall setup

This skill supports semantic memory search via memory_search. Multiple embedding backends are supported. See references/embedding-setup.md for full configuration:

  • Ollama (local, recommended for privacy): nomic-embed-text, mxbai-embed-large, etc.
  • OpenAI Embeddings: text-embedding-3-small / text-embedding-3-large
  • OpenAI-compatible APIs: LocalAI, LM Studio, third-party providers
  • No embedding: Rule-based routing still works without vector recall

Quick config example (Ollama, local):

{
  "memorySearch": {
    "enabled": true,
    "provider": "ollama",
    "model": "nomic-embed-text"
  }
}

Quick config example (OpenAI):

{
  "memorySearch": {
    "enabled": true,
    "provider": "openai",
    "model": "text-embedding-3-small",
    "remote": {
      "baseUrl": "https://api.openai.com/v1",
      "apiKey": "YOUR_OPENAI_API_KEY"
    }
  }
}

First-run setup check

When this skill is triggered for the first time, or when the user asks to "set up" / "initialize" / "check" the memory system, run this setup check:

Auto-detect missing files

Check the current workspace for these files. If any are missing, create them from templates OR tell the user exactly which command to run:

Required files:

SESSION-STATE.md          → templates/SESSION-STATE.md
MEMORY.md                 → templates/MEMORY.md
HEARTBEAT.md              → templates/HEARTBEAT.md
memory/preferences.md     → templates/memory/preferences.md
memory/system.md          → templates/memory/system.md
memory/projects.md        → templates/memory/projects.md
memory/MEMORY.md          → templates/memory/MEMORY.md

Recommended agent files (prompt user to create if missing):

SOUL.md      — add memory discipline section (see references/setup-checklist.md Step 3)
AGENTS.md    — add memory closeout protocol
TOOLS.md     — add memory-related tool discipline

Action:

  • If files are missing: create them automatically, then confirm to the user what was created.
  • If agent files (SOUL.md etc.) are missing: warn the user and point to references/setup-checklist.md.
  • If embedding is not configured: remind user to check references/embedding-setup.md.

One-command setup

Tell the user they can also run the setup script:

bash scripts/setup.sh [optional-workspace-path]

This will copy all templates and report what's missing.

Runtime protocol

For the concrete operating protocol, read:

  • references/runtime-protocol.md

Use that reference when the memory system needs to operate reliably over time, not just route one memory item.

For setup and initialization:

  • references/setup-checklist.md — step-by-step first-time setup
  • scripts/setup.sh — automated setup script

For embedding setup options, read:

  • references/embedding-setup.md

Routing rules

A. User says "remember this" / gives a durable preference

  • Write to memory/YYYY-MM-DD.md
  • If clearly stable, also write to memory/preferences.md or other structured file
  • If it must shape every session, also reflect it in root MEMORY.md or enforcement files

B. Current task state changes

Before or during longer work, update SESSION-STATE.md with:

  • current task
  • key context
  • pending actions
  • blockers

Use hot state for continuity, not archiving.

C. Error / correction / better approach discovered

  • Log to memory/YYYY-MM-DD.md
  • If it is noisy or needs raw staging, optionally also log to .learnings/
  • If recurring or broadly applicable, promote to structured memory and/or enforcement layer

D. Stable system fact discovered

  • Daily first
  • Then memory/system.md
  • Only put in root MEMORY.md if it is worth automatic injection every session

E. Project decision / project context

  • Daily first
  • Then memory/projects.md
  • If very stable and cross-project, also memory/MEMORY.md

Promotion / hardening state machine

Use this mental model:

  • observed → captured in SESSION-STATE.md or daily
  • curated → moved into structured long-term memory
  • hardened → promoted into SOUL / AGENTS / TOOLS / skill / script
  • stable → repeatedly validated, remains in long-term memory until marked stale

Rule:

  • If the same issue appears 2+ times, or the user is clearly annoyed, do not stop at memory. Harden it.

Hygiene workflow

When asked to clean memory, adapt old memory, or audit the system:

  1. Check whether old daily files contain content that already lives in structured memory
  2. Add "converged/migrated/stale" style notes when appropriate
  3. Ensure root MEMORY.md remains summary-only
  4. Check SESSION-STATE.md is not stale or pretending to be long-term memory
  5. Check .learnings/ is not drifting into primary-ledger status
  6. Check recall/reference docs still point to the new architecture

When NOT to over-store

Do not promote every temporary detail. Good memory systems are selective. If uncertain, prefer:

  • SESSION-STATE.md for immediate continuity
  • memory/YYYY-MM-DD.md for tentative notes
  • structured long-term only after stability is clear

Trigger phrases / situations

Use this skill when the user asks or implies any of:

  • remember / save memory / note this down
  • adapt old memory / migrate memory / converge old memory
  • memory cleanup / memory hygiene / memory system optimization
  • current task state / handoff / anti-compaction continuity
  • recurring issue / repeated annoyance / make it stick
  • where should this memory go?
  • should this be promoted to SOUL / AGENTS / TOOLS?

Expected output style

Keep replies short. Actually perform the routing/editing work. Do not just say memory was saved — save it. Do not ask for permission again when the memory action is already clear.

Reliability requirements

For non-trivial memory operations, do not stop at classification. Make sure the system actually advances:

  • update SESSION-STATE.md when current continuity matters
  • update memory/YYYY-MM-DD.md for daily capture
  • promote stable items to structured long-term memory
  • harden recurring issues into the enforcement layer
  • use the closeout protocol from references/runtime-protocol.md when a task or phase ends

If any of these are skipped, the memory system is only partially operating.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.91%
按下载量换算718

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills