← 返回 Skills 市场
davidme6

Openclaw Gateway Guardian

作者 davidme6 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
259
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install openclaw-gateway-guardian
功能描述
OpenClaw Gateway Guardian - Automatic monitoring, protection, and restart of OpenClaw Gateway service. Prevents gateway from stopping, crashing, or disappear...
安全使用建议
This package is not clearly dishonest or malicious, but it has multiple inconsistencies you should resolve before installing: - Confirm the presence and trustworthiness of the `openclaw` CLI on the host; the guardian calls `openclaw gateway restart` but the skill metadata does not declare that binary as required. - The README/SKILL.md mention commands (init, health) and notification features that the included script does not implement — expect limited functionality (start/stop/status/logs) as shipped. - The docs encourage creating scheduled tasks (even under SYSTEM); avoid running unfamiliar scripts as SYSTEM. If you need autostart, prefer running under a dedicated low-privilege service account and review the install script (there are references to an install_powerShell script that is not present in the package manifest). - Inspect the script yourself (it is small): it writes files under ~/.openclaw_guardian, creates PID/state files, and uses subprocess to restart the gateway. Run it in a safe test environment first to confirm behavior. - If you plan to rely on notifications, verify whether those features are implemented or implement them yourself; do not paste secrets into configs unless you understand where they will be used. If the author can (a) declare the `openclaw` binary requirement, (b) update/remove docs so commands match the actual script (or ship an updated script implementing init/health/notifications), and (c) avoid recommending SYSTEM-level scheduled tasks or clearly explain why elevated privileges are required, the package would be much more coherent and easier to trust.
功能分析
Type: OpenClaw Skill Name: openclaw-gateway-guardian Version: 1.0.3 The bundle is a utility designed to monitor and automatically restart the OpenClaw Gateway service. The primary logic in `scripts/gateway_guardian.py` performs health checks via TCP port monitoring and uses hardcoded subprocess calls to restart the service if it fails. While the documentation (README.md, SKILL.md) claims to support notifications that are not yet implemented in the provided Python script, and includes highly specific local environment paths (e.g., in STATUS.md), there is no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The stated purpose (monitor and restart an OpenClaw gateway) matches the script's behavior: it checks a local port and calls `openclaw gateway restart`. However the package metadata does not declare the openclaw CLI as a required binary even though the code depends on it. Documentation promises notification channels (Feishu/Telegram/WeChat) and an 'init' workflow that the shipped script does not implement. These are inconsistencies between claimed capabilities and actual implementation.
Instruction Scope
SKILL.md (and other docs) instruct users to run commands such as `python scripts/gateway_guardian.py init`, `health`, and references to logs/health/notifications — but the included Python script only supports start|stop|status|logs. The docs also recommend creating scheduled tasks that run as SYSTEM. The runtime instructions therefore ask the agent/user to perform actions the shipped code does not support or that escalate privileges; this is scope creep and can mislead operators.
Install Mechanism
There is no external install spec or downloads — the skill is instruction-only with a local Python script and a small requirements.txt (aiohttp). That lowers supply-chain risk. No network-download install steps or obscure URLs are present in the package itself.
Credentials
The skill declares no required environment variables, but the documentation and example config reference notification tokens and webhooks. The runtime script does not read environment secrets (notifications are disabled by default), but it depends on an external `openclaw` CLI which is not declared in metadata. Also docs suggest running scheduled tasks as SYSTEM (implying higher privileges) without documenting why such privilege is needed.
Persistence & Privilege
The package instructs (in multiple docs) how to create an OS-level scheduled task and even shows it running under the SYSTEM account. The skill metadata itself doesn't request persistent/global privileges, but the install/deployment instructions encourage configuration that would run the guardian with system-level privileges. Combined with the undeclared dependency on an external CLI, this is a privilege-related concern and should be a conscious operator decision rather than a default.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-gateway-guardian
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-gateway-guardian 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Updated scripts/gateway_guardian.py. - Internal code improvements or fixes (details not provided). - No user-facing documentation changes. - Version updated to 1.0.3.
v1.0.2
- Updated scripts/gateway_guardian.py (details of changes not specified). - No changes to documentation (SKILL.md remains at version 1.0.0). - Incremented skill version to 1.0.2.
v1.0.1
- Added main script: scripts/gateway_guardian.py, implementing the core monitoring and protection logic. - Initial release of OpenClaw Gateway Guardian skill.
v1.0.0
Initial release of OpenClaw Gateway Guardian. - Provides automatic monitoring, protection, and restart of the OpenClaw Gateway service. - Features real-time health checks (port and process), health logging, and process protection against multiple instances. - Supports up to 10 auto-restart attempts if the gateway fails. - Offers multi-channel notifications through Feishu, Telegram, and WeChat. - Includes flexible configuration and command-line utilities for status, logs, and health reports.
元数据
Slug openclaw-gateway-guardian
版本 1.0.3
许可证 MIT-0
累计安装 1
当前安装数 0
历史版本数 4
常见问题

Openclaw Gateway Guardian 是什么?

OpenClaw Gateway Guardian - Automatic monitoring, protection, and restart of OpenClaw Gateway service. Prevents gateway from stopping, crashing, or disappear... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 259 次。

如何安装 Openclaw Gateway Guardian?

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

Openclaw Gateway Guardian 是免费的吗?

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

Openclaw Gateway Guardian 支持哪些平台?

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

谁开发了 Openclaw Gateway Guardian?

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

💬 留言讨论