360 Secure SkillHub
360 安全技能中心

Gateway Monitor (macOS)

该 Skill 面向 macOS,提供一步安装、状态检查与卸载 gateway-monitor 和 watchdog 的命令脚本,注册 LaunchAgent,并通过本地 API 健康检查验证服务。安装脚本可重复执行,覆盖 plist 前会备份。

yes999zc
yes999zc
热度 60.13
最近更新 2026-05-17 14:19:55
分类:自动化依赖:代码执行 / 读写文件应用场景:DevOps / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gateway-monitor-macos
Metadata
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:

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.