{"id":"f6acbfa5-34a2-4308-8804-a24337c1c6d0","shortId":"FESzUQ","kind":"skill","title":"pilot-event-replay","tagline":"Record and replay event streams for debugging, testing, and audit purposes.  Use this skill when: 1. You need to capture event streams for later analysis 2. You need to replay events to test downstream consumers 3. You need to debug event-driven workflows 4. You need to audit eve","description":"# Pilot Event Replay\n\nRecord event streams to NDJSON files and replay them for debugging and testing.\n\n## Commands\n\n### Record events to file\n```bash\npilotctl --json subscribe <source-hostname> <topic> --timeout <seconds> | \\\n  jq -c '.data.events[]' >> <recording-file.ndjson>\n```\n\n### Replay events from file\n```bash\ncat <recording-file.ndjson> | jq -c '.' | while IFS= read -r event; do\n  topic=$(echo \"$event\" | jq -r '.topic')\n  data=$(echo \"$event\" | jq -r '.data')\n\n  pilotctl --json publish <target-hostname> \"$topic\" --data \"$data\"\n  sleep <delay-seconds>\ndone\n```\n\n## Workflow Example\n\nRecord debug session:\n\n```bash\n#!/bin/bash\nSOURCE=\"buggy-worker\"\nDURATION=300\nRECORDING=\"/tmp/debug-session-$(date +%Y%m%d-%H%M%S).ndjson\"\n\npilotctl --json subscribe \"$SOURCE\" \"*\" --timeout \"$DURATION\" | \\\n  jq -c '.data.events[]' >> \"$RECORDING\"\n\nevent_count=$(wc -l < \"$RECORDING\")\necho \"Recorded $event_count events\"\n```\n\nReplay to test agent:\n\n```bash\n#!/bin/bash\nRECORDING=\"$1\"\nTEST_TARGET=\"test-agent\"\n\njq -c '.' \"$RECORDING\" | while IFS= read -r event; do\n  topic=$(echo \"$event\" | jq -r '.topic')\n  data=$(echo \"$event\" | jq -r '.data')\n\n  pilotctl --json publish \"$TEST_TARGET\" \"$topic\" --data \"$data\"\n  sleep 0.5\ndone\n```\n\n## Dependencies\n\nRequires pilot-protocol skill, jq, and a running daemon.","tags":["pilot","event","replay","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p"],"capabilities":["skill","source-teoslayer","skill-pilot-event-replay","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-event-replay","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,302 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:55.511Z","embedding":null,"createdAt":"2026-05-18T13:22:40.073Z","updatedAt":"2026-05-18T19:14:55.511Z","lastSeenAt":"2026-05-18T19:14:55.511Z","tsv":"'/bin/bash':124,166 '/tmp/debug-session-':132 '0.5':204 '1':20,168 '2':30 '3':40 '300':130 '4':49 'agent':164,173 'analysi':29 'audit':14,53 'bash':76,88,123,165 'buggi':127 'buggy-work':126 'c':82,91,148,175 'captur':24 'cat':89 'command':71 'consum':39 'count':152,159 'd':136 'daemon':216 'data':104,109,114,115,189,194,201,202 'data.events':83,149 'date':133 'debug':11,44,68,121 'depend':206 'done':117,205 'downstream':38 'driven':47 'durat':129,146 'echo':99,105,156,184,190 'eve':54 'event':3,8,25,35,46,56,59,73,85,96,100,106,151,158,160,181,185,191 'event-driven':45 'exampl':119 'file':63,75,87 'h':137 'if':93,178 'jq':81,90,101,107,147,174,186,192,212 'json':78,111,142,196 'l':154 'later':28 'm':135,138 'ndjson':62,140 'need':22,32,42,51 'pilot':2,55,209 'pilot-event-replay':1 'pilot-protocol':208 'pilotctl':77,110,141,195 'protocol':210 'publish':112,197 'purpos':15 'r':95,102,108,180,187,193 'read':94,179 'record':5,58,72,120,131,150,155,157,167,176 'replay':4,7,34,57,65,84,161 'requir':207 'run':215 'session':122 'skill':18,211 'skill-pilot-event-replay' 'sleep':116,203 'sourc':125,144 'source-teoslayer' 'stream':9,26,60 'subscrib':79,143 'target':170,199 'test':12,37,70,163,169,172,198 'test-ag':171 'timeout':80,145 'topic':98,103,113,183,188,200 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'use':16 'wc':153 'worker':128 'workflow':48,118 'y':134","prices":[{"id":"0cc9a84f-d98f-4907-ab3f-fac666bf7808","listingId":"f6acbfa5-34a2-4308-8804-a24337c1c6d0","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:40.073Z"}],"sources":[{"listingId":"f6acbfa5-34a2-4308-8804-a24337c1c6d0","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-event-replay","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-event-replay","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:40.073Z","lastSeenAt":"2026-05-18T19:14:55.511Z"}],"details":{"listingId":"f6acbfa5-34a2-4308-8804-a24337c1c6d0","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-event-replay","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":"79b9c14b672aef70a39113c6ab95da5e921a14eb","skill_md_path":"skills/pilot-event-replay/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-event-replay"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-event-replay","license":"AGPL-3.0","description":"Record and replay event streams for debugging, testing, and audit purposes.  Use this skill when: 1. You need to capture event streams for later analysis 2. You need to replay events to test downstream consumers 3. You need to debug event-driven workflows 4. You need to audit event history with timestamps  Do NOT use this skill when: - You need real-time event forwarding (use pilot-event-bus instead) - You need long-term storage with rotation (use pilot-event-log instead) - You need filtering before recording (use pilot-event-filter first)","compatibility":"Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start). Requires jq for JSON processing."},"skills_sh_url":"https://skills.sh/TeoSlayer/pilot-skills/pilot-event-replay"},"updatedAt":"2026-05-18T19:14:55.511Z"}}