Loading...
Loading...
Periodic self-monitoring and health check system for autonomous agents. Runs scheduled health diagnostics, reports system status, and performs proactive maintenance tasks.
npx skill4agent add winsorllc/upgraded-carnival heartbeatHEARTBEAT.md# Heartbeat Configuration
- health: Check system health every 30 minutes
- report: Send status report every day at 9 AM
- maintenance: Run cleanup every Sunday at 2 AMheartbeat_schedule// Schedule a health check every 30 minutes
heartbeat_schedule({
name: "health-check",
type: "health",
interval: "30m",
enabled: true
})heartbeat_run// Run a specific heartbeat
heartbeat_run({ name: "health-check" })
// Run all enabled heartbeats
heartbeat_run({ all: true })heartbeat_listheartbeat_list({})heartbeat_status// Get status of all heartbeats
heartbeat_status({})
// Get status of specific heartbeat
heartbeat_status({ name: "health-check" })## Heartbeat System
You have access to a periodic self-monitoring system (heartbeat). Use it to:
- Monitor system health and resources
- Generate periodic status reports
- Perform routine maintenance
Available commands:
- `heartbeat_schedule` - Schedule a new recurring check
- `heartbeat_run` - Manually run a heartbeat task
- `heartbeat_list` - Show all configured heartbeats
- `heartbeat_status` - Check heartbeat status and results
Create HEARTBEAT.md in the workspace root to define your heartbeat tasks..pi/skills/heartbeat/
├── SKILL.md # This file
├── lib/
│ ├── scheduler.js # Heartbeat scheduling logic
│ ├── runners.js # Built-in heartbeat runners
│ └── status.js # Status tracking
└── templates/
└── HEARTBEAT.md # Example configuration