recovery-hooks

Wire custom health checks and recovery triggers to manage system stalls.

Updated May 11, 2026
One-click install
npx skills add https://github.com/AesopScott/mojo --skill recovery-hooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recovery-hooks
Source: https://github.com/AesopScott/mojo/tree/main/harnesses/skills/recovery-hooks
Command: npx skills add https://github.com/AesopScott/mojo --skill recovery-hooks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses system instability by providing a structured framework to detect stalls and trigger automated repair actions, preventing prolonged downtime.

Core Features & Use Cases

  • Custom Health Checks: Define specific criteria to monitor the health of your harness or service.
  • Recovery Trigger Wiring: Automatically route detected stalls to predefined repair scripts or recovery workflows.
  • Use Case: If a background worker process stalls during a data sync, this skill can be configured to automatically restart the service or clear the stuck queue item based on your defined recovery logic.

Quick Start

Use the recovery-hooks skill to inspect the current Health Monitor boundary and propose a new automated repair trigger for the identified stall condition.

Frequently Asked Questions about recovery-hooks

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

FAQPage Schema
How do I automate health checks and recovery triggers for a stalled background service?

To automate health checks and recovery triggers, you wire custom monitoring criteria to predefined repair scripts, enabling controlled and bounded actions that restart stalled services or clear blocked queues automatically.

What is automated recovery trigger wiring for system stability?

Automated recovery trigger wiring is a framework that routes detected system stalls to specific recovery levers, ensuring continuous operation by applying controlled repair actions to unattended service monitoring workflows.

Can I configure custom recovery logic for specific failure modes in unattended monitoring?

Yes, you can configure custom recovery logic for specific failure modes by defining precise health check boundaries and routing those conditions to targeted repair scripts, ensuring repair actions remain strictly bounded.

How do I restart a stalled background worker process automatically during a data sync?

To restart a stalled worker process automatically, you implement a health monitor that detects the stall during the data sync and triggers a wired recovery script to restart the service or clear the stuck queue item.

What do I need to define before setting up automated repair actions for harness-based workflows?

Before setting up automated repair actions for harness-based workflows, you need to define specific failure modes and identify the exact recovery levers required to execute controlled, bounded repair actions for system stalls.