heartbeat-monitoring

Runs periodic system health checks, task audits, and security scans with daily digest generation.

3|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/ruskicoder/system-prompts --skill heartbeat-monitoring-ruskicoder
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: heartbeat-monitoring
Source: https://github.com/ruskicoder/system-prompts/tree/main/prompt-orchestrator/.opencode/skills/heartbeat-monitoring
Command: npx skills add https://github.com/ruskicoder/system-prompts --skill heartbeat-monitoring-ruskicoder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Long-running AI agent systems accumulate silent failures: stuck tasks, retry loops, exposed secrets, and missing logs. This Skill automates periodic background health checks so operators catch degradation early without manually inspecting every subsystem. ## Core Features & Use Cases - Five-Step Health Workflow: Checks gateway/database/process liveness, audits tasks stuck in RUNNING or BLOCKED states, reviews artifacts and file permissions, scans for unauthenticated bindings or secret exposure, and generates a daily digest. - Token-Efficient Operation: Returns HEARTBEAT_OK and skips reprocessing when no state has changed, batching email, calendar, health, and alert checks into a single turn. - Escalation Rules: Flags security risks and failures persisting longer than 48 hours for developer attention. - Use Case: An operations engineer schedules a daily run that audits an agent orchestrator deployment, writes a digest to _audit/digests/YYYY-MM-DD_digest.md, and only escalates when a task has been retry-looping for two days. ## Quick Start Invoke the heartbeat-monitoring workflow with the daily argument to run a full system health check and generate today's digest.

Frequently Asked Questions about heartbeat-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a periodic system health check for an AI agent system?▼

Invoke the heartbeat-monitoring workflow with the daily, audit, or status argument. It executes a five-step flow covering process liveness, task integrity, artifact review, security scanning, and digest generation in a single turn.

How to detect tasks stuck in RUNNING or BLOCKED states?▼

The task integrity step identifies tasks stuck in RUNNING or BLOCKED states and detects repeated retry loops. When a task fails repeatedly, automated retries are stopped and persistent failures over 48 hours are escalated to the developer.

What does HEARTBEAT_OK mean in a monitoring workflow?▼

HEARTBEAT_OK is returned when no state changes occurred since the last run. The workflow skips digest generation and reprocessing in that case, which keeps token usage low for routine checks.

Does heartbeat monitoring scan for security risks?▼

Yes, the security and risk scan step detects unauthenticated public bindings and secret exposure, and reviews pending skill audit approvals. Identified security risks are escalated to the developer rather than handled silently.

Where are the daily health digests stored?▼

Digests are written to _audit/digests/YYYY-MM-DD_digest.md, one file per day. Generation is skipped entirely when system state is unchanged since the previous run.