← 返回 Skills 市场
archerweiye

Rpi Cpu Monitor

作者 archerwei · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
601
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install rpi-cpu-monitor
功能描述
树莓派 CPU 温度监控。当需要监控树莓派 CPU 温度时使用此 skill。功能:(1) 读取当前 CPU 温度,(2) 设置定时监控任务,(3) 温度超标时自动告警。支持 crontab 方案(零消耗,推荐)和 OpenClaw cron 方案。
安全使用建议
This skill's code largely does what the description says, but inspect and adapt the script before installing. Key points to consider: - The script reads a local OpenClaw gateway token at /home/weiye/.openclaw/gateway-token; that file is a sensitive credential. Confirm the correct path for your system or change the script to accept the token via a documented environment variable (e.g., OPENCLAW_GATEWAY_TOKEN) or a configurable path. Do not install unchanged if the hard-coded path contains another user's data. - The script expects vcgencmd (Raspberry Pi utility) or /sys/class/thermal/... — ensure you're actually on a Raspberry Pi and that vcgencmd exists; the skill metadata does not declare this dependency. - The script only contacts http://localhost:3000 (local OpenClaw gateway). This reduces network-exfiltration risk, but the gateway token could be used to make other local API calls with the agent's privileges — ensure the token's scope and storage permissions are appropriate. - Consider changing file permissions on the gateway-token so it is not world-readable and test the script manually before scheduling via cron. - Prefer the crontab approach if you want minimal external model calls; if you use OpenClaw cron, confirm the messages and session parameters are safe and that repeated model invocations are acceptable. If you want a cleaner integration, ask the author to (1) remove hard-coded username paths, (2) declare required config paths / env vars, and (3) provide instructions to securely supply the gateway token.
功能分析
Type: OpenClaw Skill Name: rpi-cpu-monitor Version: 1.0.0 The skill is classified as suspicious due to its use of persistence and access to sensitive local credentials. The `SKILL.md` file instructs the OpenClaw agent to establish a cron job via `crontab -e`, which is a powerful persistence mechanism. The script executed by this cron job (`scripts/cpu-temp-monitor.sh`) attempts to read a sensitive local `gateway-token` from a hardcoded path (`/home/weiye/.openclaw/gateway-token`) to authenticate with the local OpenClaw API. While the communication is restricted to `http://localhost:3000` and the stated purpose is legitimate (CPU monitoring and alerting), the combination of persistence, access to a sensitive local token, and the hardcoded path for this token represents a significant security risk and a vulnerability.
能力评估
Purpose & Capability
The skill's stated purpose (read temperature, schedule checks, alert on high temp) matches the script. However the code expects a Raspberry Pi tool (vcgencmd) and access to a local OpenClaw gateway API — neither of these requirements are declared in the skill metadata. The script also hard-codes a path with a specific username (/home/weiye/.openclaw/gateway-token), which is not coherent with a general-purpose skill.
Instruction Scope
SKILL.md instructs creating and scheduling the provided script. The script reads a local file (/home/weiye/.openclaw/gateway-token) to construct an Authorization header and posts to http://localhost:3000/api/..., which means it accesses a user-specific secret and calls a local agent API. The skill did not document or request that secret or the config path. This is scope creep relative to the declared 'no required config paths / env vars'.
Install Mechanism
There is no install spec (instruction-only) and the repository includes the monitoring script. No remote downloads or archive extraction are requested, so install risk is low.
Credentials
requires.env and required config paths are empty, yet the script accesses a sensitive token file at a hard-coded path. It does not provide a documented, configurable way to supply that token (for example via an environment variable or a documented path), and the path includes a specific username which will cause failures or unintended behavior. The lack of declared credentials/configs is disproportionate to the skill's metadata.
Persistence & Privilege
The skill does not request always: true, does not modify other skills, and does not demand system-wide changes beyond adding a cron job (which is user-initiated). Its runtime behavior is limited to the scheduled script.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rpi-cpu-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rpi-cpu-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
rpi-cpu-monitor 1.0.0 - 新增树莓派 CPU 温度监控 skill,支持读取 CPU 当前温度。 - 提供 crontab(零消耗,推荐)与 OpenClaw cron 两种监控方案。 - 支持定时监控任务,超温自动告警(默认阈值 70°C)。 - 可自定义监控间隔、温度阈值和告警渠道。
元数据
Slug rpi-cpu-monitor
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Rpi Cpu Monitor 是什么?

树莓派 CPU 温度监控。当需要监控树莓派 CPU 温度时使用此 skill。功能:(1) 读取当前 CPU 温度,(2) 设置定时监控任务,(3) 温度超标时自动告警。支持 crontab 方案(零消耗,推荐)和 OpenClaw cron 方案。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 601 次。

如何安装 Rpi Cpu Monitor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rpi-cpu-monitor」即可一键安装,无需额外配置。

Rpi Cpu Monitor 是免费的吗?

是的,Rpi Cpu Monitor 完全免费(开源免费),可自由下载、安装和使用。

Rpi Cpu Monitor 支持哪些平台?

Rpi Cpu Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Rpi Cpu Monitor?

由 archerwei(@archerweiye)开发并维护,当前版本 v1.0.0。

💬 留言讨论