← 返回 Skills 市场
rfdiosuao

Openclaw Mutual Repair

作者 rfdiosuao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
108
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-mutual-repair
功能描述
Enables two OpenClaw instances to monitor each other via heartbeat, perform health checks, diagnose issues, and remotely repair for 24/7 stable operation.
安全使用建议
This skill broadly matches its description (two-node heartbeat, health checks, and remote repair), but review these items before installing: - Remove or rotate any leaked credentials: PUBLISH.md contains what looks like a Claw-CLI token — treat it as compromised and rotate it. - Audit the full src/index.ts (the provided snippet was truncated) to confirm how repairs are executed (particularly whether it runs ssh/remote commands and with what arguments). If repairs invoke shell commands or SSH, ensure the commands are explicit and limited, and that SSH keys are tightly controlled. - Run the skill in an isolated/staging environment first. The service listens by default on 0.0.0.0:9528 — configure firewalls to restrict access to the peer only and avoid exposing the port to the public internet. - Ensure the host has expected utilities (pm2, nc, ss, ping) and that parsing of their output is robust for your OS; poorly parsed outputs can lead to incorrect diagnoses. - Prefer least privilege: provide only the network connectivity necessary to the configured peer, and do not enable remote-repair until you have confirmed its exact behavior. If you want, I can: 1) search the repo for other potential secrets, 2) try to reconstruct the truncated part if you can provide the rest of src/index.ts, or 3) produce a short checklist of safe configuration and firewall rules for deploying this skill.
功能分析
Type: OpenClaw Skill Name: openclaw-mutual-repair Version: 1.0.0 The skill implements a 'mutual repair' system that allows two nodes to monitor each other and remotely restart processes. It is classified as suspicious because it uses high-risk functions like `child_process.exec` to run system commands (vulnerable to shell injection via the `remoteHost` configuration in `src/index.ts`) and starts an unauthenticated HTTP server on port 9528 that can trigger remote process restarts. Additionally, `PUBLISH.md` contains a hardcoded CLI token (`clh_wfoNYpWcWq0gNC7X0DfsbL2cW3Ayba7jxmGaNf_3IU0`), which is a significant security oversight. While these capabilities are aligned with the stated purpose, the lack of authentication and input sanitization creates a high risk of unauthorized remote code execution.
能力评估
Purpose & Capability
Name, README, SKILL.md, skill.json and src/index.ts all describe a two-node heartbeat, health-check and repair system. The declared permissions (exec, network) match the implementation which runs shell checks and posts heartbeats to the peer; these capabilities are proportionate to the stated purpose.
Instruction Scope
SKILL.md confines instructions to configuring hosts/ports, starting/stopping the service and using health/diagnose/repair commands. The runtime code executes local system commands (free, top, pm2, ss, ping, nc) and sends HTTP requests to the configured remoteHost — this is within the expected scope but means the skill will read system state and may run repair commands when triggered.
Install Mechanism
No explicit install spec is provided (instruction-only) but the package contains code and package.json (axios dependency). That means ClawHub will install code/deps when added; lack of an install/verified release URL increases the surface for supply-chain concerns compared with a well-known package release mechanism.
Credentials
The skill declares no required environment variables (good) and permissions are reasonable for the task. However, documentation (PUBLISH.md) contains an embedded Claw-CLI token string, which appears to be a credential leaked into the repo; this is unrelated to normal runtime needs and is a red flag. Also remote-repair behavior may require SSH access (SKILL.md mentions SSH keys), so operators should ensure SSH use is limited and keys are managed securely.
Persistence & Privilege
always:false and default autonomous invocation are set (normal). The skill does not request system-wide config changes in the manifest. Autonomous invocation combined with exec/network is powerful but expected for an ops/repair skill; no evidence it demands persistent elevated platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-mutual-repair
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-mutual-repair 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
OpenClaw Mutual Repair v1.0.0 - 初始版本发布 - 实现双机心跳监控与自动告警 - 支持内存/CPU/进程健康检查 - 提供故障诊断和远程修复能力(PM2/systemd) - 支持故障排查指令与安全隔离建议
元数据
Slug openclaw-mutual-repair
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Openclaw Mutual Repair 是什么?

Enables two OpenClaw instances to monitor each other via heartbeat, perform health checks, diagnose issues, and remotely repair for 24/7 stable operation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。

如何安装 Openclaw Mutual Repair?

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

Openclaw Mutual Repair 是免费的吗?

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

Openclaw Mutual Repair 支持哪些平台?

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

谁开发了 Openclaw Mutual Repair?

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

💬 留言讨论