uninstall-watchdog
Removes the egregore watchdog daemon and its associated files. Use when stopping automated session relaunching or cleaning up egregore infrastructure.
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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 |
Exit Criteria
- [ ] On macOS:
~/Library/LaunchAgents/com.egregore.watchdog.plist
does not exist after uninstall completes
- [ ] On Linux:
~/.config/systemd/user/egregore-watchdog.timerand
egregore-watchdog.service are both removed and `systemctl
--user daemon-reload` has run
- [ ] Verification command returns empty output: `launchctl list |
grep egregore (macOS) or systemctl --user list-timers | grep
egregore` (Linux)
- [ ]
~/.egregore/watchdog.pidand~/.egregore/watchdog.logare
removed (or absent if they were never created)
- [ ] User is notified that the watchdog has been removed and
automatic relaunching is disabled
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/egregore/skills/uninstall-watchdog/SKILL.md同一个仓库里的其他技能
- claude-code-plugin-reference
- night-market-architecture-contract
- night-market-build-and-env
- night-market-change-control
- night-market-collective-memory
- night-market-completion-integrity-campaign
- night-market-config-catalog
- night-market-debugging-playbook
- night-market-diagnostics-toolkit
- night-market-docs-and-writing
- night-market-failure-archaeology
- night-market-model-and-harness-updates