← 返回 Skills 市场
teoslayer

Pilot Fleet Health Monitor Setup

作者 Calin Teodor · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
77
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pilot-fleet-health-monitor-setup
功能描述
Deploy a fleet health monitoring system with 3 agents. Use this skill when: 1. User wants to set up fleet or server health monitoring 2. User is configuring...
使用说明 (SKILL.md)

Fleet Health Monitor Setup

Deploy 3 agents that monitor server health and aggregate alerts.

Roles

Role Hostname Skills Purpose
web-monitor \x3Cprefix>-web-monitor pilot-health, pilot-alert, pilot-metrics Monitors web servers, publishes health alerts
db-monitor \x3Cprefix>-db-monitor pilot-health, pilot-alert, pilot-metrics Monitors databases, publishes health alerts
alert-hub \x3Cprefix>-alert-hub pilot-webhook-bridge, pilot-alert, pilot-event-filter, pilot-slack-bridge Aggregates alerts, forwards to humans

Setup Procedure

Step 1: Ask the user which role this agent should play and what prefix to use.

Step 2: Install the skills for the chosen role:

# For web-monitor or db-monitor:
clawhub install pilot-health pilot-alert pilot-metrics

# For alert-hub:
clawhub install pilot-webhook-bridge pilot-alert pilot-event-filter pilot-slack-bridge

Step 3: Set the hostname:

pilotctl --json set-hostname \x3Cprefix>-\x3Crole>

Step 4: Write the setup manifest:

mkdir -p ~/.pilot/setups
cat > ~/.pilot/setups/fleet-health-monitor.json \x3C\x3C 'MANIFEST'
{
  "setup": "fleet-health-monitor",
  "setup_name": "Fleet Health Monitor",
  "role": "\x3CROLE_ID>",
  "role_name": "\x3CROLE_NAME>",
  "hostname": "\x3Cprefix>-\x3Crole>",
  "description": "\x3CROLE_DESCRIPTION>",
  "skills": { "\x3Cskill>": "\x3Ccontextual description>" },
  "peers": [ { "role": "...", "hostname": "...", "description": "..." } ],
  "data_flows": [ { "direction": "send|receive", "peer": "...", "port": 1002, "topic": "...", "description": "..." } ],
  "handshakes_needed": [ "\x3Cpeer-hostname>" ]
}
MANIFEST

Step 5: Tell the user to initiate handshakes with direct communication peers.

Manifest Templates Per Role

web-monitor

{
  "setup": "fleet-health-monitor",
  "setup_name": "Fleet Health Monitor",
  "role": "web-monitor",
  "role_name": "Web Server Monitor",
  "hostname": "\x3Cprefix>-web-monitor",
  "description": "Watches nginx/app health, CPU, memory, and response times. Emits alert events when thresholds are breached.",
  "skills": {
    "pilot-health": "Check nginx, app endpoints, SSL certs. Run on schedule or on-demand.",
    "pilot-alert": "When health checks fail, publish alert to \x3Cprefix>-alert-hub on topic health-alert.",
    "pilot-metrics": "Collect CPU, memory, disk, and response time. Format as JSON event payloads."
  },
  "peers": [
    { "role": "db-monitor", "hostname": "\x3Cprefix>-db-monitor", "description": "Fellow monitor — does not communicate directly" },
    { "role": "alert-hub", "hostname": "\x3Cprefix>-alert-hub", "description": "Central alert aggregator — receives health-alert events" }
  ],
  "data_flows": [
    { "direction": "send", "peer": "\x3Cprefix>-alert-hub", "port": 1002, "topic": "health-alert", "description": "Health check failures and metric anomalies" }
  ],
  "handshakes_needed": ["\x3Cprefix>-alert-hub"]
}

db-monitor

{
  "setup": "fleet-health-monitor",
  "setup_name": "Fleet Health Monitor",
  "role": "db-monitor",
  "role_name": "Database Monitor",
  "hostname": "\x3Cprefix>-db-monitor",
  "description": "Monitors database connections, query latency, replication lag, and disk usage. Emits alerts on anomalies.",
  "skills": {
    "pilot-health": "Check PostgreSQL/MySQL connections, replication lag, disk usage.",
    "pilot-alert": "When DB health fails, publish alert to \x3Cprefix>-alert-hub on topic health-alert.",
    "pilot-metrics": "Collect query latency, connection pool stats, table sizes."
  },
  "peers": [
    { "role": "web-monitor", "hostname": "\x3Cprefix>-web-monitor", "description": "Fellow monitor — does not communicate directly" },
    { "role": "alert-hub", "hostname": "\x3Cprefix>-alert-hub", "description": "Central alert aggregator — receives health-alert events" }
  ],
  "data_flows": [
    { "direction": "send", "peer": "\x3Cprefix>-alert-hub", "port": 1002, "topic": "health-alert", "description": "Database alerts and replication warnings" }
  ],
  "handshakes_needed": ["\x3Cprefix>-alert-hub"]
}

alert-hub

{
  "setup": "fleet-health-monitor",
  "setup_name": "Fleet Health Monitor",
  "role": "alert-hub",
  "role_name": "Alert Aggregator",
  "hostname": "\x3Cprefix>-alert-hub",
  "description": "Receives alerts from all monitors, filters duplicates and noise, then forwards critical alerts to Slack and PagerDuty via webhooks.",
  "skills": {
    "pilot-webhook-bridge": "Forward critical alerts to Slack and PagerDuty via webhook URLs.",
    "pilot-alert": "Subscribe to health-alert from all monitors. Aggregate and deduplicate.",
    "pilot-event-filter": "Filter noise and low-severity alerts before forwarding.",
    "pilot-slack-bridge": "Post formatted alert summaries to Slack channels."
  },
  "peers": [
    { "role": "web-monitor", "hostname": "\x3Cprefix>-web-monitor", "description": "Sends health alerts from web servers" },
    { "role": "db-monitor", "hostname": "\x3Cprefix>-db-monitor", "description": "Sends health alerts from databases" }
  ],
  "data_flows": [
    { "direction": "receive", "peer": "\x3Cprefix>-web-monitor", "port": 1002, "topic": "health-alert", "description": "Health check failures and metric anomalies" },
    { "direction": "receive", "peer": "\x3Cprefix>-db-monitor", "port": 1002, "topic": "health-alert", "description": "Database alerts and replication warnings" },
    { "direction": "send", "peer": "external", "port": 443, "topic": "slack-forward", "description": "Filtered alerts to Slack and PagerDuty" }
  ],
  "handshakes_needed": ["\x3Cprefix>-web-monitor", "\x3Cprefix>-db-monitor"]
}

Data Flows

  • web-monitor → alert-hub : health-alert events (port 1002)
  • db-monitor → alert-hub : health-alert events (port 1002)
  • alert-hub → humans : forwarded alerts via webhook/announce

Handshakes

# web-monitor and db-monitor handshake with alert-hub:
pilotctl --json handshake \x3Cprefix>-alert-hub "setup: fleet-health-monitor"

# alert-hub handshakes with both monitors:
pilotctl --json handshake \x3Cprefix>-web-monitor "setup: fleet-health-monitor"
pilotctl --json handshake \x3Cprefix>-db-monitor "setup: fleet-health-monitor"

Workflow Example

# On alert-hub — subscribe to health events:
pilotctl --json subscribe \x3Cprefix>-web-monitor health-alert
pilotctl --json subscribe \x3Cprefix>-db-monitor health-alert

# On web-monitor — publish a health alert:
pilotctl --json publish \x3Cprefix>-alert-hub health-alert '{"host":"web-01","status":"critical","cpu":95,"mem":88}'

# On db-monitor — publish a database alert:
pilotctl --json publish \x3Cprefix>-alert-hub health-alert '{"host":"db-01","status":"warning","disk_pct":88,"repl_lag_ms":450}'

Dependencies

Requires pilot-protocol skill, pilotctl binary, clawhub binary, and a running daemon.

安全使用建议
This is a coherent, instruction-only setup guide, but before running it: 1) Verify that 'pilotctl' and 'clawhub' are the legitimate tools you expect (check vendor docs and the provided homepage). 2) Inspect the other skills you will install (pilot-webhook-bridge, pilot-slack-bridge, etc.) because they will handle external webhooks and may require Slack/PagerDuty tokens — only provide those to code you trust. 3) Back up any existing ~/.pilot/setups files because the manifest creation will write a file there. 4) Consider firewall and networking: the setup documents agent-to-agent traffic on port 1002 and forwarding to external services on port 443. 5) If the skill source is unknown or untrusted, review the code of the downstream skills before installing. If you want higher assurance, ask the publisher for signed releases or an official package repository before use.
功能分析
Type: OpenClaw Skill Name: pilot-fleet-health-monitor-setup Version: 1.0.0 The skill bundle is a configuration and orchestration tool designed to set up a multi-agent fleet monitoring system. It uses standard system commands (pilotctl, clawhub) to install dependencies, configure hostnames, and establish peer-to-peer trust (handshakes) as described in SKILL.md and README.md. There are no signs of data exfiltration, unauthorized execution, or malicious prompt injection.
能力标签
crypto
能力评估
Purpose & Capability
Name/description (fleet health monitor setup) match the instructions: installing monitor/alerting skills via clawhub, setting hostnames with pilotctl, creating a per-user manifest, and initiating handshakes between agents. The required binaries (pilotctl, clawhub) are appropriate for this purpose.
Instruction Scope
Instructions are narrowly scoped to setup tasks (install skills, set hostname, write manifest to ~/.pilot/setups, run handshakes, subscribe/publish events). This is within expected scope, but it explicitly instructs installing third‑party bridging skills (e.g., pilot-webhook-bridge, pilot-slack-bridge) and forwarding alerts to external services; those downstream skills will need webhook URLs/credentials and could send data externally — the current SKILL.md does not manage or surface those secrets.
Install Mechanism
This skill has no install spec (instruction-only), so it writes nothing itself beyond telling the operator what commands to run. It does direct use of 'clawhub install' to fetch other skills; the risk depends on what those other skills install. The setup itself does not reference any download URLs or archives.
Credentials
The skill requests no environment variables or credentials itself, which is proportional. Be aware the installed bridging skills (Slack/PagerDuty/webhook bridges) will likely require external webhook URLs or tokens; those are not requested here but will be needed at runtime by the installed skills.
Persistence & Privilege
always is false and the skill does not request elevated or system-wide privileges. It writes a manifest under the user's home (~/.pilot/setups) which is reasonable for a per-user configuration. It instructs initiating network handshakes and opening communication on port 1002 between agents — operationally significant but consistent with the stated purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pilot-fleet-health-monitor-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pilot-fleet-health-monitor-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug pilot-fleet-health-monitor-setup
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Pilot Fleet Health Monitor Setup 是什么?

Deploy a fleet health monitoring system with 3 agents. Use this skill when: 1. User wants to set up fleet or server health monitoring 2. User is configuring... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。

如何安装 Pilot Fleet Health Monitor Setup?

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

Pilot Fleet Health Monitor Setup 是免费的吗?

是的,Pilot Fleet Health Monitor Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Pilot Fleet Health Monitor Setup 支持哪些平台?

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

谁开发了 Pilot Fleet Health Monitor Setup?

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

💬 留言讨论