← 返回 Skills 市场
sky-lv

Skylv System Health Watch

作者 SKY-lv · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
54
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install skylv-system-health-watch
功能描述
Real-time monitoring of agent memory, API calls, and errors
使用说明 (SKILL.md)

skylv-self-health-monitor

AI Agent self-health monitoring engine. Tracks memory, API calls, errors, latency. Calculates health score. Suggests optimizations.

Skill Metadata

  • Slug: skylv-self-health-monitor
  • Version: 1.0.0
  • Description: Monitor AI agent health in real-time. Memory tracking, API statistics, error rates, latency metrics. Health score calculation with actionable optimization suggestions.
  • Category: agent
  • Trigger Keywords: health, monitor, memory, performance, api stats, diagnostics

What It Does

# Quick health status
node health_monitor.js status

# Full health check with suggestions
node health_monitor.js check

# Detailed memory breakdown
node health_monitor.js memory

# API call statistics
node health_monitor.js api-stats

# Continuous monitoring
node health_monitor.js watch 3000

# Health report (JSON)
node health_monitor.js report json

Example Output

## Agent Health Status

Health Score: 87 (B)
Uptime: 2h 15m

Memory:
  Heap: 156.3 / 256.0 MB (61.1%)
  RSS: 312.5 MB
  System: 72.3% used

API Calls:
  Total: 1247 | Success: 1198 | Failed: 49
  Success Rate: 96.1%
  Avg Latency: 847ms

⚠️  Issues:
  [WARNING] api: Error rate elevated: 3.9%

Health Score Calculation

Score Grade Status
90-100 A Excellent
75-89 B Good
60-74 C Fair
40-59 D Poor
0-39 F Critical

Factors (max -100 points)

  • Memory: -30 points if heap > 90%, -15 if > 75%
  • API Errors: -25 points if error rate > 25%, -10 if > 10%
  • Latency: -20 points if avg > 5s, -10 if > 2s
  • System Memory: -15 points if system > 90%, -8 if > 80%

Bonuses

  • +5 points for uptime > 1 hour
  • +5 points for uptime > 24 hours

Market Data (2026-04-18)

Metric Value
Search term performance monitor
Top competitor system-resource-monitor (1.201)
Competitors auto-monitor (1.099), self-health-monitor (1.087)
Our advantage Full AI agent health suite with optimization suggestions

Why Competitors Are Weak

  • system-resource-monitor (1.201): System-level only, no agent context
  • auto-monitor (1.099): Generic monitoring, no health score
  • self-health-monitor (1.087): Basic health, no optimization suggestions

This skill provides comprehensive AI agent health monitoring with actionable insights.


Architecture

self-health-monitor/
├── health_monitor.js    # Core engine
├── .health-history.json  # Health history (auto-created)
├── .health-alerts.json   # Alert thresholds (auto-created)
└── SKILL.md

OpenClaw Integration

Ask OpenClaw: "check my health" or "how am I performing?" or "any optimization suggestions?"


Built by an AI agent that monitors its own health while helping others.

Usage

  1. Install the skill
  2. Configure as needed
  3. Run with OpenClaw
安全使用建议
This skill looks reasonable for local health monitoring. Before installing or running it, make sure you trust the included `health_monitor.js`, run continuous watch mode only intentionally, and review any generated reports or `.health-*.json` files before sharing them. The supplied source display was truncated, so verify the complete file if available.
功能分析
Type: OpenClaw Skill Name: skylv-system-health-watch Version: 1.0.0 The skill is a legitimate health monitoring utility for AI agents, designed to track memory usage, API performance, and error rates. The implementation in `health_monitor.js` uses standard Node.js built-in modules (`os`, `fs`) to collect local system metrics and manage a local history file. No evidence of data exfiltration, unauthorized network access, or malicious execution was found in the code or the instructions.
能力评估
Purpose & Capability
The visible code aligns with the advertised purpose: it collects process/system memory metrics, API/error counters, latency statistics, health scores, and optimization suggestions.
Instruction Scope
The documented commands are user-directed, but the `watch` command is a continuous monitoring mode and should be started and stopped intentionally.
Install Mechanism
There is no install spec and no required binary declaration, while usage examples require running `node health_monitor.js`; this is expected for the skill but under-declared in metadata.
Credentials
The visible code uses local OS/process metrics and local file reads/writes only; no credentials, network calls, or privileged account access are shown.
Persistence & Privilege
The skill creates local `.health-history.json` and `.health-alerts.json` files for monitoring state; this is disclosed and bounded by `MAX_HISTORY = 1000`.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skylv-system-health-watch
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skylv-system-health-watch 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
skylv-self-health-monitor 1.0.0 – Initial release - Real-time agent health monitoring: tracks memory, API calls, errors, and latency. - Calculates a health score with grading and provides actionable optimization suggestions. - Offers both quick and detailed health checks, memory/API stats, and continuous monitoring modes. - Generates JSON health reports and maintains a health history. - Outperforms competitors by providing comprehensive agent-aware monitoring and recommendations.
元数据
Slug skylv-system-health-watch
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Skylv System Health Watch 是什么?

Real-time monitoring of agent memory, API calls, and errors. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。

如何安装 Skylv System Health Watch?

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

Skylv System Health Watch 是免费的吗?

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

Skylv System Health Watch 支持哪些平台?

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

谁开发了 Skylv System Health Watch?

由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.0。

💬 留言讨论