skylv-self-health-monitor

Real-time monitoring of agent memory, API calls, and errors

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skylv-self-health-monitor" with this command: npx skills add sky-lv/skylv-system-health-watch

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

ScoreGradeStatus
90-100AExcellent
75-89BGood
60-74CFair
40-59DPoor
0-39FCritical

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)

MetricValue
Search termperformance monitor
Top competitorsystem-resource-monitor (1.201)
Competitorsauto-monitor (1.099), self-health-monitor (1.087)
Our advantageFull 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Feishu Bridge

Connect a Feishu (Lark) bot to Clawdbot via WebSocket long-connection. No public server, domain, or ngrok required. Use when setting up Feishu/Lark as a messaging channel, troubleshooting the Feishu bridge, or managing the bridge service (start/stop/logs). Covers bot creation on Feishu Open Platform, credential setup, bridge startup, macOS launchd auto-restart, and group chat behavior tuning.

Registry SourceRecently Updated
Automation

Browser Cash

Spin up unblocked browser sessions via Browser.cash for web automation. Sessions bypass anti-bot protections (Cloudflare, DataDome, etc.) making them ideal for scraping and automation.

Registry SourceRecently Updated
Automation

Triple Memory

Complete memory system combining LanceDB auto-recall, Git-Notes structured memory, and file-based workspace search. Use when setting up comprehensive agent memory, when you need persistent context across sessions, or when managing decisions/preferences/tasks with multiple memory backends working together.

Registry SourceRecently Updated
Automation

Tootbot

Publish content to Mastodon. Use when you need to post a Mastodon status.

Registry SourceRecently Updated