home/career/service-health-watchdog-prompt

Service Health Watchdog.prompt

GPTClaudeGemini··1,299 copies·updated 2026-07-14
service-health-watchdog-prompt.prompt
# Example: Service Health Watchdog Loop

This example is best implemented as a script-only Hermes cron job that prints only on state changes.

## Purpose

Check local service health and notify only when state changes from healthy to unhealthy or recovers.

## Suggested script behavior

- read previous state from `~/.hermes/state/loops/service-health.json`
- check one or more endpoints/processes
- write new state
- print a message only when health changes
- exit non-zero only when the watchdog itself failed

## Example Hermes cron shape

Write your own `check_service_health.py` (not included in this repo) implementing the
behavior above, then point cron at it:

when to use it

Community prompt sourced from the open-source GitHub repo gregoryhorn/hermes-loop-engineering (MIT). A "Service Health Watchdog.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

careercommunitygeneral

source

gregoryhorn/hermes-loop-engineering · MIT