{"id":"41171cce-6dd8-4114-81e6-62734636709a","shortId":"pp6MMB","kind":"skill","title":"pilot-digital-twin-setup","tagline":"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 maintenance 2. User is configuring agents for sensor ingestion, physics simulation, or anomaly detection 3. User asks about pred","description":"# Digital Twin Setup\n\nDeploy 4 agents: sensor-bridge, model-engine, anomaly-detector, and action-planner.\n\n## Roles\n\n| Role | Hostname | Skills | Purpose |\n|------|----------|--------|---------|\n| sensor-bridge | `<prefix>-sensor-bridge` | pilot-stream-data, pilot-metrics, pilot-gossip | Ingests real-time telemetry from physical assets |\n| model-engine | `<prefix>-model-engine` | pilot-dataset, pilot-task-router, pilot-consensus | Maintains physics model, runs simulations |\n| anomaly-detector | `<prefix>-anomaly-detector` | pilot-event-filter, pilot-alert, pilot-audit-log | Detects drift between real and predicted behavior |\n| action-planner | `<prefix>-action-planner` | pilot-webhook-bridge, pilot-cron, pilot-slack-bridge | Schedules maintenance, notifies field teams |\n\n## Setup Procedure\n\n**Step 1:** Ask the user which role this agent should play and what prefix to use.\n\n**Step 2:** Install the skills for the chosen role:\n```bash\n# For sensor-bridge:\nclawhub install pilot-stream-data pilot-metrics pilot-gossip\n# For model-engine:\nclawhub install pilot-dataset pilot-task-router pilot-consensus\n# For anomaly-detector:\nclawhub install pilot-event-filter pilot-alert pilot-audit-log\n# For action-planner:\nclawhub install pilot-webhook-bridge pilot-cron pilot-slack-bridge\n```\n\n**Step 3:** Set the hostname and write the manifest to `~/.pilot/setups/digital-twin.json`.\n\n**Step 4:** Tell the user to initiate handshakes with the peers for their role.\n\n## Manifest Templates Per Role\n\n### sensor-bridge\n```json\n{\n  \"setup\": \"digital-twin\", \"role\": \"sensor-bridge\", \"role_name\": \"Sensor Bridge\",\n  \"hostname\": \"<prefix>-sensor-bridge\",\n  \"skills\": {\n    \"pilot-stream-data\": \"Ingest real-time sensor telemetry from physical assets.\",\n    \"pilot-metrics\": \"Track sensor health, sampling rates, and data quality.\",\n    \"pilot-gossip\": \"Discover and sync with peer sensor bridges.\"\n  },\n  \"data_flows\": [{ \"direction\": \"send\", \"peer\": \"<prefix>-model-engine\", \"port\": 1002, \"topic\": \"telemetry\", \"description\": \"Unified telemetry stream from physical assets\" }],\n  \"handshakes_needed\": [\"<prefix>-model-engine\"]\n}\n```\n\n### model-engine\n```json\n{\n  \"setup\": \"digital-twin\", \"role\": \"model-engine\", \"role_name\": \"Model Engine\",\n  \"hostname\": \"<prefix>-model-engine\",\n  \"skills\": {\n    \"pilot-dataset\": \"Store physics model parameters and simulation state.\",\n    \"pilot-task-router\": \"Route simulation tasks across asset models.\",\n    \"pilot-consensus\": \"Reconcile model state across redundant engines.\"\n  },\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-sensor-bridge\", \"port\": 1002, \"topic\": \"telemetry\", \"description\": \"Real-time sensor data\" },\n    { \"direction\": \"send\", \"peer\": \"<prefix>-anomaly-detector\", \"port\": 1002, \"topic\": \"prediction\", \"description\": \"Expected behavior baselines and drift metrics\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-sensor-bridge\", \"<prefix>-anomaly-detector\"]\n}\n```\n\n### anomaly-detector\n```json\n{\n  \"setup\": \"digital-twin\", \"role\": \"anomaly-detector\", \"role_name\": \"Anomaly Detector\",\n  \"hostname\": \"<prefix>-anomaly-detector\",\n  \"skills\": {\n    \"pilot-event-filter\": \"Filter predictions by drift threshold and severity.\",\n    \"pilot-alert\": \"Emit anomaly alerts for critical deviations.\",\n    \"pilot-audit-log\": \"Log all detected anomalies with evidence snapshots.\"\n  },\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-model-engine\", \"port\": 1002, \"topic\": \"prediction\", \"description\": \"Model predictions to compare\" },\n    { \"direction\": \"send\", \"peer\": \"<prefix>-action-planner\", \"port\": 1002, \"topic\": \"anomaly-alert\", \"description\": \"Anomaly alerts with severity and root cause\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-model-engine\", \"<prefix>-action-planner\"]\n}\n```\n\n### action-planner\n```json\n{\n  \"setup\": \"digital-twin\", \"role\": \"action-planner\", \"role_name\": \"Action Planner\",\n  \"hostname\": \"<prefix>-action-planner\",\n  \"skills\": {\n    \"pilot-webhook-bridge\": \"Push maintenance orders to field team systems.\",\n    \"pilot-cron\": \"Schedule maintenance windows during low-impact periods.\",\n    \"pilot-slack-bridge\": \"Notify operations teams of recommended interventions.\"\n  },\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-anomaly-detector\", \"port\": 1002, \"topic\": \"anomaly-alert\", \"description\": \"Anomaly alerts to act on\" },\n    { \"direction\": \"send\", \"peer\": \"external\", \"port\": 443, \"topic\": \"maintenance-order\", \"description\": \"Work orders to field management systems\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-anomaly-detector\"]\n}\n```\n\n## Data Flows\n\n- `sensor-bridge -> model-engine` : real-time telemetry from physical assets (port 1002)\n- `model-engine -> anomaly-detector` : predictions and expected behavior baselines (port 1002)\n- `anomaly-detector -> action-planner` : anomaly alerts with severity and root cause (port 1002)\n- `action-planner -> external` : maintenance orders to field team systems (port 443)\n\n## Workflow Example\n\n```bash\n# On sensor-bridge -- stream telemetry:\npilotctl --json publish <prefix>-model-engine telemetry '{\"asset_id\":\"PUMP-A7\",\"sensors\":{\"temperature_c\":87.3,\"vibration_mm_s\":4.2}}'\n# On model-engine -- send prediction:\npilotctl --json publish <prefix>-anomaly-detector prediction '{\"asset_id\":\"PUMP-A7\",\"drift_pct\":{\"temperature\":6.3,\"vibration\":50.0}}'\n# On anomaly-detector -- alert planner:\npilotctl --json publish <prefix>-action-planner anomaly-alert '{\"asset_id\":\"PUMP-A7\",\"severity\":\"warning\",\"anomaly_type\":\"bearing_degradation\"}'\n```\n\n## Dependencies\n\nRequires `pilot-protocol` skill, `pilotctl` binary, `clawhub` binary, and a running daemon.","tags":["pilot","digital","twin","setup","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network"],"capabilities":["skill","source-teoslayer","skill-pilot-digital-twin-setup","topic-agent-skills","topic-ai-agents","topic-clawhub","topic-networking","topic-openclaw","topic-overlay-network","topic-p2p","topic-pilot-protocol"],"categories":["pilot-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/TeoSlayer/pilot-skills/pilot-digital-twin-setup","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add TeoSlayer/pilot-skills","source_repo":"https://github.com/TeoSlayer/pilot-skills","install_from":"skills.sh"}},"qualityScore":"0.453","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (5,610 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:14:54.027Z","embedding":null,"createdAt":"2026-05-18T13:22:38.062Z","updatedAt":"2026-05-18T19:14:54.027Z","lastSeenAt":"2026-05-18T19:14:54.027Z","tsv":"'/.pilot/setups/digital-twin.json':271 '1':18,170 '1002':354,428,444,523,538,621,670,683,698 '2':34,186 '3':47,262 '4':12,56,273 '4.2':739 '443':637,710 '50.0':763 '6.3':761 '87.3':735 'a7':731,757,783 'across':407,416 'act':630 'action':69,146,149,246,535,557,560,569,573,577,688,700,774 'action-plann':68,145,148,245,534,556,559,568,576,687,699,773 'agent':13,38,57,177 'alert':133,239,496,499,542,545,625,628,691,768,778 'anomali':45,65,122,125,229,441,460,463,472,476,480,498,510,541,544,618,624,627,652,675,685,690,750,766,777,786 'anomaly-alert':540,623,776 'anomaly-detector':64,121,124,228,440,459,462,471,479,617,651,674,684,749,765 'ask':49,171 'asset':29,99,323,363,408,668,727,753,779 'audit':136,242,505 'baselin':450,681 'bash':194,713 'bear':788 'behavior':144,449,680 'binari':797,799 'bridg':60,78,81,154,161,198,253,260,292,301,305,309,344,426,458,583,605,658,717 'c':734 'caus':550,696 'chosen':192 'clawhub':199,215,231,248,798 'compar':530 'configur':37 'consensus':115,226,412 'critic':501 'cron':157,256,593 'daemon':803 'data':85,204,314,333,345,419,436,514,612,654 'dataset':108,219,392 'degrad':789 'depend':790 'deploy':6,55 'descript':357,431,447,526,543,626,642 'detect':46,138,509 'detector':66,123,126,230,442,461,464,473,477,481,619,653,676,686,751,767 'deviat':502 'digit':3,8,25,52,296,375,468,565 'digital-twin':295,374,467,564 'direct':347,421,437,516,531,614,632 'discov':338 'drift':139,452,490,758 'emit':497 'engin':63,102,105,214,352,368,371,380,384,388,418,521,555,661,673,725,743 'event':129,235,485 'evid':512 'exampl':712 'expect':448,679 'extern':635,702 'field':165,588,646,706 'filter':130,236,486,487 'flow':346,420,515,613,655 'gossip':91,210,337 'handshak':279,364,454,551,649 'health':329 'hostnam':73,265,306,385,478,575 'id':728,754,780 'impact':600 'ingest':41,92,315 'initi':278 'instal':187,200,216,232,249 'intervent':611 'json':293,372,465,562,721,747,771 'log':137,243,506,507 'low':599 'low-impact':598 'maintain':116 'mainten':33,163,585,595,640,703 'maintenance-ord':639 'manag':647 'manifest':269,286 'metric':88,207,326,453 'mm':737 'model':62,101,104,118,213,351,367,370,379,383,387,395,409,414,520,527,554,660,672,724,742 'model-engin':61,100,103,212,350,366,369,378,386,519,553,659,671,723,741 'monitor':30 'name':303,382,475,572 'need':365,455,552,650 'notifi':164,606 'oper':607 'order':586,641,644,704 'paramet':396 'pct':759 'peer':282,342,349,423,439,518,533,616,634 'per':288 'period':601 'physic':28,42,98,117,322,362,394,667 'pilot':2,83,87,90,107,110,114,128,132,135,152,156,159,202,206,209,218,221,225,234,238,241,251,255,258,312,325,336,391,401,411,484,495,504,581,592,603,793 'pilot-alert':131,237,494 'pilot-audit-log':134,240,503 'pilot-consensus':113,224,410 'pilot-cron':155,254,591 'pilot-dataset':106,217,390 'pilot-digital-twin-setup':1 'pilot-event-filt':127,233,483 'pilot-gossip':89,208,335 'pilot-metr':86,205,324 'pilot-protocol':792 'pilot-slack-bridg':158,257,602 'pilot-stream-data':82,201,311 'pilot-task-rout':109,220,400 'pilot-webhook-bridg':151,250,580 'pilotctl':720,746,770,796 'planner':70,147,150,247,536,558,561,570,574,578,689,701,769,775 'platform':10 'play':179 'port':353,427,443,522,537,620,636,669,682,697,709 'pred':51 'predict':32,143,446,488,525,528,677,745,752 'prefix':182 'procedur':168 'protocol':794 'publish':722,748,772 'pump':730,756,782 'pump-a7':729,755,781 'purpos':75 'push':584 'qualiti':334 'rate':331 'real':94,141,317,433,663 'real-tim':93,316,432,662 'receiv':422,517,615 'recommend':610 'reconcil':413 'redund':417 'requir':791 'role':71,72,175,193,285,289,298,302,377,381,470,474,567,571 'root':549,695 'rout':404 'router':112,223,403 'run':119,802 'sampl':330 'schedul':162,594 'send':348,438,532,633,744 'sensor':40,59,77,80,197,291,300,304,308,319,328,343,425,435,457,657,716,732 'sensor-bridg':58,76,79,196,290,299,307,424,456,656,715 'set':22,263 'setup':5,54,167,294,373,466,563 'sever':493,547,693,784 'simul':43,120,398,405 'skill':16,74,189,310,389,482,579,795 'skill-pilot-digital-twin-setup' 'slack':160,259,604 'snapshot':513 'source-teoslayer' 'state':399,415 'step':169,185,261,272 'store':393 'stream':84,203,313,360,718 'sync':340 'system':590,648,708 'task':111,222,402,406 'team':166,589,608,707 'telemetri':96,320,356,359,430,665,719,726 'tell':274 'temperatur':733,760 'templat':287 'threshold':491 'time':95,318,434,664 'topic':355,429,445,524,539,622,638 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'track':327 'twin':4,9,26,53,297,376,469,566 'type':787 'unifi':358 'use':14,184 'user':19,35,48,173,276 'vibrat':736,762 'want':20 'warn':785 'webhook':153,252,582 'window':596 'work':643 'workflow':711 'write':267","prices":[{"id":"36f5b4d7-55b8-4e83-beb7-092eb4f8ab83","listingId":"41171cce-6dd8-4114-81e6-62734636709a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"TeoSlayer","category":"pilot-skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:22:38.062Z"}],"sources":[{"listingId":"41171cce-6dd8-4114-81e6-62734636709a","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-digital-twin-setup","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-digital-twin-setup","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:38.062Z","lastSeenAt":"2026-05-18T19:14:54.027Z"}],"details":{"listingId":"41171cce-6dd8-4114-81e6-62734636709a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-digital-twin-setup","github":{"repo":"TeoSlayer/pilot-skills","stars":6,"topics":["agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"license":"agpl-3.0","html_url":"https://github.com/TeoSlayer/pilot-skills","pushed_at":"2026-05-13T06:08:49Z","description":"80+ agent skills for Pilot Protocol — communication, file transfer, trust, task routing, swarm coordination, and more","skill_md_sha":"00dc6001c76ed48fca444f9e2559ddeb124a43b1","skill_md_path":"skills/pilot-digital-twin-setup/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-digital-twin-setup"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-digital-twin-setup","license":"AGPL-3.0","description":"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 maintenance 2. User is configuring agents for sensor ingestion, physics simulation, or anomaly detection 3. User asks about predictive maintenance, asset health monitoring, or real-vs-predicted comparison  Do NOT use this skill when: - User wants basic metrics collection (use pilot-metrics instead) - User only needs event filtering without a twin model (use pilot-event-filter instead) - User wants a single alert notification (use pilot-alert instead)"},"skills_sh_url":"https://skills.sh/TeoSlayer/pilot-skills/pilot-digital-twin-setup"},"updatedAt":"2026-05-18T19:14:54.027Z"}}