install-watchdog
БесплатноЗапускает вложенные скриптыНе проверенInstalls egregore watchdog daemon via launchd or systemd for autonomous relaunching
от athola1 948 установок в других каталогахОб этом скилле
Night Market Skill: ported from claude-night-market/egregore. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
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
OS=$(uname -s)
2. Run the appropriate installer
macOS (launchd):
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 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:
launchctl list | grep egregore
Expected output: a line containing
com.egregore.watchdog with a PID or - status.
Linux:
systemctl --user status egregore-watchdog.timer
Expected output: active (waiting) status.
4. Confirm to the user
Report the installation result, the schedule interval, and the log file location:
- macOS:
~/.egregore/watchdog.log - Linux:
journalctl --user -u egregore-watchdog
Uninstall Command
To remove the watchdog, run:
Skill(egregore:uninstall-watchdog)
Or invoke the uninstall skill directly via the command
/egregore:uninstall-watchdog.
Troubleshooting
- Permission denied on plist: ensure the script runs as the current user, not root.
- systemd user session not available: run
loginctl enable-linger $USERto enable user services without an active login session. - Watchdog not firing: check the log output and verify
the scheduler is loaded (
launchctl listorsystemctl --user list-timers).
Exit Criteria
- On macOS:
~/Library/LaunchAgents/com.egregore.watchdog.plistexists after the install script completes - On Linux:
~/.config/systemd/user/egregore-watchdog.timerexists after the install script completes - Verification command confirms daemon is loaded:
launchctl list | grep egregorereturns a line (macOS), orsystemctl --user status egregore-watchdog.timershowsactive (waiting)(Linux) - Schedule interval (300 seconds / 5 minutes) and log file path reported to the user after installation
- If
permission deniedoccurs, the error is reported with the remediation step (run as current user, not root)
Установить install-watchdog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл install-watchdog?
Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching
Как установить скилл install-watchdog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл install-watchdog запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic