saga-service-manager

Manage SAGA Brain service lifecycles with health checks and watchdog restarts.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/monkey1sai/jacks_happy_bots --skill saga-service-manager
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: saga-service-manager
Source: https://github.com/monkey1sai/jacks_happy_bots/tree/main/workspace-monitor/skills/saga-service-manager
Command: npx skills add https://github.com/monkey1sai/jacks_happy_bots --skill saga-service-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that critical SAGA Brain services, such as the Telegram poller, dashboard, and scheduler, remain operational by managing their lifecycle, performing health checks, and automatically restarting them if they fail.

Core Features & Use Cases

  • Automated Service Management: Start, stop, and check the status of essential background services.
  • Health Monitoring: Regularly verifies if services are running and responsive.
  • Watchdog Restart: Automatically restarts services that have crashed or become unresponsive.
  • Cross-Platform Bootstrap: Supports automatic startup on both Windows and Linux systems.
  • Use Case: When the system boots up, this Skill ensures all necessary SAGA services are started. It then continuously monitors them, restarting the telegram-poller if it unexpectedly stops, thus maintaining uninterrupted bot functionality.

Quick Start

Ensure all SAGA services are running and healthy by executing the watchdog.

Frequently Asked Questions about saga-service-manager

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

FAQPage Schema
How do I keep background services running continuously after a system crash?▼

To keep background services running continuously, you need a watchdog process that performs health checks and automatically restarts crashed processes. This Skill manages persistent operation by monitoring service health and handling automatic restarts across Windows and Linux.

How do I set up automatic service startup on boot for Linux and Windows?▼

Automatic service startup on boot is handled through cross-platform bootstrap scripts. This Skill manages startup, shutdown, and health verification for long-running services using systemd on Linux and equivalent mechanisms on Windows.

What is the best way to monitor process health and restart unresponsive services?▼

The best way to monitor process health is through regular polling and watchdog mechanisms. This Skill verifies if services are responsive and automatically restarts unresponsive components, ensuring uninterrupted functionality for critical tasks like telegram polling.

Does this service manager support cross-platform process monitoring?▼

Yes, cross-platform process monitoring is supported. This Skill handles service lifecycle management, health verification, and watchdog-based automatic restarts across different operating systems, ensuring continuous availability of core functionalities.

Why do my scheduled tasks and polling services stop unexpectedly?▼

Scheduled tasks and polling services stop unexpectedly due to process crashes or system reboots without proper lifecycle management. This Skill uses PID file handling and a watchdog to detect failures and automatically restart essential services.

Can I manage telegram poller and dashboard services without manual intervention?▼

Yes, you can manage telegram poller and dashboard services without manual intervention. This Skill ensures continuous availability by handling service startup, monitoring health, and executing automatic restarts when failures occur.