Skills uninstall-watchdog

install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/athola/nm-egregore-uninstall-watchdog" ~/.claude/skills/clawdbot-skills-uninstall-watchdog && rm -rf "$T"
manifest: skills/athola/nm-egregore-uninstall-watchdog/SKILL.md
source content

Night Market Skill — ported from claude-night-market/egregore. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Uninstall Watchdog

Overview

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.

When To Use

  • When you no longer want autonomous relaunching.
  • Before removing the egregore plugin from a project.
  • When switching from daemon mode to manual invocation.

When NOT To Use

  • When the watchdog was never installed (check first with the verify commands below).

Uninstall Steps

1. Detect the operating system

OS=$(uname -s)

2. Stop and remove the service

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

3. Clean up associated files

# Remove pidfile if present
rm -f ~/.egregore/watchdog.pid

# Remove watchdog log
rm -f ~/.egregore/watchdog.log

4. Confirm removal

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.

Files Removed

FilePlatformPurpose
~/Library/LaunchAgents/com.egregore.watchdog.plist
macOSlaunchd agent definition
~/.config/systemd/user/egregore-watchdog.timer
Linuxsystemd timer unit
~/.config/systemd/user/egregore-watchdog.service
Linuxsystemd service unit
~/.egregore/watchdog.pid
bothPID of last watchdog run
~/.egregore/watchdog.log
macOSwatchdog output log