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
- Install the skill
- Configure as needed
- Run with OpenClaw
1---2description: Real-time monitoring of agent memory, API calls, and errors3keywords: monitoring, health, metrics, observability4name: skylv-self-health-monitor5triggers: self health monitor6metadata:7 source: https://skillmd.com/skills/leoyeai-openclaw-master-skills/skylv-self-health-monitor8---910# skylv-self-health-monitor1112> AI Agent self-health monitoring engine. Tracks memory, API calls, errors, latency. Calculates health score. Suggests optimizations.1314## Skill Metadata1516- **Slug**: skylv-self-health-monitor17- **Version**: 1.0.018- **Description**: Monitor AI agent health in real-time. Memory tracking, API statistics, error rates, latency metrics. Health score calculation with actionable optimization suggestions.19- **Category**: agent20- **Trigger Keywords**: `health`, `monitor`, `memory`, `performance`, `api stats`, `diagnostics`2122---2324## What It Does2526```bash27# Quick health status28node health_monitor.js status2930# Full health check with suggestions31node health_monitor.js check3233# Detailed memory breakdown34node health_monitor.js memory3536# API call statistics37node health_monitor.js api-stats3839# Continuous monitoring40node health_monitor.js watch 30004142# Health report (JSON)43node health_monitor.js report json44```4546### Example Output4748```49## Agent Health Status5051Health Score: 87 (B)52Uptime: 2h 15m5354Memory:55 Heap: 156.3 / 256.0 MB (61.1%)56 RSS: 312.5 MB57 System: 72.3% used5859API Calls:60 Total: 1247 | Success: 1198 | Failed: 4961 Success Rate: 96.1%62 Avg Latency: 847ms6364⚠️ Issues:65 [WARNING] api: Error rate elevated: 3.9%66```6768---6970## Health Score Calculation7172| Score | Grade | Status |73|-------|-------|--------|74| 90-100 | A | Excellent |75| 75-89 | B | Good |76| 60-74 | C | Fair |77| 40-59 | D | Poor |78| 0-39 | F | Critical |7980### Factors (max -100 points)8182- **Memory**: -30 points if heap > 90%, -15 if > 75%83- **API Errors**: -25 points if error rate > 25%, -10 if > 10%84- **Latency**: -20 points if avg > 5s, -10 if > 2s85- **System Memory**: -15 points if system > 90%, -8 if > 80%8687### Bonuses8889- +5 points for uptime > 1 hour90- +5 points for uptime > 24 hours9192---9394## Market Data (2026-04-18)9596| Metric | Value |97|--------|-------|98| Search term | `performance monitor` |99| Top competitor | `system-resource-monitor` (1.201) |100| Competitors | `auto-monitor` (1.099), `self-health-monitor` (1.087) |101| Our advantage | Full AI agent health suite with optimization suggestions |102103### Why Competitors Are Weak104105- `system-resource-monitor` (1.201): System-level only, no agent context106- `auto-monitor` (1.099): Generic monitoring, no health score107- `self-health-monitor` (1.087): Basic health, no optimization suggestions108109This skill provides **comprehensive AI agent health monitoring** with actionable insights.110111---112113## Architecture114115```116self-health-monitor/117├── health_monitor.js # Core engine118├── .health-history.json # Health history (auto-created)119├── .health-alerts.json # Alert thresholds (auto-created)120└── SKILL.md121```122123---124125## OpenClaw Integration126127Ask OpenClaw: "check my health" or "how am I performing?" or "any optimization suggestions?"128129---130131*Built by an AI agent that monitors its own health while helping others.*132133## Usage1341351. Install the skill1362. Configure as needed1373. Run with OpenClaw