athola/uninstall-watchdog
Removes the egregore watchdog daemon and its associated files. Use when stopping automated session relaunching or cleaning up egregore infrastructure.
npx skills add https://github.com/athola/claude-night-market --skill uninstall-watchdog
Removes the egregore watchdog daemon and cleans up all files
created by the install-watchdog skill.
After uninstalling, egregore sessions will no longer be
relaunched automatically.
the verify commands below).
OS=$(uname -s)
macOS (launchd):
PLIST=~/Library/LaunchAgents/com.egregore.watchdog.plist
# Unload the agent (stops it if running)
launchctl unload "$PLIST" 2>/dev/null
# Remove the plist file
rm -f "$PLIST"
Linux (systemd):
# Stop and disable the timer and service
systemctl --user stop egregore-watchdog.timer 2>/dev/null
systemctl --user disable egregore-watchdog.timer 2>/dev/null
# Remove unit files
rm -f ~/.config/systemd/user/egregore-watchdog.timer
rm -f ~/.config/systemd/user/egregore-watchdog.service
# Reload systemd to pick up the removal
systemctl --user daemon-reload
# Remove pidfile if present
rm -f ~/.egregore/watchdog.pid
# Remove watchdog log
rm -f ~/.egregore/watchdog.log
macOS:
launchctl list | grep egregore
# Should produce no output
Linux:
systemctl --user list-timers | grep egregore
# Should produce no output
Report to the user that the watchdog has been removed and
automatic relaunching is disabled.
| File | Platform | Purpose |
|------|----------|---------|
| ~/Library/LaunchAgents/com.egregore.watchdog.plist | macOS | launchd agent definition |
| ~/.config/systemd/user/egregore-watchdog.timer | Linux | systemd timer unit |
| ~/.config/systemd/user/egregore-watchdog.service | Linux | systemd service unit |
| ~/.egregore/watchdog.pid | both | PID of last watchdog run |
| ~/.egregore/watchdog.log | macOS | watchdog output log |
~/Library/LaunchAgents/com.egregore.watchdog.plistdoes not exist after uninstall completes
~/.config/systemd/user/egregore-watchdog.timer andegregore-watchdog.service are both removed and `systemctl
--user daemon-reload` has run
grep egregore (macOS) or systemctl --user list-timers | grep
egregore` (Linux)
~/.egregore/watchdog.pid and ~/.egregore/watchdog.log areremoved (or absent if they were never created)
automatic relaunching is disabled
Take athola/uninstall-watchdog from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.