{
  "schemaVersion": "1.0",
  "item": {
    "slug": "memory-health-score",
    "name": "Memory Health Score",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/weidadong2359/memory-health-score",
    "canonicalUrl": "https://clawhub.ai/weidadong2359/memory-health-score",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/memory-health-score",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=memory-health-score",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "agent-amnesia-guide.md",
      "check-health.mjs",
      "package.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/memory-health-score"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/memory-health-score",
    "agentPageUrl": "https://openagent3.xyz/skills/memory-health-score/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memory-health-score/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memory-health-score/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "概述",
        "body": "一个总分让用户快速判断 Agent 记忆系统健康状况。"
      },
      {
        "title": "1. 完整性 (30分)",
        "body": "MEMORY.md 存在且有内容 (10分)\nmemory/INDEX.md 存在 (5分)\n近 7 天有日志文件 (10分)\nP0 标记使用率 (5分) — 至少 3 个 P0 项"
      },
      {
        "title": "2. 新鲜度 (25分)",
        "body": "今日日志已创建 (10分)\nMEMORY.md 最近 7 天内更新 (10分)\nINDEX.md 最近 3 天内更新 (5分)"
      },
      {
        "title": "3. 结构化 (20分)",
        "body": "任务系统 (.issues/) 存在 (10分)\n至少 3 个 open issue (5分)\n心跳配置正确 (5分)"
      },
      {
        "title": "4. 密度 (15分)",
        "body": "MEMORY.md 行数 50-500 (10分) — 太少=信息不足，太多=需压缩\n日志文件平均长度 20-200 行 (5分)"
      },
      {
        "title": "5. 一致性 (10分)",
        "body": "INDEX.md 与 MEMORY.md 项目一致 (5分)\nissue 文件与 INDEX.md 一致 (5分)"
      },
      {
        "title": "健康等级",
        "body": "分数等级状态建议90-100🟢 优秀记忆系统运转良好保持当前节奏70-89🟡 良好基本健康，有改进空间检查低分项50-69🟠 警告存在明显问题立即优化0-49🔴 危险记忆系统失效紧急修复"
      },
      {
        "title": "使用方法",
        "body": "# 运行评分\nopenclaw cron add --name \"memory-health-check\" \\\n  --cron \"0 9 * * *\" --tz \"Asia/Shanghai\" \\\n  --session isolated --agent main \\\n  --message \"运行记忆健康度评分，生成报告并更新 memory/health-score.json\""
      },
      {
        "title": "输出格式",
        "body": "{\n  \"timestamp\": \"2026-03-01T09:00:00Z\",\n  \"totalScore\": 85,\n  \"grade\": \"良好\",\n  \"dimensions\": {\n    \"completeness\": { \"score\": 28, \"max\": 30, \"issues\": [\"缺少 P0 标记\"] },\n    \"freshness\": { \"score\": 25, \"max\": 25, \"issues\": [] },\n    \"structure\": { \"score\": 15, \"max\": 20, \"issues\": [\"open issue 不足\"] },\n    \"density\": { \"score\": 12, \"max\": 15, \"issues\": [\"MEMORY.md 过长\"] },\n    \"consistency\": { \"score\": 5, \"max\": 10, \"issues\": [\"INDEX 与 MEMORY 不一致\"] }\n  },\n  \"recommendations\": [\n    \"添加更多 P0 标记到 MEMORY.md\",\n    \"创建至少 3 个 open issue\",\n    \"压缩 MEMORY.md，移除过时信息\"\n  ]\n}"
      },
      {
        "title": "自动修复建议",
        "body": "评分 <70 时，自动触发：\n\n记忆压缩 — 合并重复内容\n索引重建 — 同步 INDEX.md\n任务清理 — 关闭过期 issue"
      },
      {
        "title": "集成到 AgentAwaken",
        "body": "在 Dashboard 显示：\n\n大号分数 (85/100)\n彩色进度条\n各维度雷达图\n一键修复按钮"
      }
    ],
    "body": "Memory Health Score — 记忆健康度评分\n概述\n\n一个总分让用户快速判断 Agent 记忆系统健康状况。\n\n评分维度 (总分 100)\n1. 完整性 (30分)\nMEMORY.md 存在且有内容 (10分)\nmemory/INDEX.md 存在 (5分)\n近 7 天有日志文件 (10分)\nP0 标记使用率 (5分) — 至少 3 个 P0 项\n2. 新鲜度 (25分)\n今日日志已创建 (10分)\nMEMORY.md 最近 7 天内更新 (10分)\nINDEX.md 最近 3 天内更新 (5分)\n3. 结构化 (20分)\n任务系统 (.issues/) 存在 (10分)\n至少 3 个 open issue (5分)\n心跳配置正确 (5分)\n4. 密度 (15分)\nMEMORY.md 行数 50-500 (10分) — 太少=信息不足，太多=需压缩\n日志文件平均长度 20-200 行 (5分)\n5. 一致性 (10分)\nINDEX.md 与 MEMORY.md 项目一致 (5分)\nissue 文件与 INDEX.md 一致 (5分)\n健康等级\n分数\t等级\t状态\t建议\n90-100\t🟢 优秀\t记忆系统运转良好\t保持当前节奏\n70-89\t🟡 良好\t基本健康，有改进空间\t检查低分项\n50-69\t🟠 警告\t存在明显问题\t立即优化\n0-49\t🔴 危险\t记忆系统失效\t紧急修复\n使用方法\n# 运行评分\nopenclaw cron add --name \"memory-health-check\" \\\n  --cron \"0 9 * * *\" --tz \"Asia/Shanghai\" \\\n  --session isolated --agent main \\\n  --message \"运行记忆健康度评分，生成报告并更新 memory/health-score.json\"\n\n输出格式\n{\n  \"timestamp\": \"2026-03-01T09:00:00Z\",\n  \"totalScore\": 85,\n  \"grade\": \"良好\",\n  \"dimensions\": {\n    \"completeness\": { \"score\": 28, \"max\": 30, \"issues\": [\"缺少 P0 标记\"] },\n    \"freshness\": { \"score\": 25, \"max\": 25, \"issues\": [] },\n    \"structure\": { \"score\": 15, \"max\": 20, \"issues\": [\"open issue 不足\"] },\n    \"density\": { \"score\": 12, \"max\": 15, \"issues\": [\"MEMORY.md 过长\"] },\n    \"consistency\": { \"score\": 5, \"max\": 10, \"issues\": [\"INDEX 与 MEMORY 不一致\"] }\n  },\n  \"recommendations\": [\n    \"添加更多 P0 标记到 MEMORY.md\",\n    \"创建至少 3 个 open issue\",\n    \"压缩 MEMORY.md，移除过时信息\"\n  ]\n}\n\n自动修复建议\n\n评分 <70 时，自动触发：\n\n记忆压缩 — 合并重复内容\n索引重建 — 同步 INDEX.md\n任务清理 — 关闭过期 issue\n集成到 AgentAwaken\n\n在 Dashboard 显示：\n\n大号分数 (85/100)\n彩色进度条\n各维度雷达图\n一键修复按钮"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/weidadong2359/memory-health-score",
    "publisherUrl": "https://clawhub.ai/weidadong2359/memory-health-score",
    "owner": "weidadong2359",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/memory-health-score",
    "downloadUrl": "https://openagent3.xyz/downloads/memory-health-score",
    "agentUrl": "https://openagent3.xyz/skills/memory-health-score/agent",
    "manifestUrl": "https://openagent3.xyz/skills/memory-health-score/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/memory-health-score/agent.md"
  }
}