← 返回 Skills 市场
bptravel2017

Self-Heal Watchdog

作者 bptravel2017 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
303
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install self-heal-watchdog
功能描述
Automated self-healing system for OpenClaw gateway with model failover support. Three-layer protection: process watchdog (auto-restart on crash), config guar...
安全使用建议
This skill largely does what it says — it will copy scripts into ~/.openclaw/watchdog, register a scheduler (launchd plist on macOS), back up and modify ~/.openclaw/openclaw.json, and call the 'openclaw' CLI to restart the gateway. Before installing: (1) review the scripts yourself (they are small and readable); (2) ensure you trust the openclaw CLI on your system; (3) back up ~/.openclaw/openclaw.json manually (setup.sh may fail if that file is missing); (4) verify you have python3, curl, and relevant system tools; (5) run in DRY_RUN=1 mode to observe actions without changes; and (6) be aware the installer will create a persistent scheduled job (uninstall instructions are provided). The main issue here is metadata mismatch (required binaries/env not declared) — that increases risk of surprise failures or unexpected behavior, so treat this as a privileged change and test it in a safe environment first.
功能分析
Type: OpenClaw Skill Name: self-heal-watchdog Version: 1.0.0 The skill bundle implements a self-healing watchdog that requires high-risk capabilities, including modifying the primary 'openclaw.json' configuration file and establishing persistence via macOS 'launchd' (com.openclaw.watchdog.plist). While these actions are clearly aligned with the stated purpose of automated recovery and model failover, the scripts (specifically setup.sh and model-failover.sh) perform automated service restarts and configuration overwrites. No evidence of malicious intent, data exfiltration, or remote command execution was found, but the broad system-level management qualifies as suspicious under the provided criteria.
能力评估
Purpose & Capability
The code performs exactly the advertised tasks: process monitoring, config backup/rollback, and model failover by editing ~/.openclaw/openclaw.json and restarting the gateway. Those capabilities belong to a self-heal watchdog. However, the skill metadata declares no required binaries or env vars while the scripts clearly assume tools (python3, curl, pgrep, launchctl/system utilities, and an 'openclaw' CLI) and access to the user's OpenClaw config — this mismatch is material and should have been declared.
Instruction Scope
SKILL.md instructs running setup.sh which copies scripts, registers a scheduler, and explains commands; the scripts themselves operate on local files and localhost health endpoints only. All runtime actions (backing up and editing openclaw.json, restarting gateway, registering a launchd job) are within the stated scope. There is no evidence the scripts exfiltrate data or contact external endpoints beyond localhost.
Install Mechanism
This is an instruction-only skill (no external download/install step). Installing runs setup.sh which writes files under ~/.openclaw/watchdog and registers a launchd agent. No remote code is fetched by the install process, lowering supply-chain risk — but the installer does create persistent scheduled execution on the host.
Credentials
requires.env and primary credential are listed as none, but the scripts use/assume several environment variables and binaries (OPENCLAW_HOME, GATEWAY_URL, HEALTH_ENDPOINT, DRY_RUN, plus python3, curl, pgrep, launchctl/systemd/cron, and the openclaw CLI). The skill does modify a local configuration file (~/.openclaw/openclaw.json) and writes logs/backups; while this is coherent with purpose, the metadata should have declared these requirements and that it will change your config. No secret/API exfiltration is apparent in the code.
Persistence & Privilege
The installer registers a persistent scheduled job (launchd plist on macOS, with alternatives noted for cron/systemd). always:false (not forced), but installing will create long-lived system scheduler entries and files under the user's home, and register a service that runs every 60s. This is expected for a watchdog but is a high-impact change that requires user consent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install self-heal-watchdog
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /self-heal-watchdog 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Three-layer protection with model failover
元数据
Slug self-heal-watchdog
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Self-Heal Watchdog 是什么?

Automated self-healing system for OpenClaw gateway with model failover support. Three-layer protection: process watchdog (auto-restart on crash), config guar... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 303 次。

如何安装 Self-Heal Watchdog?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install self-heal-watchdog」即可一键安装,无需额外配置。

Self-Heal Watchdog 是免费的吗?

是的,Self-Heal Watchdog 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Self-Heal Watchdog 支持哪些平台?

Self-Heal Watchdog 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Self-Heal Watchdog?

由 bptravel2017(@bptravel2017)开发并维护,当前版本 v1.0.0。

💬 留言讨论