install-watchdog

Solid

Install the egregore watchdog daemon using the OS-native scheduler. Creates a launchd plist (macOS) or systemd timer (Linux) that checks every 5 minutes if egregore needs relaunching.

AI & Automation 309 stars 27 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Install Watchdog ## Overview Installs a persistent daemon that monitors the egregore process and relaunches it when needed. The daemon uses the OS-native scheduler (launchd on macOS, systemd on Linux) to run a watchdog script every 5 minutes. The watchdog script checks: - Whether an egregore session is already running. - Whether the budget is in cooldown. - Whether there are active work items in the manifest. If all conditions are met, it launches a new egregore session. ## When To Use - After initializing an egregore project (`egregore init`) when you want autonomous relaunching. - When setting up egregore on a new machine. ## When NOT To Use - On CI/CD runners (use the orchestrator directly). - When you want manual control over session launches. ## Installation Steps ### 1. Detect the operating system ```bash OS=$(uname -s) ``` ### 2. Run the appropriate installer **macOS (launchd):** ```bash bash plugins/egregore/scripts/install_launchd.sh ``` This script creates a plist at `~/Library/LaunchAgents/com.egregore.watchdog.plist` that runs the watchdog script every 300 seconds (5 minutes). **Linux (systemd):** ```bash bash plugins/egregore/scripts/install_systemd.sh ``` This script creates a systemd timer and service unit at `~/.config/systemd/user/` that fires every 5 minutes. ### 3. Verify installation **macOS:** ```bash launchctl list | grep egregore ``` Expected output: a line containing `com.egregore.watchdog` with a PID or `-` status. **Linux:...

Details

Author
athola
Repository
athola/claude-night-market
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category