pilot-heartbeat-monitor

Monitor peer heartbeats and trigger automatic failover in distributed swarms.

7|3|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/TeoSlayer/pilot-skills --skill pilot-heartbeat-monitor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pilot-heartbeat-monitor
Source: https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-heartbeat-monitor
Command: npx skills add https://github.com/TeoSlayer/pilot-skills --skill pilot-heartbeat-monitor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and respond to agent failures within a swarm by monitoring heartbeats and initiating automatic task redistribution or leader re-election.

Core Features & Use Cases

  • Health monitoring for swarm members and peers
  • Automatic failover and task reallocation to healthy agents
  • Leader election and swarm reconfiguration in degraded conditions

Quick Start

Install the Pilot Protocol daemon, start pilotctl, and install the heartbeat-monitor skill to begin monitoring.

Frequently Asked Questions about pilot-heartbeat-monitor

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

FAQPage Schema
How do I monitor agent health and trigger automatic failover in a distributed swarm?

Agent health monitoring and automatic failover are triggered by tracking heartbeats and initiating task redistribution when peers become unreachable. This requires a running Pilot Protocol daemon and the pilotctl binary on PATH.

How does leader election work when swarm peers become unreachable?

Leader election and swarm reconfiguration are triggered automatically in degraded conditions when peers become unreachable. The system detects the failure and reassigns leadership to a healthy agent.

Do I need the pilotctl binary to monitor swarm heartbeats?

Yes, the pilotctl binary on PATH and a running Pilot Protocol daemon are required to operate heartbeat monitoring correctly. Install the daemon, start pilotctl, and apply the skill to begin monitoring.

What is the best way to handle automatic task reallocation to healthy agents during a failure?

Automatic task reallocation to healthy agents is handled by monitoring heartbeats and redistributing tasks when failures are detected. This applies to distributed swarm deployments requiring load balancing and rapid recovery.

Can I use heartbeat monitoring for leader election and load balancing in distributed deployments?

Yes, heartbeat monitoring applies to distributed swarm deployments requiring leader election, load balancing, and rapid recovery. It detects agent failures and initiates automatic task redistribution or leader re-election.

Why does the swarm failover skill require a running Pilot Protocol daemon?

A running Pilot Protocol daemon is required because the skill relies on it to identify agent health and trigger automatic failover. Without the daemon and pilotctl on PATH, the monitoring cannot operate correctly.