← 返回 Skills 市场
ruban-gt

Mac Health Check

作者 Dmitry Ruban · GitHub ↗ · v1.0.6 · MIT-0
darwin ✓ 安全检测通过
134
总下载
2
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install mac-health-check
功能描述
Check the current temperature, load, memory, swap, and power usage of this Mac with `macmon`. Use when the user asks for their Mac's current temperature, Mac...
使用说明 (SKILL.md)

Mac Health Check

Use macmon as the source of truth for live Mac telemetry.

OpenClaw's host exec environment can be too minimal for some Homebrew-installed binaries. This skill includes a wrapper at {baseDir}/bin/macmon-safe.sh that retries macmon through zsh -lic when needed.

Use when

  • "What's my Mac temperature right now?"
  • "What's the temperature of my Mac?"
  • "Give me a health check for this Mac"
  • "How much RAM and swap is in use?"
  • "Is this Mac under load right now?"
  • "Show current CPU or GPU usage on this Mac"

Installation

Via ClawHub

clawhub install mac-health-check

Manual

git clone https://github.com/RuBAN-GT/mac-health-check-skill.git ~/.openclaw/skills/mac-health-check

Quick start

For a one-shot snapshot, run:

python {baseDir}/scripts/macmon_status.py

Default one-shot mode uses -i 200 so the first sample returns faster.

If macmon works only from a login shell in your OpenClaw setup, you can also use the wrapper directly:

bash {baseDir}/bin/macmon-safe.sh pipe -s 1

Raw JSON

For raw JSON, run:

python {baseDir}/scripts/macmon_status.py --format json --pretty

Saved output or stdin

For saved macmon output or stdin, run:

bash {baseDir}/bin/macmon-safe.sh pipe -s 1 > /tmp/macmon.jsonl
python {baseDir}/scripts/macmon_status.py --input /tmp/macmon.jsonl
cat /tmp/macmon.jsonl | python {baseDir}/scripts/macmon_status.py --input -

Verify setup

Run:

bash {baseDir}/bin/macmon-safe.sh pipe -s 1

If this prints a JSON sample, the skill is ready to use.

What to report

Default summary includes:

  • CPU average temperature
  • GPU average temperature
  • Performance CPU usage and frequency
  • Efficiency CPU usage and frequency
  • GPU usage and frequency
  • System, CPU, and GPU power
  • RAM usage
  • Swap usage

Keep the explanation practical and short unless the user asks for a deeper breakdown.

Interpretation hints

  • CPU temp under ~60C: usually calm or light work
  • ~60C to 85C: normal active load
  • 85C+: hot; mention sustained load or possible thermal pressure
  • swap usage above 0: memory pressure may be starting
  • high system power + high temps: likely sustained work

Do not overclaim danger from one sample. Call it a snapshot.

Failure modes

  • If macmon is missing, say so plainly.
  • If macmon is installed but errors out, ask the user to run bash {baseDir}/bin/macmon-safe.sh pipe -s 1 manually and paste the JSON.
  • On some macOS setups, Homebrew-installed binaries work only from a login shell. Prefer bash {baseDir}/bin/macmon-safe.sh ... in OpenClaw exec contexts.
  • When reading from files or stdin, treat the last non-empty line as the sample.

Reference

Use references/sample-output.md when you need a reminder of the common JSON fields emitted by macmon.

安全使用建议
This skill is coherent: it simply runs the local macmon program (or a small zsh wrapper) and summarizes its JSON output. Before installing, verify you trust the macmon Homebrew formula/source you will install, and confirm you are comfortable allowing the agent to run local commands (it will execute macmon on your machine). The skill does not request secrets or contact external endpoints itself; any risk would come from the installed macmon binary — review that project if you need higher assurance.
功能分析
Type: OpenClaw Skill Name: mac-health-check Version: 1.0.6 The mac-health-check skill is a legitimate utility for monitoring macOS hardware telemetry (temperature, CPU/GPU usage, and memory) using the third-party 'macmon' tool. The included scripts (macmon_status.py and macmon-safe.sh) are well-structured, include input sanitization via shell quoting, and lack any indicators of data exfiltration, persistence, or malicious intent.
能力评估
Purpose & Capability
Name/description match the code and instructions: the skill runs the macmon binary (or a login-shell wrapper) and summarizes its JSON output. Declared OS restriction (darwin) and the brew install of macmon are appropriate.
Instruction Scope
Runtime instructions and scripts only run the macmon binary, optionally via a zsh login shell, and parse JSON from macmon or stdin/files. They do not read unrelated system files, access network endpoints, or prompt for unrelated secrets. The wrapper and Python script use subprocess to invoke local binaries, which is expected for this purpose.
Install Mechanism
Install is a Homebrew formula (macmon). Homebrew is a standard package source on macOS. No downloads from arbitrary URLs or archive extracts are present in the skill itself.
Credentials
The skill requires no environment variables, no credentials, and no config paths. It references typical local paths (/opt/homebrew/bin) and a login-shell fallback — reasonable for Homebrew-installed binaries.
Persistence & Privilege
Skill is not marked always:true and is user-invocable. It does not modify other skills or request elevated persistent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mac-health-check
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mac-health-check 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
Improve OpenClaw compatibility and simplify installation docs
v1.0.5
Generalize Mac temperature phrasing
v1.0.4
Package the OpenClaw wrapper as a shell script so it is included in ClawHub builds
v1.0.2
Add wrapper for OpenClaw exec environments where macmon needs a login shell
v1.0.1
Improve install instructions and simplify the skill summary
v1.0.0
Initial release
元数据
Slug mac-health-check
版本 1.0.6
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

Mac Health Check 是什么?

Check the current temperature, load, memory, swap, and power usage of this Mac with `macmon`. Use when the user asks for their Mac's current temperature, Mac... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 134 次。

如何安装 Mac Health Check?

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

Mac Health Check 是免费的吗?

是的,Mac Health Check 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Mac Health Check 支持哪些平台?

Mac Health Check 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin)。

谁开发了 Mac Health Check?

由 Dmitry Ruban(@ruban-gt)开发并维护,当前版本 v1.0.6。

💬 留言讨论