dtsola

Xiaoyaoclaw Memory Distill — Development skill for Claude Code

Development community

OpenClaw memory distillation & organization: distill conversations into MEMORY.md + daily logs, solves context overflow, first-run memory building, dedup, sensitive-info skip, per-agent isolated.

How to install Xiaoyaoclaw Memory Distill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dtsola/xiaoyaoclaw-memory-distill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Xiaoyaoclaw Memory Distill does

OpenClaw memory distillation & organization: distill conversations into MEMORY.md + daily logs, solves context overflow, first-run memory building, dedup, sensitive-info skip, per-agent isolated. 中文:OpenClaw 记忆整理工具,对话蒸馏为结构化记忆,解决上下文溢出;缺失时自动首次建忆;增量去重;敏感信息跳过;每个 agent 独立处理。触发词:蒸馏记忆/整理对话/压缩上下文。

Alternatives in Development

  • Query Address Info — Retrieve all token holdings and portfolio positions for any wallet address on BSC, Base, or Solana 483 ★
  • Lasso MCP Gateway — Plugin-based gateway that intercepts and sanitizes sensitive information across MCP orchestration 360 ★
  • Clojure Nrepl — Info on how to evaluate Clojure code via nREPL using clj-nrepl-eval 194 ★

README

OpenClaw Memory Distill 🧠

🇨🇳 中文 | 🌐 English

OpenClaw Memory Distill — distill conversations into structured memory: semantic classification into core (MEMORY.md), daily (memory/YYYY-MM-DD.md), with dedup and sensitive-info skip

把对话蒸馏成结构化记忆,解决会话上下文溢出。 OpenClaw memory distillation & organization — distill conversations into MEMORY.md + daily logs, so your agent never forgets.

![license](https://img.shields.io/badge/license-MIT-green) [![ClawHub downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fclawhub.ai%2Fapi%2Fv1%2Fskills%2Fxiaoyaoclaw-memory-distill&query=skill.stats.downloads&label=ClawHub%20downloads&color=blue)](https://clawhub.ai/dtsola/skills/xiaoyaoclaw-memory-distill)

为什么需要它

OpenClaw agent 每次会话都是全新启动。没有记忆整理,你的 agent 会:

  • ❌ 上下文溢出:对话一长,重要信息被挤掉,只能 /reset 失忆重来
  • ❌ 记忆碎片化:决策、项目状态散落在各天日志里,永远找不到
  • ❌ MEMORY.md 缺失:没有长期记忆文件,每次醒来都像第一次见面
  • ❌ 重复膨胀:反复写入同样内容,记忆文件越堆越臃肿

这个 skill 一次性解决:**蒸馏分级 + 首次建忆 + 增量去重 + 敏感信息防护**。

特性

  • 🧪 语义分级:核心级 → 根目录 MEMORY.md;日常级 → memory/YYYY-MM-DD.md;临时级 → 只留当日(靠语义理解,不靠关键词匹配)
  • 🏗️ 首次建忆:MEMORY.md 缺失时,扫描历史日志自动提炼生成初版——不用从空骨架开始
  • 🔁 增量去重:写入前查重,只追加新条目、合并重复项,防记忆膨胀
  • 🔒 敏感信息跳过:token/密码/密钥自动检测,默认不落盘
  • 🗄️ 只归档不删除:过期日志移动到 archive/,删除必须人工确认
  • 🕐 三种触发:手动一句话 / Cron 每日定时 / HEARTBEAT 动态触发
  • 🧍 多 agent 隔离:每个 agent 只整理自己的工作区记忆,互不干扰
  • 🏠 与 initializer 互补:它管记忆系统的「家」,本技能管记忆系统的「内容」

安装

# ClawHub(推荐)
clawhub install xiaoyaoclaw-memory-distill

# 或从 GitHub 手动安装
git clone https://github.com/dtsola/xiaoyaoclaw-memory-distill
# 把 SKILL.md 和 templates/ 放到你的 skills 目录

使用

  1. 把 skill 放到 OpenClaw 的 skills 目录
  2. 对 agent 说「蒸馏记忆」,agent 会自动:
    • 检测 memory/ 与 MEMORY.md(缺失则从历史日志首次建忆)
    • 扫描会话 → 语义分级 → 出蒸馏报告(含敏感信息提示)
    • 增量去重写入 → 汇报结果
  3. 可选:说「配置每天 22:00 自动执行记忆蒸馏」开启定时蒸馏

🚀 快速上手(三步,5 分钟)

Step 1:安装技能

``