← 返回 Skills 市场
yes999zc

Gateway Monitor (macOS)

作者 yes999zc · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ⚠ suspicious
520
总下载
0
收藏
1
当前安装
6
版本数
在 OpenClaw 中安装
/install gateway-monitor-macos
功能描述
Install and operate a local OpenClaw Gateway Monitor stack on macOS with LaunchAgent + watchdog. Use when setting up, repairing, or validating gateway-monito...
使用说明 (SKILL.md)

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.
安全使用建议
This skill installs a persistent user-level launchd service that inspects OpenClaw logs and state, may read ~/.openclaw/agents/main/agent/auth-profiles.json, runs OpenClaw CLI commands, and by default contacts an external URL (MINIMAX_REMAINS_URL). Before installing: (1) review server.js fully (look for network requests, where data is sent, and whether auth-profiles.json is parsed/sent); (2) consider running the code in a sandboxed account or VM first; (3) if you must run on your machine, block outbound network access for the monitor (host firewall) or set MINIMAX_REMAINS_URL to an innocuous value/localhost; (4) inspect ~/.openclaw/agents/... for sensitive tokens and back them up/remove if you don't want local auth data read; (5) validate the upstream repository (README references a GitHub URL) and prefer sources you trust. If you cannot audit the server.js behavior yourself, treat the install as potentially exposing local OpenClaw credentials and externalizing runtime telemetry.
功能分析
Type: OpenClaw Skill Name: gateway-monitor-macos Version: 1.1.1 The skill installs a persistent monitoring stack on macOS using LaunchAgents and a Node.js web server. While the functionality is aligned with the stated purpose of monitoring OpenClaw services, the implementation contains significant security risks: the server in `assets/gateway-monitor/server.js` binds to all network interfaces (`0.0.0.0`) and lacks any authentication mechanism. This allows anyone on the local network to access the dashboard, read sensitive system logs, view session metadata, and trigger administrative actions like service restarts or configuration restoration via the `/api/gateway-restart` and `/api/restore-config` endpoints. These vulnerabilities facilitate unauthorized information disclosure and remote service manipulation, though no evidence of intentional malicious exfiltration was found.
能力评估
Purpose & Capability
Name/description promise a local gateway monitor/watchdog and the included LaunchAgent plists, watchdog script, and server.js implement that. However server.js also references and may access ~/.openclaw/agents/main/agent/auth-profiles.json and external endpoints (MINIMAX_REMAINS_URL by default points to https://www.minimaxi.com). Reading agent auth profiles and contacting remote services is outside what the description explicitly promises and may not be necessary for a purely local monitor.
Instruction Scope
SKILL.md only instructs running scripts/install.sh, status.sh, uninstall.sh and mentions launchctl registration and health checking. It does not disclose that the installed server process will read user OpenClaw logs and auth-profile files, execute OpenClaw status/restart commands via execSync, track session IDs/usage, and reach external HTTP(s) endpoints. Those data accesses and network calls are not disclosed in the runtime instructions.
Install Mechanism
There is no remote download; all files are bundled. The installer copies files into $HOME/.openclaw/tools/gateway-monitor, writes LaunchAgent plists under ~/Library/LaunchAgents, backs up existing plists, and registers them via launchctl. No externally fetched code during install was observed.
Credentials
The skill declares no required env vars, but server.js honors multiple environment variables (OPENCLAW_* commands, MINIMAX_*, OMLX_* and OMLX_API_KEY, etc.) and falls back to defaults. The server reads an auth-profiles.json path under ~/.openclaw which likely contains sensitive credentials; this access is not declared or explained. The ability to POST or GET to external URLs combined with reading local auth files increases the risk of credential exposure.
Persistence & Privilege
Installer creates two per-user LaunchAgents (monitor + watchdog) with RunAtLoad and KeepAlive enabled, so the monitor runs persistently under the user account. always: false. Persistent background execution is consistent with a monitor but raises the blast radius because the service will run continuously and perform the undisclosed reads/network activity.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gateway-monitor-macos
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gateway-monitor-macos 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Sync latest gateway-monitor updates: gateway restart action, log baseline clear toggle, oMLX update check UI and repo switch.
v1.1.0
Add Mac Studio memory usage monitoring and ACPX service health checks.
v1.0.3
Add Mac Studio memory usage monitoring and ACPX service health checks; sanitized release.
v1.0.2
Sanitize payload and remove duplicate installer directory
v1.0.1
Add README quickstart (install/status/uninstall)
v1.0.0
Initial release: LaunchAgent + watchdog + one-click install scripts
元数据
Slug gateway-monitor-macos
版本 1.1.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 6
常见问题

Gateway Monitor (macOS) 是什么?

Install and operate a local OpenClaw Gateway Monitor stack on macOS with LaunchAgent + watchdog. Use when setting up, repairing, or validating gateway-monito... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 520 次。

如何安装 Gateway Monitor (macOS)?

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

Gateway Monitor (macOS) 是免费的吗?

是的,Gateway Monitor (macOS) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gateway Monitor (macOS) 支持哪些平台?

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

谁开发了 Gateway Monitor (macOS)?

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

💬 留言讨论