Gateway Monitor Installer

👤 yes999zc 📦 v1.0.0 ⭐ 4.3 ⬇️ 873 下载
🔒 IT运维与安全 免费

📖 技能介绍


name: gateway-monitor-installer description: Install, update, run, and remove OpenClaw Gateway Monitor + Gateway Watchdog on macOS via LaunchAgent. Use when user asks to deploy one-click monitoring, recover broken gateway daemon automatically, check launchctl health, or uninstall monitor/watchdog services.


Gateway Monitor Installer

Use bundled scripts for deterministic operations.

Runbook

小葱技能站7w4.net每天更新,海量AI技能等你发现。

  1. Install or update:
bash scripts/install.sh
  1. Verify status:
bash scripts/status.sh
  1. Uninstall cleanly:
bash scripts/uninstall.sh

What install.sh does

  • Copy monitor and watchdog binaries to ~/.openclaw/tools/gateway-monitor/bin/
  • Render LaunchAgent templates into ~/Library/LaunchAgents/
  • Backup existing plist files to ~/.openclaw/config-backups/
  • Bootstrap + enable + kickstart both agents
  • Run post-install status check

Services

  • ai.openclaw.gateway-monitor → monitor UI server (http://127.0.0.1:18990)
  • ai.openclaw.gateway-watchdog → periodic gateway self-healing check

Notes

  • Re-running install.sh is safe (idempotent)
  • watchdog script expects OpenClaw CLI at /opt/homebrew/bin/openclaw
  • If node path differs, edit assets/bin/gateway-watchdog.sh before install

🤖 AI 评测

这个 Skill 质量中等偏上,功能比较全面,能实现 Gateway 监控的一键安装和自动恢复。脚本写得规范,错误处理也比较完善。最大的问题是缺少必要的配置文件,安装时可能会报错。另外它只适配 macOS + homebrew 环境,路径写死了,对其他系统不兼容。总体来说思路清晰但打磨不足,适合有经验的用户使用,新手可能会遇到坑。

📊 多维度评分

适应性4
规范性4
有效性4.5
可靠性4.5
可信度4.8

📁 包含文件 (8 个)

📄 SKILL.md 1.2 KB
📄 _meta.json 144 B
📄 assets/bin/gateway-monitor-server.js 36.9 KB
📄 assets/bin/gateway-watchdog.sh 1.5 KB
📄 scripts/install.sh 1.9 KB
📄 scripts/status.sh 706 B
📄 scripts/uninstall.sh 732 B
📄 skill-card.md 2.5 KB