📦 Pilot — 飞行员

v1.0.0

多区域内容同步配置 部署一个包含 4 个节点的多区域内容分发系统。 适用场景: 1. 用户需要在不同地理区域同步内容 2. 用户正在配置跨区域内容分发 3. 用户希望提升全球访问性能 4. 用户需要跨区域冗余备份 5. 用户正在优化全球内容交付

0· 28·0 当前·0 累计
teoslayer 头像by @teoslayer (Calin Teodor)
下载技能包
最后更新
2026/4/23
0
安全扫描
VirusTotal
Pending
查看报告
OpenClaw
安全
high confidence
该技能的需求与运行时指令与其声明的“设置4-agent多区域内容同步”目标一致;所请求的内容无不相关或过度之处,仅存在几处细微的文档不一致需留意。
评估建议
该技能如其所述——使用 pilotctl 和 clawhub 部署一个 origin 与三个 edge agent。安装或运行前:1)确认 pilotctl 与 clawhub 来自可信源且为合法二进制文件;技能假定它们已存在。2)技能将在 ~/.pilot/setups/multi-region-content-sync.json 生成 manifest;若关心既有配置,请备份或检查该目录。3)握手/信任步骤会开启 agent 间网络通信并隐式交换信任信息,仅与你控制或信任的主机握手。4)clawhub 会安装其他 pilot-* 技能,安装前请审查这些包的来源与权限。5)确保所需端口(1001、1002)及防火墙规则符合环境要求。如需更严格审查,请提供 pilotctl、clawhub 及 pilot-* 技能的版本与源位置,以便检查这些制品。...
详细分析 ▾
用途与能力
名称/描述、所需二进制文件(pilotctl、clawhub)及声明的依赖(pilot-* skills)均与多区域内容同步配置一致。 微小差异:SKILL.md 要求将清单写入 ~/.pilot/setups/multi-region-content-sync.json,但 registry 元数据未列出必需配置路径——技能会在未声明该写入路径的情况下创建/写入每用户配置文件。
指令范围
指令严格限定在预期范围内:通过 clawhub 安装与 pilot 相关的技能、用 pilotctl 设置主机名、编写 role manifest,以及发起握手。指令并未要求 agent 读取无关文件或环境变量。注意,manifest 明确写入用户主目录(~/.pilot/...),握手/信任操作将在 agent 之间交换网络级信任数据——这是本安装流程的预期行为,但涉及网络通信并会创建持久配置。
安装机制
这是一个仅提供指令的技能(无安装规范,无下载代码)。从安装机制角度看风险较低。它依赖现有二进制文件(pilotctl、clawhub)已存在;技能本身不提供安装程序,也不下载代码。
凭证需求
该 skill 未声明任何必需的环境变量或凭据,其运行时指令也未引用任何密钥或外部 API key。它依赖网络连接以及通过 clawhub 安装的其他 pilot-* skill,这些 skill 本身可能会请求凭据——但这不在本 skill 的声明需求范围内。
持久化与权限
该 skill 未设置 always:true,也未请求 elevated 或 system-wide 权限。它指示在 ~/.pilot 下创建 per-user manifest 并通过 clawhub 安装其他 pilot skills,这属于此类安装的正常流程。它不会尝试修改其他 skills 的配置或系统级 agent 设置,仅写入自身 manifest。
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/23

首次发布

Pending

安装命令

点击复制
官方npx clawhub@latest install pilot-multi-region-content-sync-setup
镜像加速npx clawhub@latest install pilot-multi-region-content-sync-setup --registry https://cn.longxiaskill.com

技能文档

部署 4 个 agent:1 个源站 + 3 个区域边缘节点。

角色

| 角色 | Hostname | Skills | 用途 | |------------|--------------------|------------------------------------------------------------------------|--------------------| | origin | -origin | pilot-sync, pilot-share, pilot-broadcast, pilot-heartbeat-monitor | 内容源,广播更新 | | edge-us | -edge-us | pilot-sync, pilot-share, pilot-health, pilot-heartbeat-monitor | 美国区域边缘 | | edge-eu | -edge-eu | pilot-sync, pilot-share, pilot-health, pilot-heartbeat-monitor | 欧洲区域边缘 | | edge-asia | -edge-asia| pilot-sync, pilot-share, pilot-health, pilot-heartbeat-monitor | 亚洲区域边缘 |

部署步骤

步骤 1: 询问用户该 agent 的角色及前缀。 步骤 2: 为对应角色安装 skills: ``bash # 源站: clawhub install pilot-sync pilot-share pilot-broadcast pilot-heartbeat-monitor # 任意边缘: clawhub install pilot-sync pilot-share pilot-health pilot-heartbeat-monitor ` 步骤 3: 设置 hostname: `bash pilotctl --json set-hostname - ` 步骤 4: 将角色专属 JSON manifest 写入 ~/.pilot/setups/multi-region-content-sync.json步骤 5: 提示用户发起握手。

各角色 Manifest 模板

origin

`json { "setup": "multi-region-content-sync", "role": "origin", "role_name": "Content Origin", "hostname": "-origin", "description": "所有内容的权威源,向所有边缘节点广播更新。", "skills": { "pilot-sync": "向所有边缘推送内容变更。", "pilot-share": "向边缘传输新内容文件。", "pilot-broadcast": "同时向所有边缘广播内容更新事件。", "pilot-heartbeat-monitor": "跟踪所有边缘心跳,区域失联时告警。" }, "peers": [ { "role": "edge-us", "hostname": "-edge-us", "description": "美国区域边缘节点" }, { "role": "edge-eu", "hostname": "-edge-eu", "description": "欧洲区域边缘节点" }, { "role": "edge-asia", "hostname": "-edge-asia", "description": "亚洲区域边缘节点" } ], "data_flows": [ { "direction": "send", "peer": "-edge-us", "port": 1001, "topic": "content-update", "description": "内容更新" }, { "direction": "send", "peer": "-edge-eu", "port": 1001, "topic": "content-update", "description": "内容更新" }, { "direction": "send", "peer": "-edge-asia", "port": 1001, "topic": "content-update", "description": "内容更新" }, { "direction": "receive", "peer": "-edge-us", "port": 1002, "topic": "heartbeat", "description": "健康心跳" }, { "direction": "receive", "peer": "-edge-eu", "port": 1002, "topic": "heartbeat", "description": "健康心跳" }, { "direction": "receive", "peer": "-edge-asia", "port": 1002, "topic": "heartbeat", "description": "健康心跳" } ], "handshakes_needed": ["-edge-us", "-edge-eu", "-edge-asia"] } `

edge-us / edge-eu / edge-asia

`json { "setup": "multi-region-content-sync", "role": "edge-", "role_name": " Edge Node", "hostname": "-edge-", "description": "为 区域提供内容,从源站同步并上报健康状态。", "skills": { "pilot-sync": "从源站拉取内容更新。", "pilot-share": "接收来自源站的文件。", "pilot-health": "监控本地健康与同步状态。", "pilot-heartbeat-monitor": "定期向源站发送心跳。" }, "peers": [{ "role": "origin", "hostname": "-origin", "description": "内容源——从此接收更新" }], "data_flows": [ { "direction": "receive", "peer": "-origin", "port": 1001, "topic": "content-update", "description": "内容更新" }, { "direction": "send", "peer": "-origin", "port": 1002, "topic": "heartbeat", "description": "健康心跳" } ], "handshakes_needed": ["-origin"] } `

数据流

  • origin → edge-:内容更新(端口 1001)
  • edge- → origin`:健康心跳(端口 1002)
数据来源ClawHub ↗ · 中文优化:龙虾技能库