{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rpi-cpu-monitor",
    "name": "Rpi Cpu Monitor",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/archerweiye/rpi-cpu-monitor",
    "canonicalUrl": "https://clawhub.ai/archerweiye/rpi-cpu-monitor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/rpi-cpu-monitor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rpi-cpu-monitor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/cpu-temp-monitor.sh"
    ],
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/rpi-cpu-monitor"
    },
    "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/rpi-cpu-monitor",
    "agentPageUrl": "https://openagent3.xyz/skills/rpi-cpu-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rpi-cpu-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rpi-cpu-monitor/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": "方案 1：crontab 方案（推荐，零消耗）",
        "body": "# 创建监控脚本\ncat > /path/to/scripts/cpu-temp-monitor.sh << 'EOF'\n#!/bin/bash\nTEMP=$(vcgencmd measure_temp 2>/dev/null | cut -d= -f2 | cut -d\\' -f1)\n[ -z \"$TEMP\" ] && TEMP=$(cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1/1000}')\nTEMP_INT=${TEMP%.*}\n\nif [ \"$TEMP_INT\" -gt 70 ]; then\n  curl -s -X POST \"http://localhost:3000/api/sessions/agent:main:main/message\" \\\n    -H \"Content-Type: application/json\" \\\n    -H \"Authorization: Bearer $(cat /home/weiye/.openclaw/gateway-token)\" \\\n    -d '{\"message\":\"⚠️ CPU温度过高: '${TEMP}'°C\", \"channel\":\"feishu\"}'\nfi\nEOF\n\nchmod +x /path/to/scripts/cpu-temp-monitor.sh\n\n# 添加到 crontab（每 35 分钟执行）\ncrontab -e\n# 添加: */35 * * * * /path/to/scripts/cpu-temp-monitor.sh"
      },
      {
        "title": "方案 2：OpenClaw cron 方案",
        "body": "# 启用 OpenClaw 内置 cron（每次调用大模型）\nopenclaw cron add --name \"CPU温度监控\" --schedule \"*/35 * * * *\" \\\n  --message \"检查CPU温度：运行 vcgencmd measure_temp，如果>70°C发送警告\" \\\n  --session isolated"
      },
      {
        "title": "对比",
        "body": "方案大模型调用适用场景crontab0 次（仅超标时 API）生产环境，推荐OpenClaw cron每次 1 次测试/开发"
      },
      {
        "title": "配置项",
        "body": "温度阈值：默认 70°C，可修改脚本中的 70\n监控间隔：默认 35 分钟，修改 crontab 表达式\n告警渠道：默认飞书，修改 API 调用中的 channel 参数"
      }
    ],
    "body": "树莓派 CPU 温度监控\n快速开始\n方案 1：crontab 方案（推荐，零消耗）\n# 创建监控脚本\ncat > /path/to/scripts/cpu-temp-monitor.sh << 'EOF'\n#!/bin/bash\nTEMP=$(vcgencmd measure_temp 2>/dev/null | cut -d= -f2 | cut -d\\' -f1)\n[ -z \"$TEMP\" ] && TEMP=$(cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1/1000}')\nTEMP_INT=${TEMP%.*}\n\nif [ \"$TEMP_INT\" -gt 70 ]; then\n  curl -s -X POST \"http://localhost:3000/api/sessions/agent:main:main/message\" \\\n    -H \"Content-Type: application/json\" \\\n    -H \"Authorization: Bearer $(cat /home/weiye/.openclaw/gateway-token)\" \\\n    -d '{\"message\":\"⚠️ CPU温度过高: '${TEMP}'°C\", \"channel\":\"feishu\"}'\nfi\nEOF\n\nchmod +x /path/to/scripts/cpu-temp-monitor.sh\n\n# 添加到 crontab（每 35 分钟执行）\ncrontab -e\n# 添加: */35 * * * * /path/to/scripts/cpu-temp-monitor.sh\n\n方案 2：OpenClaw cron 方案\n# 启用 OpenClaw 内置 cron（每次调用大模型）\nopenclaw cron add --name \"CPU温度监控\" --schedule \"*/35 * * * *\" \\\n  --message \"检查CPU温度：运行 vcgencmd measure_temp，如果>70°C发送警告\" \\\n  --session isolated\n\n对比\n方案\t大模型调用\t适用场景\ncrontab\t0 次（仅超标时 API）\t生产环境，推荐\nOpenClaw cron\t每次 1 次\t测试/开发\n配置项\n温度阈值：默认 70°C，可修改脚本中的 70\n监控间隔：默认 35 分钟，修改 crontab 表达式\n告警渠道：默认飞书，修改 API 调用中的 channel 参数"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/archerweiye/rpi-cpu-monitor",
    "publisherUrl": "https://clawhub.ai/archerweiye/rpi-cpu-monitor",
    "owner": "archerweiye",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/rpi-cpu-monitor",
    "downloadUrl": "https://openagent3.xyz/downloads/rpi-cpu-monitor",
    "agentUrl": "https://openagent3.xyz/skills/rpi-cpu-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rpi-cpu-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rpi-cpu-monitor/agent.md"
  }
}