claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching. Use when setting up egregore on a new machine. Do not use on CI/CD runners.
$ npx -y skills add athola/claude-night-market --skill install-watchdog --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/install-watchdogContext preview
The summary Claude sees to decide when to auto-load this skill.
Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching. Use when setting up egregore on a new machine. Do not use on CI/CD runners.
name: install-watchdog description: Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching. Use when setting up egregore on a new machine. Do not use on CI/CD runners. alwaysApply: false category: setup tools: [] model_hint: standard
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:
If all conditions are met, it launches a new egregore session.
when you want autonomous relaunching.
OS=$(uname -s)
**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.
**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.
Report the installation result, the schedule interval, and the log file location:
To remove the watchdog, run:
Skill(egregore:uninstall-watchdog)
Or invoke the uninstall skill directly via the command `/egregore:uninstall-watchdog`.
as the current user, not root.
`loginctl enable-linger $USER` to enable user services without an active login session.
the scheduler is loaded (`launchctl list` or `systemctl --user list-timers`).
exists after the install script completes
exists after the install script completes
grep egregore` returns a line (macOS), or `systemctl --user status egregore-watchdog.timer` shows `active (waiting)` (Linux)
reported to the user after installation
remediation step (run as current user, not root)
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.