← 返回 Skills 市场
jpengcheng523-netizen

system-health-monitor

作者 jpengcheng523-netizen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
157
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install jpeng-system-health-monitor
功能描述
Monitor system health including disk space, memory usage, process status, and evolution metrics to detect potential issues early. Use when checking system he...
使用说明 (SKILL.md)

System Health Monitor

Monitors system health for evolution system stability and early issue detection.

Usage

const monitor = require('./skills/system-health-monitor');

// Run health check
const result = await monitor.check();

// Get formatted report
console.log(monitor.formatReport(result));

API

check()

Runs comprehensive system health check.

  • Returns: { status, checks, issues, timestamp }

formatReport(healthResult)

Generates a human-readable health report.

main()

CLI entry point - runs check and prints report.

Output Format

✅ System Health: HEALTHY

💾 Disk: 45% used (12G available)
🧠 Memory: 62% used (3.2G free)
⚙️ System: 4 CPUs, uptime 5d 12h 30m
   Load: 0.52, 0.48, 0.45
🔄 Evolution: Cycle 116
📦 Skills: 612 installed

Health Checks

  1. Disk Space: Warns at 80%, critical at 95%
  2. Memory Usage: Warns at 80%, critical at 95%
  3. Evolution Status: Checks for stale cycles
  4. Process Info: CPU count, load average, uptime
  5. Skills Count: Total installed skills

Status Levels

  • healthy: All checks passed
  • warning: Non-critical issues detected
  • critical: Immediate attention required

Integration

Can be integrated into:

  • Heartbeat checks for periodic monitoring
  • Pre-evolution health verification
  • Diagnostic troubleshooting
  • Alert systems
安全使用建议
This skill appears coherent with its purpose. Before installing, consider: (1) it reads local files under the current working directory (./logs and ./skills) — ensure those directories don't contain sensitive data you don't want a skill to read; (2) it invokes a shell command ('df -h /') via child_process.execSync — that is local-only but platform-dependent and may not exist on Windows; (3) test the skill in a safe environment first to confirm behavior and to verify how it handles missing directories. If you prefer, inspect or run the included index.js yourself (it's small and self-contained) before giving it runtime access.
功能分析
Type: OpenClaw Skill Name: jpeng-system-health-monitor Version: 1.0.0 The system-health-monitor skill performs standard system monitoring tasks such as checking disk space, memory usage, and process status. It uses hardcoded shell commands via execSync for disk checks and standard Node.js APIs for other metrics, with no evidence of data exfiltration, command injection, or malicious intent in index.js or SKILL.md.
能力评估
Purpose & Capability
Name/description (system health: disk, memory, processes, evolution, skills) aligns with the code and SKILL.md. The skill reads OS stats, runs a local 'df' command, and inspects local 'logs' and 'skills' directories — all consistent with monitoring system health.
Instruction Scope
SKILL.md instructs use of check() and formatReport(); the implementation follows that. It also reads files under process.cwd()/logs and process.cwd()/skills to determine evolution cycles and skill count — this is within the declared purpose but means the skill will access local log and skills directories. The code may throw if the 'logs' directory is absent (caught by the caller), so behavior can vary by environment.
Install Mechanism
No install spec (instruction-only with an included index.js). Nothing is downloaded or written to disk by an installer; risk from installation is minimal.
Credentials
No environment variables, credentials, or external config paths are requested. Access to the local filesystem and executing a local 'df' command are proportional to the stated monitoring purpose.
Persistence & Privilege
always:false and no code that modifies other skills or system-wide agent settings. The skill does not request persistent privileges or special presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jpeng-system-health-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jpeng-system-health-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of system-health-monitor. - Monitors disk space, memory usage, process status, evolution cycles, and installed skills. - Provides comprehensive health checks with status levels: healthy, warning, critical. - Exposes a clear API: check(), formatReport(), and main() for CLI use. - Designed for integration with heartbeat checks, diagnostics, and alerting. - Outputs easy-to-read, formatted health reports.
元数据
Slug jpeng-system-health-monitor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

system-health-monitor 是什么?

Monitor system health including disk space, memory usage, process status, and evolution metrics to detect potential issues early. Use when checking system he... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 157 次。

如何安装 system-health-monitor?

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

system-health-monitor 是免费的吗?

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

system-health-monitor 支持哪些平台?

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

谁开发了 system-health-monitor?

由 jpengcheng523-netizen(@jpengcheng523-netizen)开发并维护,当前版本 v1.0.0。

💬 留言讨论