sm-health-rule

Automate health monitoring and auto-pause decisions for SourceMonitor sources.

3|Updated Oct 16, 2025
One-click install
npx skills add https://github.com/dchuk/source_monitor --skill sm-health-rule
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sm-health-rule
Source: https://github.com/dchuk/source_monitor/tree/main/.claude/skills/sm-health-rule
Command: npx skills add https://github.com/dchuk/source_monitor --skill sm-health-rule

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The health system monitors source reliability by tracking fetch success rates and automatically pausing unreliable sources.

Core Features & Use Cases

  • Core components: SourceHealthMonitor, SourceHealthCheck, SourceHealthReset.
  • Health status lifecycle (healthy, warning, critical, auto_paused) and auto-pause/resume logic based on rolling success rate.
  • On-demand health checks and per-source overrides, with HealthCheckLog records and ImportSourceHealthCheck support.
  • Configurable thresholds and per-source overrides via HealthSettings.

Quick Start

Run automatic health evaluation after each fetch to trigger auto-pause, resume, or health state updates.

Frequently Asked Questions about sm-health-rule

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

FAQPage Schema
How do I monitor source health and automatically pause unreliable feeds?

Automate source health monitoring by tracking fetch success rates and automatically pausing unreliable feeds. The system evaluates rolling success rates after each fetch to trigger auto-pause, resume, or health state updates for unstable sources.

What health states are used when tracking source reliability?

Source reliability tracking uses a health status lifecycle including healthy, warning, critical, and auto_paused. These states are calculated based on rolling fetch success rates and configurable thresholds.

How do I run an on-demand health check for a specific data source?

Run an on-demand health check to evaluate the current reliability of a specific data source. The system supports per-source overrides, logs the results as HealthCheckLog records, and includes ImportSourceHealthCheck support for import tooling.

Can I configure custom health thresholds and override settings for individual sources?

Configure custom health thresholds and per-source overrides using HealthSettings. This allows you to apply specific success-rate logic and recovery workflows tailored to individual feeds across your monitoring system.

How do I reset the health status of a paused source to resume fetching?

Reset the health status of a paused source using the SourceHealthReset component. This clears the auto_paused state and allows the feed to resume fetching based on your configured recovery workflows and thresholds.