Pilot Multi Region Content Sync Setup
/install pilot-multi-region-content-sync-setup
Multi-Region Content Sync Setup
Deploy 4 agents: 1 origin + 3 regional edge nodes for content distribution.
Roles
| Role | Hostname | Skills | Purpose |
|---|---|---|---|
| origin | \x3Cprefix>-origin |
pilot-sync, pilot-share, pilot-broadcast, pilot-heartbeat-monitor | Source of truth, broadcasts updates |
| edge-us | \x3Cprefix>-edge-us |
pilot-sync, pilot-share, pilot-health, pilot-heartbeat-monitor | US regional edge |
| edge-eu | \x3Cprefix>-edge-eu |
pilot-sync, pilot-share, pilot-health, pilot-heartbeat-monitor | EU regional edge |
| edge-asia | \x3Cprefix>-edge-asia |
pilot-sync, pilot-share, pilot-health, pilot-heartbeat-monitor | Asia regional edge |
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 origin:
clawhub install pilot-sync pilot-share pilot-broadcast pilot-heartbeat-monitor
# For any edge node:
clawhub install pilot-sync pilot-share pilot-health pilot-heartbeat-monitor
Step 3: Set the hostname:
pilotctl --json set-hostname \x3Cprefix>-\x3Crole>
Step 4: Write the role-specific JSON manifest to ~/.pilot/setups/multi-region-content-sync.json.
Step 5: Tell the user to initiate handshakes.
Manifest Templates Per Role
origin
{
"setup": "multi-region-content-sync", "role": "origin", "role_name": "Content Origin",
"hostname": "\x3Cprefix>-origin",
"description": "Source of truth for all content. Broadcasts updates to all edge nodes.",
"skills": {
"pilot-sync": "Push content changes to all edge nodes.",
"pilot-share": "Transfer new content files to edges.",
"pilot-broadcast": "Broadcast content-update events to all edges simultaneously.",
"pilot-heartbeat-monitor": "Track heartbeats from all edges, alert when a region goes dark."
},
"peers": [
{ "role": "edge-us", "hostname": "\x3Cprefix>-edge-us", "description": "US regional edge node" },
{ "role": "edge-eu", "hostname": "\x3Cprefix>-edge-eu", "description": "EU regional edge node" },
{ "role": "edge-asia", "hostname": "\x3Cprefix>-edge-asia", "description": "Asia regional edge node" }
],
"data_flows": [
{ "direction": "send", "peer": "\x3Cprefix>-edge-us", "port": 1001, "topic": "content-update", "description": "Content updates" },
{ "direction": "send", "peer": "\x3Cprefix>-edge-eu", "port": 1001, "topic": "content-update", "description": "Content updates" },
{ "direction": "send", "peer": "\x3Cprefix>-edge-asia", "port": 1001, "topic": "content-update", "description": "Content updates" },
{ "direction": "receive", "peer": "\x3Cprefix>-edge-us", "port": 1002, "topic": "heartbeat", "description": "Health heartbeats" },
{ "direction": "receive", "peer": "\x3Cprefix>-edge-eu", "port": 1002, "topic": "heartbeat", "description": "Health heartbeats" },
{ "direction": "receive", "peer": "\x3Cprefix>-edge-asia", "port": 1002, "topic": "heartbeat", "description": "Health heartbeats" }
],
"handshakes_needed": ["\x3Cprefix>-edge-us", "\x3Cprefix>-edge-eu", "\x3Cprefix>-edge-asia"]
}
edge-us / edge-eu / edge-asia
{
"setup": "multi-region-content-sync", "role": "edge-\x3Cregion>", "role_name": "\x3CRegion> Edge Node",
"hostname": "\x3Cprefix>-edge-\x3Cregion>",
"description": "Serves content for the \x3Cregion> region. Syncs from origin and reports health.",
"skills": {
"pilot-sync": "Pull content updates from origin.",
"pilot-share": "Receive content files from origin.",
"pilot-health": "Monitor local health and sync status.",
"pilot-heartbeat-monitor": "Send periodic heartbeats to origin."
},
"peers": [{ "role": "origin", "hostname": "\x3Cprefix>-origin", "description": "Content source — receives updates from here" }],
"data_flows": [
{ "direction": "receive", "peer": "\x3Cprefix>-origin", "port": 1001, "topic": "content-update", "description": "Content updates" },
{ "direction": "send", "peer": "\x3Cprefix>-origin", "port": 1002, "topic": "heartbeat", "description": "Health heartbeats" }
],
"handshakes_needed": ["\x3Cprefix>-origin"]
}
Data Flows
origin → edge-*: content updates (port 1001)edge-* → origin: heartbeat and sync confirmation (port 1002)
Workflow Example
# On origin — broadcast content:
pilotctl --json send-file \x3Cprefix>-edge-us ./content/index.html
pilotctl --json publish \x3Cprefix>-edge-us content-update '{"file":"index.html","version":42}'
# On edge — confirm and heartbeat:
pilotctl --json publish \x3Cprefix>-origin sync-complete '{"region":"us","version":42}'
pilotctl --json publish \x3Cprefix>-origin heartbeat '{"region":"us","status":"healthy"}'
Dependencies
Requires pilot-protocol skill, pilotctl binary, clawhub binary, and a running daemon.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pilot-multi-region-content-sync-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/pilot-multi-region-content-sync-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Pilot Multi Region Content Sync Setup 是什么?
Deploy a multi-region content distribution system with 4 agents. Use this skill when: 1. User wants to sync content across geographic regions 2. User is conf... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 60 次。
如何安装 Pilot Multi Region Content Sync Setup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pilot-multi-region-content-sync-setup」即可一键安装,无需额外配置。
Pilot Multi Region Content Sync Setup 是免费的吗?
是的,Pilot Multi Region Content Sync Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Pilot Multi Region Content Sync Setup 支持哪些平台?
Pilot Multi Region Content Sync Setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Pilot Multi Region Content Sync Setup?
由 Calin Teodor(@teoslayer)开发并维护,当前版本 v1.0.0。