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

willow-memory-health柳记忆健康

Agent Skill

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

总安装

1,920

周安装

80

GitHub Stars

公开资料未说明

下载量

640
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install willow-memory-health

简介

检查 OpenClaw Agent 内存状态,识别陈旧、冗余或矛盾记录以优化记忆管理。

  • 适用于定期维护代理知识库、清理无效缓存或诊断响应延迟问题的场景。
  • 自动扫描历史对话与存储条目,生成健康报告并提出清理建议。
  • 安装命令为 openclaw skills install willow-memory-health,需访问代理内部存储。
  • 清理操作前应备份关键记忆项,避免误删重要上下文信息。

SKILL.md

name
willow-memory-health
description
Audit an OpenClaw agent's memory for staleness, redundancy, dark records, and contradictions. Use when a user asks to check memory health, clean up old memories, find duplicate entries, or diagnose why a memory isn't surfacing in search. Reports HOT/WARM/STALE/DEAD buckets with actionable recommendations.
metadata

Willow Memory Health

Audit an OpenClaw agent's memory files for four failure modes that silently degrade memory quality over time:

SignalWhat it means
STALE / DEADFile hasn't been updated in 30+ / 90+ days — may no longer reflect current state
REDUNDANTTwo or more files cover the same subject (Jaccard similarity ≥ 0.55 on titles)
DARKFile exists in memory but doesn't surface when searched — invisible to the agent
CONTRADICTIONSame file contains opposing status words (e.g. "deployed" and "not deployed")

Trigger

Use this skill when the user:

  • Asks to audit, clean up, or review memory
  • Reports that the agent "forgot" something that should be in memory
  • Wants to know which memories are stale or duplicated
  • Asks why a memory isn't being retrieved

Step 1 — Find the memory directory

Ask for confirmation or infer from context. The memory directory is typically one of:

  • <workspace>/memory/ — workspace-scoped memory files
  • ~/.openclaw/agents/<agentId>/memory/ — agent-level memory

If neither is clear, ask: _"Where are your memory files stored? (e.g. a memory/ folder in your workspace, or a path you specify)"_

Step 2 — Run the diagnostic script

Run the bundled script against the memory directory:

python3 {baseDir}/scripts/memory_health.py --dir <memory-dir> --limit 50

Optional flags:

  • --limit N — score only the N most recently modified files (default: 50)
  • --qmd — enable DARK detection via qmd query (requires qmd CLI installed)
  • --json — machine-readable output

If qmd is available and the user wants DARK detection:

python3 {baseDir}/scripts/memory_health.py --dir <memory-dir> --limit 50 --qmd

Step 3 — Interpret the report

The script prints a per-file table and a summary:

WILLOW MEMORY HEALTH — memory/ (50 files)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FILE                    BUCKET   FLAGS
MEMORY.md               HOT      OK
2026-04-16.md           HOT      OK
2026-03-01.md           WARM     REDUNDANT
2026-03-01b.md          WARM     REDUNDANT
2025-12-10.md           DEAD     STALE | DARK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SUMMARY
  Files scored   : 50
  HOT  (<7d)     : 12
  WARM (7–30d)   : 23
  STALE (30–90d) : 11
  DEAD (>90d)    : 4
  REDUNDANT pairs: 3
  DARK           : 2  (qmd search returned no match)
  CONTRADICTION  : 1

HOT/WARM — healthy, no action needed.

STALE — review and either update or archive. Suggest: _"These files haven't been updated in 30–90 days. Want me to review them and mark outdated sections?"_

DEAD — strong candidate for archiving. Ask the user: _"These files are 90+ days old. Should I move them to an archive/ subfolder?"_

REDUNDANT — two files covering the same subject. Suggest merging the newer into the older or vice versa. Show both filenames and ask which to keep.

DARK — file exists but qmd search can't find it. This usually means the QMD index is out of date. Suggest running qmd update or re-indexing: openclaw memory sync.

CONTRADICTION — file contains opposing status phrases. Show the specific pairs flagged (e.g. "deployed" vs "not deployed") and ask the user to clarify current state.

Step 4 — Offer cleanup options

After reporting, offer numbered actions the user can pick:

  1. Archive all DEAD files (move to memory/archive/)
  2. Show REDUNDANT pairs for manual review
  3. Update QMD index to fix DARK records (qmd update)
  4. Show CONTRADICTION files for editing
  5. Skip — report only, no changes

Always confirm before moving or modifying files.

Step 5 — Execute with confirmation

For each cleanup action:

  • Show exactly which files will be moved or modified
  • Confirm before proceeding
  • Report what was done

After cleanup, offer to re-run the diagnostic to confirm the health score improved.

Memory writes

If the user has opted into memory writes, append a dated summary to memory/YYYY-MM-DD.md:

## Memory health audit — {timestamp}
- Files scored: N
- DEAD archived: N files → memory/archive/
- REDUNDANT merged: N pairs
- DARK fixed: N (qmd update run)
- CONTRADICTION resolved: N files

Append-only. Do not overwrite existing entries.

Notes

  • MEMORY.md and undated files in memory/ are treated as evergreen — they are scored for REDUNDANT and CONTRADICTION but never flagged STALE/DEAD.
  • Files outside the memory/YYYY-MM-DD.md naming convention use mtime for age calculation.
  • DARK detection requires qmd CLI. If unavailable, the DARK column is skipped and noted in the report.
  • This skill does not modify the QMD index directly — it reports and suggests; the user confirms all changes.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

70.28%
按下载量换算450

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills