Pilot Digital Twin Setup
/install pilot-digital-twin-setup
Digital Twin Setup
Deploy 4 agents: sensor-bridge, model-engine, anomaly-detector, and action-planner.
Roles
| Role | Hostname | Skills | Purpose |
|---|---|---|---|
| sensor-bridge | \x3Cprefix>-sensor-bridge |
pilot-stream-data, pilot-metrics, pilot-gossip | Ingests real-time telemetry from physical assets |
| model-engine | \x3Cprefix>-model-engine |
pilot-dataset, pilot-task-router, pilot-consensus | Maintains physics model, runs simulations |
| anomaly-detector | \x3Cprefix>-anomaly-detector |
pilot-event-filter, pilot-alert, pilot-audit-log | Detects drift between real and predicted behavior |
| action-planner | \x3Cprefix>-action-planner |
pilot-webhook-bridge, pilot-cron, pilot-slack-bridge | Schedules maintenance, notifies field teams |
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-bridge:
clawhub install pilot-stream-data pilot-metrics pilot-gossip
# For model-engine:
clawhub install pilot-dataset pilot-task-router pilot-consensus
# For anomaly-detector:
clawhub install pilot-event-filter pilot-alert pilot-audit-log
# For action-planner:
clawhub install pilot-webhook-bridge pilot-cron pilot-slack-bridge
Step 3: Set the hostname and write the manifest to ~/.pilot/setups/digital-twin.json.
Step 4: Tell the user to initiate handshakes with the peers for their role.
Manifest Templates Per Role
sensor-bridge
{
"setup": "digital-twin", "role": "sensor-bridge", "role_name": "Sensor Bridge",
"hostname": "\x3Cprefix>-sensor-bridge",
"skills": {
"pilot-stream-data": "Ingest real-time sensor telemetry from physical assets.",
"pilot-metrics": "Track sensor health, sampling rates, and data quality.",
"pilot-gossip": "Discover and sync with peer sensor bridges."
},
"data_flows": [{ "direction": "send", "peer": "\x3Cprefix>-model-engine", "port": 1002, "topic": "telemetry", "description": "Unified telemetry stream from physical assets" }],
"handshakes_needed": ["\x3Cprefix>-model-engine"]
}
model-engine
{
"setup": "digital-twin", "role": "model-engine", "role_name": "Model Engine",
"hostname": "\x3Cprefix>-model-engine",
"skills": {
"pilot-dataset": "Store physics model parameters and simulation state.",
"pilot-task-router": "Route simulation tasks across asset models.",
"pilot-consensus": "Reconcile model state across redundant engines."
},
"data_flows": [
{ "direction": "receive", "peer": "\x3Cprefix>-sensor-bridge", "port": 1002, "topic": "telemetry", "description": "Real-time sensor data" },
{ "direction": "send", "peer": "\x3Cprefix>-anomaly-detector", "port": 1002, "topic": "prediction", "description": "Expected behavior baselines and drift metrics" }
],
"handshakes_needed": ["\x3Cprefix>-sensor-bridge", "\x3Cprefix>-anomaly-detector"]
}
anomaly-detector
{
"setup": "digital-twin", "role": "anomaly-detector", "role_name": "Anomaly Detector",
"hostname": "\x3Cprefix>-anomaly-detector",
"skills": {
"pilot-event-filter": "Filter predictions by drift threshold and severity.",
"pilot-alert": "Emit anomaly alerts for critical deviations.",
"pilot-audit-log": "Log all detected anomalies with evidence snapshots."
},
"data_flows": [
{ "direction": "receive", "peer": "\x3Cprefix>-model-engine", "port": 1002, "topic": "prediction", "description": "Model predictions to compare" },
{ "direction": "send", "peer": "\x3Cprefix>-action-planner", "port": 1002, "topic": "anomaly-alert", "description": "Anomaly alerts with severity and root cause" }
],
"handshakes_needed": ["\x3Cprefix>-model-engine", "\x3Cprefix>-action-planner"]
}
action-planner
{
"setup": "digital-twin", "role": "action-planner", "role_name": "Action Planner",
"hostname": "\x3Cprefix>-action-planner",
"skills": {
"pilot-webhook-bridge": "Push maintenance orders to field team systems.",
"pilot-cron": "Schedule maintenance windows during low-impact periods.",
"pilot-slack-bridge": "Notify operations teams of recommended interventions."
},
"data_flows": [
{ "direction": "receive", "peer": "\x3Cprefix>-anomaly-detector", "port": 1002, "topic": "anomaly-alert", "description": "Anomaly alerts to act on" },
{ "direction": "send", "peer": "external", "port": 443, "topic": "maintenance-order", "description": "Work orders to field management systems" }
],
"handshakes_needed": ["\x3Cprefix>-anomaly-detector"]
}
Data Flows
sensor-bridge -> model-engine: real-time telemetry from physical assets (port 1002)model-engine -> anomaly-detector: predictions and expected behavior baselines (port 1002)anomaly-detector -> action-planner: anomaly alerts with severity and root cause (port 1002)action-planner -> external: maintenance orders to field team systems (port 443)
Workflow Example
# On sensor-bridge -- stream telemetry:
pilotctl --json publish \x3Cprefix>-model-engine telemetry '{"asset_id":"PUMP-A7","sensors":{"temperature_c":87.3,"vibration_mm_s":4.2}}'
# On model-engine -- send prediction:
pilotctl --json publish \x3Cprefix>-anomaly-detector prediction '{"asset_id":"PUMP-A7","drift_pct":{"temperature":6.3,"vibration":50.0}}'
# On anomaly-detector -- alert planner:
pilotctl --json publish \x3Cprefix>-action-planner anomaly-alert '{"asset_id":"PUMP-A7","severity":"warning","anomaly_type":"bearing_degradation"}'
Dependencies
Requires pilot-protocol skill, pilotctl binary, clawhub binary, and a running daemon.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pilot-digital-twin-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/pilot-digital-twin-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Pilot Digital Twin Setup 是什么?
Deploy a digital twin platform with 4 agents. Use this skill when: 1. User wants to set up a digital twin for physical asset monitoring and predictive mainte... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 69 次。
如何安装 Pilot Digital Twin Setup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pilot-digital-twin-setup」即可一键安装,无需额外配置。
Pilot Digital Twin Setup 是免费的吗?
是的,Pilot Digital Twin Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Pilot Digital Twin Setup 支持哪些平台?
Pilot Digital Twin Setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Pilot Digital Twin Setup?
由 Calin Teodor(@teoslayer)开发并维护,当前版本 v1.0.0。