Heartbeat

Lightweight system health monitoring skill

modimihir07 ba5a0c9 4 files · 1.1 KB Updated

File contents

Heartbeat — System Health Monitor

Description

Checks system health at regular intervals: agent status, disk usage, memory pressure, and recent audit errors. Flags anomalies and triggers alerts if thresholds are breached.

When to Use

  • Every 5 minutes as a scheduled cron job
  • On-demand to check system health
  • Before and after running other skills

Process

  1. Check all 3 agents (opencode, hermes, agy) are online
  2. Check disk usage (< 90%)
  3. Check memory pressure (< 80%)
  4. Scan recent audit log for errors
  5. Update brain/recent-decisions.md if issues found
  6. Return health summary

Output

JSON health report with pass/fail per check

Agent Assignment

  • Primary: opencode
  • Fallback: hermes

modimihir07/agentic-os/tree/main/skills/heartbeat commit ba5a0c94a8

Frequently asked questions

npx skillmds@latest add modimihir07/heartbeat