Pilot Disaster Response Setup
/install pilot-disaster-response-setup
Disaster Response Setup
Deploy 4 agents: sensor-hub, coordinator, resource-allocator, and comms.
Roles
| Role | Hostname | Skills | Purpose |
|---|---|---|---|
| sensor-hub | \x3Cprefix>-sensor-hub |
pilot-stream-data, pilot-metrics, pilot-gossip | Aggregates weather, seismic, and flood sensor feeds |
| coordinator | \x3Cprefix>-coordinator |
pilot-task-router, pilot-consensus, pilot-audit-log | Assesses severity, activates response protocols |
| resource-allocator | \x3Cprefix>-resource-allocator |
pilot-dataset, pilot-event-filter, pilot-escrow | Manages supplies, vehicles, personnel deployment |
| comms | \x3Cprefix>-comms |
pilot-announce, pilot-slack-bridge, pilot-webhook-bridge | Broadcasts alerts, coordinates with agencies |
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 sensor-hub:
clawhub install pilot-stream-data pilot-metrics pilot-gossip
# For coordinator:
clawhub install pilot-task-router pilot-consensus pilot-audit-log
# For resource-allocator:
clawhub install pilot-dataset pilot-event-filter pilot-escrow
# For comms:
clawhub install pilot-announce pilot-slack-bridge pilot-webhook-bridge
Step 3: Set the hostname and write the manifest to ~/.pilot/setups/disaster-response.json.
Step 4: Tell the user to initiate handshakes with the peers for their role.
Step 5: Verify connectivity with pilotctl --json trust.
Manifest Templates Per Role
sensor-hub
{"setup":"disaster-response","role":"sensor-hub","role_name":"Sensor Hub","hostname":"\x3Cprefix>-sensor-hub","skills":{"pilot-stream-data":"Ingest feeds from weather stations, seismic sensors, and flood gauges.","pilot-metrics":"Track environmental thresholds and anomaly detection rates.","pilot-gossip":"Share sensor health and coverage status across hub nodes."},"data_flows":[{"direction":"send","peer":"\x3Cprefix>-coordinator","port":1002,"topic":"disaster-alert","description":"Disaster alerts with severity and location"}],"handshakes_needed":["\x3Cprefix>-coordinator"]}
coordinator
{"setup":"disaster-response","role":"coordinator","role_name":"Response Coordinator","hostname":"\x3Cprefix>-coordinator","skills":{"pilot-task-router":"Route response tasks to appropriate teams by type and location.","pilot-consensus":"Coordinate multi-agency response decisions.","pilot-audit-log":"Log all response decisions for post-incident review."},"data_flows":[{"direction":"receive","peer":"\x3Cprefix>-sensor-hub","port":1002,"topic":"disaster-alert","description":"Disaster alerts from sensor hub"},{"direction":"send","peer":"\x3Cprefix>-resource-allocator","port":1002,"topic":"resource-request","description":"Resource requests with priority"},{"direction":"send","peer":"\x3Cprefix>-comms","port":1002,"topic":"public-alert","description":"Public alerts with instructions"}],"handshakes_needed":["\x3Cprefix>-sensor-hub","\x3Cprefix>-resource-allocator","\x3Cprefix>-comms"]}
resource-allocator
{"setup":"disaster-response","role":"resource-allocator","role_name":"Resource Allocator","hostname":"\x3Cprefix>-resource-allocator","skills":{"pilot-dataset":"Store inventory of supplies, vehicles, and personnel availability.","pilot-event-filter":"Filter requests by priority and match to available resources.","pilot-escrow":"Hold resource reservations until deployment is confirmed."},"data_flows":[{"direction":"receive","peer":"\x3Cprefix>-coordinator","port":1002,"topic":"resource-request","description":"Resource requests from coordinator"},{"direction":"send","peer":"\x3Cprefix>-comms","port":1002,"topic":"deployment-status","description":"Deployment status and resource availability"}],"handshakes_needed":["\x3Cprefix>-coordinator","\x3Cprefix>-comms"]}
comms
{"setup":"disaster-response","role":"comms","role_name":"Communications Hub","hostname":"\x3Cprefix>-comms","skills":{"pilot-announce":"Broadcast emergency alerts to all subscribed channels.","pilot-slack-bridge":"Send coordination updates to agency Slack channels.","pilot-webhook-bridge":"Push alerts to external emergency broadcast systems."},"data_flows":[{"direction":"receive","peer":"\x3Cprefix>-coordinator","port":1002,"topic":"public-alert","description":"Public alerts from coordinator"},{"direction":"receive","peer":"\x3Cprefix>-resource-allocator","port":1002,"topic":"deployment-status","description":"Deployment updates from allocator"}],"handshakes_needed":["\x3Cprefix>-coordinator","\x3Cprefix>-resource-allocator"]}
Data Flows
sensor-hub -> coordinator: disaster alerts with severity and geographic data (port 1002)coordinator -> resource-allocator: resource requests with priority and location (port 1002)coordinator -> comms: public alerts with severity and instructions (port 1002)resource-allocator -> comms: deployment status and resource availability (port 1002)
Handshakes
pilotctl --json handshake \x3Cprefix>-coordinator "setup: disaster-response"
pilotctl --json handshake \x3Cprefix>-sensor-hub "setup: disaster-response"
pilotctl --json handshake \x3Cprefix>-resource-allocator "setup: disaster-response"
pilotctl --json handshake \x3Cprefix>-comms "setup: disaster-response"
Workflow Example
# On sensor-hub -- publish disaster alert:
pilotctl --json publish \x3Cprefix>-coordinator disaster-alert '{"type":"flood","severity":"high","location":"houston-metro","confidence":0.94}'
# On coordinator -- request resources:
pilotctl --json publish \x3Cprefix>-resource-allocator resource-request '{"incident_id":"INC-2841","type":"flood","teams_needed":12,"priority":"critical"}'
# On coordinator -- broadcast public alert:
pilotctl --json publish \x3Cprefix>-comms public-alert '{"incident_id":"INC-2841","severity":"high","message":"Flash flood warning. Seek higher ground."}'
# On resource-allocator -- report deployment:
pilotctl --json publish \x3Cprefix>-comms deployment-status '{"incident_id":"INC-2841","teams_deployed":8,"eta_min":45}'
Dependencies
Requires pilot-protocol skill, pilotctl binary, clawhub binary, and a running daemon.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pilot-disaster-response-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/pilot-disaster-response-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Pilot Disaster Response Setup 是什么?
Deploy a disaster response coordination system with 4 agents. Use this skill when: 1. User wants to set up coordinated disaster monitoring, response coordina... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。
如何安装 Pilot Disaster Response Setup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pilot-disaster-response-setup」即可一键安装,无需额外配置。
Pilot Disaster Response Setup 是免费的吗?
是的,Pilot Disaster Response Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Pilot Disaster Response Setup 支持哪些平台?
Pilot Disaster Response Setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Pilot Disaster Response Setup?
由 Calin Teodor(@teoslayer)开发并维护,当前版本 v1.0.0。