Install
openclaw skills install memory-health-scoreProvides a comprehensive score (0-100) evaluating the Agent's memory system health across completeness, freshness, structure, density, and consistency.
openclaw skills install memory-health-score一个总分让用户快速判断 Agent 记忆系统健康状况。
| 分数 | 等级 | 状态 | 建议 |
|---|---|---|---|
| 90-100 | 🟢 优秀 | 记忆系统运转良好 | 保持当前节奏 |
| 70-89 | 🟡 良好 | 基本健康,有改进空间 | 检查低分项 |
| 50-69 | 🟠 警告 | 存在明显问题 | 立即优化 |
| 0-49 | 🔴 危险 | 记忆系统失效 | 紧急修复 |
# 运行评分
openclaw cron add --name "memory-health-check" \
--cron "0 9 * * *" --tz "Asia/Shanghai" \
--session isolated --agent main \
--message "运行记忆健康度评分,生成报告并更新 memory/health-score.json"
{
"timestamp": "2026-03-01T09:00:00Z",
"totalScore": 85,
"grade": "良好",
"dimensions": {
"completeness": { "score": 28, "max": 30, "issues": ["缺少 P0 标记"] },
"freshness": { "score": 25, "max": 25, "issues": [] },
"structure": { "score": 15, "max": 20, "issues": ["open issue 不足"] },
"density": { "score": 12, "max": 15, "issues": ["MEMORY.md 过长"] },
"consistency": { "score": 5, "max": 10, "issues": ["INDEX 与 MEMORY 不一致"] }
},
"recommendations": [
"添加更多 P0 标记到 MEMORY.md",
"创建至少 3 个 open issue",
"压缩 MEMORY.md,移除过时信息"
]
}
评分 <70 时,自动触发:
在 Dashboard 显示: