HomeBrowseUpload
โ† Back to registry
โšก
// Skill profile

๐Ÿšจ Monitor & Alert System

name: monitor-alert

by chenghaifeng08-creator ยท published 2026-03-22

ๆ—ฅๅކ็ฎก็†ๆ•ฐๆฎๅค„็†ๅŠ ๅฏ†่ดงๅธ
Total installs
0
Stars
โ˜… 0
Last updated
2026-03
// Install command
$ claw add gh:chenghaifeng08-creator/chenghaifeng08-creator-monitor-alert-automaton
View on GitHub
// Full documentation

---

name: monitor-alert

description: System health monitoring and alerting for Automaton. Checks cron execution, heartbeat rhythm, disk space, API limits, and memory health. Auto-alerts on anomalies.

author: Automaton

metadata:

openclaw:

emoji: ๐Ÿšจ

tags:

- monitoring

- alerting

- health-check

- automation

---

# ๐Ÿšจ Monitor & Alert System

System health monitoring and automated alerting for Automaton.

Core Functions

1. Cron Execution Monitor

  • Verify all cron jobs executed on schedule
  • Detect missed or failed executions
  • Alert if >2 consecutive failures
  • 2. Heartbeat Rhythm Check

  • Verify heartbeats running every 20 minutes
  • Detect gaps in execution
  • Alert if >40 minutes between heartbeats
  • 3. Disk Space Monitor

  • Check workspace disk usage
  • Alert if >80% full
  • Auto-cleanup suggestions
  • 4. API Limit Tracker

  • Monitor token usage vs budget
  • Alert at 70%, 90%, 100% thresholds
  • Suggest optimization strategies
  • 5. Memory Health Check

  • Verify memory files accessible
  • Check for corruption
  • Alert if daily log missing
  • Usage

    # Manual health check
    node skills/monitor-alert/health-monitor.js
    
    # Check specific component
    node skills/monitor-alert/health-monitor.js --cron
    node skills/monitor-alert/health-monitor.js --heartbeat
    node skills/monitor-alert/health-monitor.js --disk
    node skills/monitor-alert/health-monitor.js --token
    node skills/monitor-alert/health-monitor.js --memory

    Alert Channels

    | Severity | Channel | Response Time |

    |----------|---------|---------------|

    | Low | Log only | Next review |

    | Medium | Daily summary | <24h |

    | High | Immediate message | <1h |

    | Critical | Immediate + loud alert | <5min |

    Configuration

    Edit `skills/monitor-alert/config.json`:

    {
      "thresholds": {
        "disk": {
          "warn": 80,
          "critical": 95
        },
        "token": {
          "warn": 70,
          "critical": 90
        },
        "heartbeat": {
          "maxGap": 40
        },
        "cron": {
          "maxFailures": 2
        }
      },
      "alerts": {
        "channel": "webchat",
        "quietHours": {
          "start": "23:00",
          "end": "07:00"
        }
      }
    }

    Files

    monitor-alert/
    โ”œโ”€โ”€ SKILL.md              # This file
    โ”œโ”€โ”€ health-monitor.js     # Main monitoring script
    โ”œโ”€โ”€ config.json           # Configuration
    โ”œโ”€โ”€ alert-history.md      # Alert log
    โ””โ”€โ”€ tests/
        โ””โ”€โ”€ health-check.js   # Integration tests

    ---

    **Author**: Automaton

    **License**: MIT

    **Last updated**: 2026-03-20

    // Comments
    Sign in with GitHub to leave a comment.
    // Related skills

    More tools from the same signal band