{"id":"e5c4f6de-db2a-43d3-86cf-5e50eee47671","shortId":"Q3xNEX","kind":"skill","title":"pilot-archive","tagline":"Index and search historical data exchanges, messages, and file transfers over Pilot Protocol.  Use this skill when: 1. You need to search through past messages and file transfers 2. You want to maintain searchable history of all agent communications 3. You need to audit or analyz","description":"# pilot-archive\n\nIndex and search historical data exchanges including messages, file transfers, and communication patterns. This skill provides a searchable archive of all Pilot Protocol communications with metadata indexing, full-text search, and analytics capabilities.\n\n## Commands\n\n### Index Messages\nBuild searchable index of message history:\n```bash\nARCHIVE_DIR=\"$HOME/.pilot/archive\"\nINDEX_FILE=\"$ARCHIVE_DIR/message-index.jsonl\"\nmkdir -p \"$ARCHIVE_DIR\"\n\npilotctl --json inbox | jq -c '.messages[] |\n  {timestamp, from, type, content, indexed_at: (now | todate)}' >> \"$INDEX_FILE\"\n```\n\n### Index File Transfers\nRecord file transfer history:\n```bash\nARCHIVE_DIR=\"$HOME/.pilot/archive\"\nFILE_INDEX=\"$ARCHIVE_DIR/file-index.jsonl\"\n\npilotctl --json received | jq -c '.received[] |\n  {timestamp, from, filename, size, port, indexed_at: (now | todate)}' >> \"$FILE_INDEX\"\n```\n\n### Search Messages\nFull-text search through message archive:\n```bash\nKEYWORD=\"$1\"\njq -r \"select(.content | test(\\\"$KEYWORD\\\"; \\\"i\\\")) |\n  \\\"[\\(.timestamp)] \\(.from): \\(.content)\\\"\" \"$HOME/.pilot/archive/message-index.jsonl\"\n```\n\n### Search by Sender\nFind all communications from specific agent:\n```bash\nSENDER=\"1:0001.AAAA.BBBB\"\njq -r \"select(.from == \\\"$SENDER\\\") |\n  \\\"[\\(.timestamp)] \\(.type): \\(.content)\\\"\" \\\n  \"$HOME/.pilot/archive/message-index.jsonl\"\n```\n\n### Archive Statistics\nGenerate statistics from archive:\n```bash\nARCHIVE_DIR=\"$HOME/.pilot/archive\"\nMSG_COUNT=$(wc -l < \"$ARCHIVE_DIR/message-index.jsonl\")\nFILE_COUNT=$(wc -l < \"$ARCHIVE_DIR/file-index.jsonl\")\n\necho \"Total messages: $MSG_COUNT\"\necho \"Total files: $FILE_COUNT\"\necho \"\"\necho \"Top senders:\"\njq -r '.from' \"$ARCHIVE_DIR/message-index.jsonl\" | sort | uniq -c | sort -rn | head -5\n```\n\n## Workflow Example\n\n```bash\n#!/bin/bash\n# pilot-archive: Historical data indexing and search\n\nARCHIVE_DIR=\"$HOME/.pilot/archive\"\nMSG_INDEX=\"$ARCHIVE_DIR/message-index.jsonl\"\nFILE_INDEX=\"$ARCHIVE_DIR/file-index.jsonl\"\n\nmkdir -p \"$ARCHIVE_DIR\"\n\n# Index messages (get all, filter client-side)\npilotctl --json inbox | jq -c '.messages[] |\n  {timestamp, from, to, type, content, indexed_at: (now | todate)}' | tail -100 >> \"$MSG_INDEX\"\n\n# Index files (get all, filter client-side)\npilotctl --json received | jq -c '.received[] |\n  {timestamp, from, filename, size, port, indexed_at: (now | todate)}' | tail -100 >> \"$FILE_INDEX\"\n\n# Search archive\nsearch_query=\"$1\"\nif [ -n \"$search_query\" ]; then\n  echo \"=== Messages ===\"\n  jq -r \"select(.content | test(\\\"$search_query\\\"; \\\"i\\\")) |\n    \\\"[\\(.timestamp)] \\(.from): \\(.content)\\\"\" \"$MSG_INDEX\" | head -20\nfi\n```\n\n## Dependencies\n\nRequires pilot-protocol, jq, tar/gzip for export.","tags":["pilot","archive","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"capabilities":["skill","source-teoslayer","skill-pilot-archive","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-archive","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 (2,663 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:51.295Z","embedding":null,"createdAt":"2026-05-18T13:22:34.079Z","updatedAt":"2026-05-18T19:14:51.295Z","lastSeenAt":"2026-05-18T19:14:51.295Z","tsv":"'-100':300,327 '-20':356 '-5':248 '/bin/bash':252 '0001.aaaa.bbbb':191 '1':21,167,190,334 '2':32 '3':43 'agent':41,187 'analyt':85 'analyz':49 'archiv':3,52,71,97,102,106,132,137,164,201,206,208,215,221,240,255,261,266,270,274,331 'audit':47 'bash':96,131,165,188,207,251 'build':90 'c':112,143,244,288,315 'capabl':86 'client':282,309 'client-sid':281,308 'command':87 'communic':42,64,76,184 'content':117,171,177,199,294,345,352 'count':212,218,227,232 'data':8,57,257 'depend':358 'dir':98,107,133,209,262,275 'dir/file-index.jsonl':138,222,271 'dir/message-index.jsonl':103,216,241,267 'echo':223,228,233,234,340 'exampl':250 'exchang':9,58 'export':366 'fi':357 'file':12,30,61,101,123,125,128,135,154,217,230,231,268,304,328 'filenam':147,319 'filter':280,307 'find':182 'full':81,159 'full-text':80,158 'generat':203 'get':278,305 'head':247,355 'histor':7,56,256 'histori':38,95,130 'home/.pilot/archive':99,134,210,263 'home/.pilot/archive/message-index.jsonl':178,200 'inbox':110,286 'includ':59 'index':4,53,79,88,92,100,118,122,124,136,150,155,258,265,269,276,295,302,303,322,329,354 'jq':111,142,168,192,237,287,314,342,363 'json':109,140,285,312 'keyword':166,173 'l':214,220 'maintain':36 'messag':10,28,60,89,94,113,157,163,225,277,289,341 'metadata':78 'mkdir':104,272 'msg':211,226,264,301,353 'n':336 'need':23,45 'p':105,273 'past':27 'pattern':65 'pilot':2,15,51,74,254,361 'pilot-arch':1,50,253 'pilot-protocol':360 'pilotctl':108,139,284,311 'port':149,321 'protocol':16,75,362 'provid':68 'queri':333,338,348 'r':169,193,238,343 'receiv':141,144,313,316 'record':127 'requir':359 'rn':246 'search':6,25,55,83,156,161,179,260,330,332,337,347 'searchabl':37,70,91 'select':170,194,344 'sender':181,189,196,236 'side':283,310 'size':148,320 'skill':19,67 'skill-pilot-archive' 'sort':242,245 'source-teoslayer' 'specif':186 'statist':202,204 'tail':299,326 'tar/gzip':364 'test':172,346 'text':82,160 'timestamp':114,145,175,197,290,317,350 'todat':121,153,298,325 'top':235 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'total':224,229 'transfer':13,31,62,126,129 'type':116,198,293 'uniq':243 'use':17 'want':34 'wc':213,219 'workflow':249","prices":[{"id":"c827072b-af06-4a38-b85a-c87f3ada011c","listingId":"e5c4f6de-db2a-43d3-86cf-5e50eee47671","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:34.079Z"}],"sources":[{"listingId":"e5c4f6de-db2a-43d3-86cf-5e50eee47671","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-archive","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-archive","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:34.079Z","lastSeenAt":"2026-05-18T19:14:51.295Z"}],"details":{"listingId":"e5c4f6de-db2a-43d3-86cf-5e50eee47671","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-archive","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":"1a9fef7e13919ffe79e1529a4c3a61a79caac2b0","skill_md_path":"skills/pilot-archive/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-archive"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-archive","license":"AGPL-3.0","description":"Index and search historical data exchanges, messages, and file transfers over Pilot Protocol.  Use this skill when: 1. You need to search through past messages and file transfers 2. You want to maintain searchable history of all agent communications 3. You need to audit or analyze historical data exchange patterns  Do NOT use this skill when: - You need real-time data access (use pilot-stream-data instead) - You need active file synchronization (use pilot-sync instead) - You need current inbox messages (use pilotctl inbox directly)","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-archive"},"updatedAt":"2026-05-18T19:14:51.295Z"}}