简介
Hui-Yi
原始描述
Trigger for cold-memory recall and archive work under memory/cold/. Use only for explicit requests about older low-frequency context, historical continuity,...
通过你的 Agent 添加
安装目录:hui-yi/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: hui-yi
description: >
Trigger for cold-memory recall and archive work under memory/cold/. Use only for
explicit requests about older low-frequency context, historical continuity,
resurfacing, cooling, rebuild, and repetition-driven reinforcement — not for any
casual mention of words like "archive" or "remember". Do not use for fresh daily
notes, stable high-frequency facts, tooling/setup notes, or unvalidated new
learnings. Also covers an optional opt-in hook (installed via
scripts/install_hook.py, enabled in openclaw.json only with --enable) that
accumulates Session signals from recall-related turns into memory/cold/ notes
and tags.json.
Hui Yi
Hui Yi manages the cold reinforcement layer under memory/cold/.
Core rule:
Repeatedly reactivated information deserves reinforcement first. Ebbinghaus sets the pace, not the sole trigger.
Use Hui Yi when
- older low-frequency context would materially improve the current answer
- the user asks what was done before, asks to recall/archive something, or wants historical continuity
- a reusable lesson, decision, troubleshooting result, or stable background note should be preserved in
memory/cold/
- durable content from daily notes should be cooled into cold memory
- cold-memory notes, metadata, or retrieval quality need maintenance
Do not use Hui Yi when
- the content is today's transient note →
memory/YYYY-MM-DD.md
- the content is a stable high-frequency fact →
MEMORY.md
- the content is tooling, machine path, or environment setup →
TOOLS.md
- the content is a fresh mistake or still-unvalidated lesson →
.learnings/
- the content contains secrets, tokens, or passwords
Boundary
memory/cold/- the content is today's transient note →
memory/YYYY-MM-DD.md - the content is a stable high-frequency fact →
MEMORY.md - the content is tooling, machine path, or environment setup →
TOOLS.md - the content is a fresh mistake or still-unvalidated lesson →
.learnings/ - the content contains secrets, tokens, or passwords
Boundary
OpenClaw primary memory handles:
- current chat continuity
- recent daily notes
- stable high-frequency facts
- tooling and environment notes
- fresh learnings
Hui Yi handles:
- low-frequency, high-value knowledge under
memory/cold/ - historical context that keeps resurfacing across real conversations
- durable experience, decisions, and troubleshooting notes that should not pollute primary memory
Files and scripts
Cold-memory area:
memory/cold/index.mdmemory/cold/tags.jsonmemory/cold/retrieval-log.mdmemory/cold/_template.mdmemory/cold/schedule.jsonmemory/heartbeat-state.json
CLI entry scripts:
scripts/create.pyscripts/validate.pyscripts/search.pyscripts/rebuild.pyscripts/decay.pyscripts/cool.pyscripts/review.pyscripts/scheduler.pyscripts/install_hook.pyscripts/smoke_test.pyscripts/scrub_metadata.py
Core modules:
core/signal_detect.pycore/signal_pipeline.pycore/openclaw_signal_hook.pycore/openclaw_runtime_probe.py
Disclosure
- Scripts create and modify persistent local files, but only under
memory/cold/
and memory/heartbeat-state.json. No network access, no credential access.
- The hook is optional and twice opt-in:
scripts/install_hook.py copies files
into hooks/hui-yi-signal-hook/, and only --enable flips the two
hooks.internal.* keys in openclaw.json (after printing a disclosure; it
refuses to create a missing config file).
- The enabled hook persists session signals as activation counters plus truncated
sha256 session fingerprints — never raw session keys. Its
hook.log by default
contains no message bodies and no raw user/chat ids (set HUI_YI_HOOK_DEBUG=1
for verbose diagnostics) and rotates at 256 KB.
- The cooling playbook's routing table (MEMORY.md, TOOLS.md, .learnings/,
AGENTS.md, SOUL.md) is agent guidance; Hui-Yi scripts never write those files.
Sanity check
python3 scripts/smoke_test.py
memory/cold/
and memory/heartbeat-state.json. No network access, no credential access.scripts/install_hook.py copies files
into hooks/hui-yi-signal-hook/, and only --enable flips the two
hooks.internal.* keys in openclaw.json (after printing a disclosure; it
refuses to create a missing config file).hook.log by default
contains no message bodies and no raw user/chat ids (set HUI_YI_HOOK_DEBUG=1
for verbose diagnostics) and rotates at 256 KB.python3 scripts/smoke_test.py
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。