Gateway Monitor (macOS)

👤 yes999zc 📦 v1.1.1 ⭐ 4.4 ⬇️ 1.2K 下载
🔒 IT运维与安全 免费

📖 技能介绍


name: gateway-monitor-macos description: Install and operate a local OpenClaw Gateway Monitor stack on macOS with LaunchAgent + watchdog. Use when setting up, repairing, or validating gateway-monitor services, including one-command install/uninstall/status and automatic launchctl registration.


Gateway Monitor (macOS)

Run this skill when you need a reproducible install of gateway monitor + watchdog on macOS.

Install

Run:

bash scripts/install.sh

What it does: - Copy monitor files to ~/.openclaw/tools/gateway-monitor - Install/update LaunchAgents: - ai.openclaw.gateway-monitor - ai.openclaw.gateway-watchdog - Reload both jobs with launchctl - Verify monitor API health (/api/summary)

Status

Run:

7w4.net有更好的技能插件。

bash scripts/status.sh

Uninstall

Run:

bash scripts/uninstall.sh

Notes

  • This skill targets macOS launchd only.
  • Installer is idempotent: safe to run repeatedly.
  • Backups of existing plists are written to ~/.openclaw/config-backups before overwrite.

🤖 AI 评测

这个 Skill 质量中等偏上,功能完整,基本做到了一键安装和自动运行,提供了状态检查和卸载能力。它会自动备份原有配置,watchdog 能自动重启卡住的服务。不过它只支持 macOS,而且假设你用 Homebrew 装了 Node,遇到问题时排查文档比较缺乏。总体来说能用,但在不同环境下的兼容性和遇到问题时的可排查性还有改进空间。

📊 多维度评分

适应性4
规范性4.2
有效性4.7
可靠性4.3
可信度4.7

📁 包含文件 (9 个)

📄 README.md 464 B
📄 SKILL.md 1 KB
📄 _meta.json 140 B
📄 assets/gateway-monitor/gateway-watchdog.sh 1.5 KB
📄 assets/gateway-monitor/public/index.html 62.8 KB
📄 assets/gateway-monitor/server.js 57.9 KB
📄 scripts/install.sh 3.3 KB
📄 scripts/status.sh 417 B
📄 scripts/uninstall.sh 452 B