SkillHub

nexus-safe

v0.1.6

为 Docker 和 PM2 提供本地系统健康监控与受控服务重启,完全隐私零外部调用。

Sourced from ClawHub, Authored by Marouane

Installation

Please help me install the skill `nexus-safe` from SkillHub official store. npx skills add mrnsmh/nexus-safe

Skill: Nexus-Safe (V1.3.0)

Autonomous local System Reliability Agent for OpenClaw.

🛡️ Privacy & Security Policy

  • Runtime Privacy: Strictly 100% local. No metrics, logs, or system data ever leave your server. No outbound network calls are performed by the script.
  • Setup Notice: An internet connection is required only during initial setup to install the psutil dependency via pip.
  • Safe-by-default: Recovery actions are locked until explicitly enabled.

📋 Capabilities

  • /nexus-safe status : Real-time system health (CPU, RAM, Disk, Load).
  • /nexus-safe logs : Diagnostic log retrieval (Docker/PM2).
  • /nexus-safe recover : Policy-controlled service restart.

⚙️ Logic & Enforcement

  • Allowlist Required: Restarts only work for services in NEXUS_SAFE_ALLOWED_DOCKER/PM2.
  • Logs-First Policy: The tool blocks recovery if logs haven't been reviewed within the last 5 minutes.
  • Rate Limiting: Sliding window protection (Max 3 restarts per hour).

🚀 Installation

  1. pip install psutil
  2. Ensure docker and pm2 are installed and in your PATH.