Watchdog that monitors your AI agent gateway and restarts it when it crashes. Triggers on "install defibrillator", "agent watchdog", "gateway monitor", "auto-restart agent", or "keep agent alive". macOS launchd service with optional Discord notifications.
技能名称: agent-defibrillator
详细描述:
监控你的AI代理网关并在其崩溃时重启的看门狗服务。
推荐(先审查代码):
bash
git clone https://github.com/hazy2go/agent-defibrillator.git
cd agent-defibrillator
./install.sh
bash
launchctl list | grep defib
编辑 ~/.openclaw/scripts/defibrillator.sh:
| 变量 | 默认值 | 描述 |
|---|---|---|
| DEFIBGATEWAYLABEL | ai.openclaw.gateway | launchd服务标签 |
| DEFIBRETRYDELAY |
bash
bash
launchctl bootout gui/$(id -u)/com.openclaw.defibrillator
rm ~/Library/LaunchAgents/com.openclaw.defibrillator.plist
rm ~/.openclaw/scripts/defibrillator.sh
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 agent-defibrillator-1776419934 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-defibrillator-1776419934 技能
skillhub install agent-defibrillator-1776419934
文件大小: 8.34 KB | 发布时间: 2026-4-17 19:47