{"id":"fe3e5846-222a-4417-8bfa-167eea1a2f26","shortId":"kgf5tD","kind":"skill","title":"pilot-gossip","tagline":"Gossip protocol for eventually-consistent shared state propagation across swarms.  Use this skill when: 1. You need eventually-consistent state replication without coordination 2. Agents should share updates with random subsets of peers 3. You want epidemic-style information diss","description":"# pilot-gossip\n\nImplement gossip protocols for eventually-consistent state propagation in agent swarms.\n\nThis skill enables agents to share state updates by randomly selecting peers and exchanging information, achieving eventual consistency without centralized coordination.\n\n## Commands\n\n### Publish state update to random peers\n```bash\nFANOUT=3\nPEERS=$(pilotctl --json peers --search \"swarm:$SWARM_NAME\" | jq -r '.[].address' | shuf -n $FANOUT)\n\nfor peer in $PEERS; do\n  pilotctl --json send-message \"$peer\" \\\n    --data \"{\\\"type\\\":\\\"gossip_push\\\",\\\"version\\\":$STATE_VERSION,\\\"state\\\":$STATE_DATA,\\\"sender\\\":\\\"$AGENT_ID\\\",\\\"timestamp\\\":\\\"$(date -u +%s)\\\"}\" &\ndone\nwait\n```\n\n### Merge received state updates\n```bash\nGOSSIP_MSGS=$(pilotctl --json received | jq '[.messages[] | select(.payload.type == \"gossip_push\")]')\n\nfor msg in $(echo \"$GOSSIP_MSGS\" | jq -r '.[] | @base64'); do\n  PAYLOAD=$(echo \"$msg\" | base64 -d)\n  REMOTE_VERSION=$(echo \"$PAYLOAD\" | jq -r '.payload.version')\n\n  if [ \"$REMOTE_VERSION\" -gt \"$MY_VERSION\" ]; then\n    MY_STATE=$(echo \"$MY_STATE $REMOTE_STATE\" | jq -s '.[0] * .[1]')\n    MY_VERSION=$REMOTE_VERSION\n  fi\ndone\n```\n\n## Workflow Example\n\nDistributed key-value store with gossip replication:\n\n```bash\n#!/bin/bash\nSWARM_NAME=\"kv-store-cluster\"\nAGENT_ID=$(pilotctl --json info | jq -r '.node_id')\n\n# Gossip loop\nfor round in $(seq 1 10); do\n  # Push to random peers\n  PEERS=$(pilotctl --json peers --search \"swarm:$SWARM_NAME\" | jq -r '.[].address' | shuf -n 3)\n\n  for peer in $PEERS; do\n    pilotctl --json send-message \"$peer\" \\\n      --data \"{\\\"type\\\":\\\"gossip_push\\\",\\\"version\\\":$MY_VERSION,\\\"state\\\":$MY_STATE,\\\"sender\\\":\\\"$AGENT_ID\\\"}\" &\n  done\n  wait\n\n  sleep 5\ndone\n```\n\n## Dependencies\n\nRequires pilot-protocol skill, jq, shuf, and base64.","tags":["pilot","gossip","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"capabilities":["skill","source-teoslayer","skill-pilot-gossip","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-gossip","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 (1,777 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:56.378Z","embedding":null,"createdAt":"2026-05-18T13:22:41.303Z","updatedAt":"2026-05-18T19:14:56.378Z","lastSeenAt":"2026-05-18T19:14:56.378Z","tsv":"'/bin/bash':210 '0':191 '1':19,192,232 '10':233 '2':29 '3':39,92,252 '5':280 'achiev':77 'across':13 'address':103,249 'agent':30,60,65,129,217,275 'base64':161,166,291 'bash':90,141,209 'central':81 'cluster':216 'command':83 'consist':9,24,56,79 'coordin':28,82 'd':167 'data':118,127,264 'date':132 'depend':282 'diss':46 'distribut':201 'done':135,198,277,281 'echo':156,164,170,184 'enabl':64 'epidem':43 'epidemic-styl':42 'eventu':8,23,55,78 'eventually-consist':7,22,54 'exampl':200 'exchang':75 'fanout':91,106 'fi':197 'gossip':3,4,49,51,120,142,151,157,207,226,266 'gt':178 'id':130,218,225,276 'implement':50 'info':221 'inform':45,76 'jq':101,147,159,172,189,222,247,288 'json':95,113,145,220,241,259 'key':203 'key-valu':202 'kv':214 'kv-store-clust':213 'loop':227 'merg':137 'messag':116,148,262 'msg':154,165 'msgs':143,158 'n':105,251 'name':100,212,246 'need':21 'node':224 'payload':163,171 'payload.type':150 'payload.version':174 'peer':38,73,89,93,96,108,110,117,238,239,242,254,256,263 'pilot':2,48,285 'pilot-gossip':1,47 'pilot-protocol':284 'pilotctl':94,112,144,219,240,258 'propag':12,58 'protocol':5,52,286 'publish':84 'push':121,152,235,267 'r':102,160,173,223,248 'random':35,71,88,237 'receiv':138,146 'remot':168,176,187,195 'replic':26,208 'requir':283 'round':229 'search':97,243 'select':72,149 'send':115,261 'send-messag':114,260 'sender':128,274 'seq':231 'share':10,32,67 'shuf':104,250,289 'skill':17,63,287 'skill-pilot-gossip' 'sleep':279 'source-teoslayer' 'state':11,25,57,68,85,123,125,126,139,183,186,188,271,273 'store':205,215 'style':44 'subset':36 'swarm':14,61,98,99,211,244,245 'timestamp':131 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'type':119,265 'u':133 'updat':33,69,86,140 'use':15 'valu':204 'version':122,124,169,177,180,194,196,268,270 'wait':136,278 'want':41 'without':27,80 'workflow':199","prices":[{"id":"bf99f845-6c01-40c1-9294-fc6df9f20c1b","listingId":"fe3e5846-222a-4417-8bfa-167eea1a2f26","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:41.303Z"}],"sources":[{"listingId":"fe3e5846-222a-4417-8bfa-167eea1a2f26","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-gossip","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-gossip","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:41.303Z","lastSeenAt":"2026-05-18T19:14:56.378Z"}],"details":{"listingId":"fe3e5846-222a-4417-8bfa-167eea1a2f26","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-gossip","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":"ed9e071c10eaaa52a92ce3177024cd5c10ed8726","skill_md_path":"skills/pilot-gossip/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-gossip"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-gossip","license":"AGPL-3.0","description":"Gossip protocol for eventually-consistent shared state propagation across swarms.  Use this skill when: 1. You need eventually-consistent state replication without coordination 2. Agents should share updates with random subsets of peers 3. You want epidemic-style information dissemination  Do NOT use this skill when: - You need strong consistency (use pilot-consensus) - You need ordered message delivery (use leader-based broadcast)","compatibility":"Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start)."},"skills_sh_url":"https://skills.sh/TeoSlayer/pilot-skills/pilot-gossip"},"updatedAt":"2026-05-18T19:14:56.378Z"}}