← Back to Skills Marketplace
archerweiye

Rpi Cpu Monitor

by archerwei · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
601
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install rpi-cpu-monitor
Description
树莓派 CPU 温度监控。当需要监控树莓派 CPU 温度时使用此 skill。功能:(1) 读取当前 CPU 温度,(2) 设置定时监控任务,(3) 温度超标时自动告警。支持 crontab 方案(零消耗,推荐)和 OpenClaw cron 方案。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rpi-cpu-monitor
  3. After installation, invoke the skill by name or use /rpi-cpu-monitor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
rpi-cpu-monitor 1.0.0 - 新增树莓派 CPU 温度监控 skill,支持读取 CPU 当前温度。 - 提供 crontab(零消耗,推荐)与 OpenClaw cron 两种监控方案。 - 支持定时监控任务,超温自动告警(默认阈值 70°C)。 - 可自定义监控间隔、温度阈值和告警渠道。
Metadata
Slug rpi-cpu-monitor
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Rpi Cpu Monitor?

树莓派 CPU 温度监控。当需要监控树莓派 CPU 温度时使用此 skill。功能:(1) 读取当前 CPU 温度,(2) 设置定时监控任务,(3) 温度超标时自动告警。支持 crontab 方案(零消耗,推荐)和 OpenClaw cron 方案。 It is an AI Agent Skill for Claude Code / OpenClaw, with 601 downloads so far.

How do I install Rpi Cpu Monitor?

Run "/install rpi-cpu-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Rpi Cpu Monitor free?

Yes, Rpi Cpu Monitor is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Rpi Cpu Monitor support?

Rpi Cpu Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Rpi Cpu Monitor?

It is built and maintained by archerwei (@archerweiye); the current version is v1.0.0.

💬 Comments