{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cache-cleanup",
    "name": "Cache Cleanup",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/xaiohuangningde/cache-cleanup",
    "canonicalUrl": "https://clawhub.ai/xaiohuangningde/cache-cleanup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/cache-cleanup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cache-cleanup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "cleanup.sh",
      "skill.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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/cache-cleanup"
    },
    "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/cache-cleanup",
    "agentPageUrl": "https://openagent3.xyz/skills/cache-cleanup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cache-cleanup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cache-cleanup/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": "Cache Cleanup",
        "body": "清理各类缓存和临时文件，释放磁盘空间。"
      },
      {
        "title": "能力轮廓",
        "body": "输入：缓存目录\n输出：清理报告\n核心：扫描 → 分类 → 清理"
      },
      {
        "title": "工作流",
        "body": "1. 扫描缓存目录\n2. 识别过期文件（按类型设定过期时间）\n3. 统计大小\n4. 清理\n5. 报告"
      },
      {
        "title": "目标目录",
        "body": "目录类型过期时间~/.npm/_cache/NPM 缓存7 天~/.cache/通用缓存7 天/tmp/临时文件1 天~/.openclaw/logs/日志文件14 天~/.openclaw/browser/浏览器缓存3 天~/.openclaw/sandbox/沙箱7 天~/.openclaw/sandbox-neko/猫娘沙箱7 天~/.openclaw/canvas/Canvas 缓存3 天"
      },
      {
        "title": "清理规则",
        "body": "类型规则日志.log, .jsonl > 14 天缓存所有 > 7 天临时所有 > 1 天浏览器所有 > 3 天"
      },
      {
        "title": "磁盘告警",
        "body": "磁盘使用 > 80% 时增强清理\n清理前检查磁盘使用率"
      },
      {
        "title": "主动性",
        "body": "每3天执行一次\n磁盘使用率高时主动清理"
      },
      {
        "title": "使用方式",
        "body": "# 手动执行\n~/.openclaw/workspace/skills/cache-cleanup/cleanup.sh\n\n# 配置定时任务（每3天凌晨2点）\ncron job add cache-cleanup \"0 2 */3 * *\" ~/.openclaw/workspace/skills/cache-cleanup/run.sh"
      }
    ],
    "body": "Cache Cleanup\n\n清理各类缓存和临时文件，释放磁盘空间。\n\n能力轮廓\n输入：缓存目录\n输出：清理报告\n核心：扫描 → 分类 → 清理\n工作流\n1. 扫描缓存目录\n2. 识别过期文件（按类型设定过期时间）\n3. 统计大小\n4. 清理\n5. 报告\n\n目标目录\n目录\t类型\t过期时间\n~/.npm/_cache/\tNPM 缓存\t7 天\n~/.cache/\t通用缓存\t7 天\n/tmp/\t临时文件\t1 天\n~/.openclaw/logs/\t日志文件\t14 天\n~/.openclaw/browser/\t浏览器缓存\t3 天\n~/.openclaw/sandbox/\t沙箱\t7 天\n~/.openclaw/sandbox-neko/\t猫娘沙箱\t7 天\n~/.openclaw/canvas/\tCanvas 缓存\t3 天\n清理规则\n类型\t规则\n日志\t.log, .jsonl > 14 天\n缓存\t所有 > 7 天\n临时\t所有 > 1 天\n浏览器\t所有 > 3 天\n磁盘告警\n磁盘使用 > 80% 时增强清理\n清理前检查磁盘使用率\n主动性\n每3天执行一次\n磁盘使用率高时主动清理\n使用方式\n# 手动执行\n~/.openclaw/workspace/skills/cache-cleanup/cleanup.sh\n\n# 配置定时任务（每3天凌晨2点）\ncron job add cache-cleanup \"0 2 */3 * *\" ~/.openclaw/workspace/skills/cache-cleanup/run.sh"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/xaiohuangningde/cache-cleanup",
    "publisherUrl": "https://clawhub.ai/xaiohuangningde/cache-cleanup",
    "owner": "xaiohuangningde",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cache-cleanup",
    "downloadUrl": "https://openagent3.xyz/downloads/cache-cleanup",
    "agentUrl": "https://openagent3.xyz/skills/cache-cleanup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cache-cleanup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cache-cleanup/agent.md"
  }
}