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

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

    來源於7w4.net。

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