agent-self-healing

Monitor and restart unhealthy PM2 services with Telegram escalation alerts.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/abzhaw/juliaz_agents --skill agent-self-healing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-self-healing
Source: https://github.com/abzhaw/juliaz_agents/tree/main/.agent/skills/agent-self-healing
Command: npx skills add https://github.com/abzhaw/juliaz_agents --skill agent-self-healing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated health monitoring and self-healing for Julia's agent ecosystem.

Core Features & Use Cases

  • Health-check loops that monitor services and restart unhealthy components.
  • Port checks across 3000-3003 with automated recovery and escalation.
  • Escalation to Telegram when failures recur to ensure human attention.

Quick Start

Run the self-healing workflow to monitor services and automatically restart unhealthy components.

Frequently Asked Questions about agent-self-healing

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

FAQPage Schema
How do I automate PM2 service restarts when a health check fails?

Automate PM2 service restarts by running continuous health-check loops that monitor runtime components. When an unhealthy service is detected, the system automatically triggers a PM2 restart to recover the affected component without manual intervention.

What is a self-healing agent ecosystem and how does it work?

A self-healing agent ecosystem is a runtime environment that automatically detects and recovers from service failures. It works by executing automated health-check loops, verifying port availability, and triggering restarts or escalating alerts when issues recur.

Can I monitor port availability across 3000-3003 and automatically restart unhealthy services?

Yes, you can monitor port availability across 3000-3003 by running automated port checks within the health monitoring loop. If a required port becomes unresponsive, the system triggers an automatic service restart via PM2 to restore connectivity.

How do I escalate recurring agent service failures to Telegram alerts?

Escalate recurring agent service failures to Telegram by configuring failure thresholds within the health-check loop. When a service experiences repeated restart failures, the monitoring system automatically dispatches a Telegram alert to ensure human attention.

Does PM2 work with Julia agent ecosystems for automated uptime management?

Yes, PM2 works with Julia agent ecosystems by managing the runtime environments for frontend, bridge, and cowork-mcp components. It handles automated process restarts to maintain uptime across health-critical services.

What should I do when automated self-healing restarts are not working for my services?

When automated self-healing restarts fail, the system escalates the issue by dispatching Telegram alerts. This ensures that persistent failures requiring manual investigation receive immediate human attention beyond the automated recovery loop.