简介
uninstall-watchdog
原始描述
Removes the egregore watchdog daemon and its associated files
通过你的 Agent 添加
安装目录:uninstall-watchdog/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: uninstall-watchdog description: Removes the egregore watchdog daemon and its associated files version: 1.9.8 triggers:
- stopping automated session relaunching or cleaning up egregore infrastructure metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/egregore", "emoji": "\ud83e\udd9e"}} source: claude-night-market source_plugin: egregore
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
| 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 |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。