{"id":"1f5e59fc-05d2-4f4c-b0a7-1c9a8c83f2d4","shortId":"9KtuFw","kind":"skill","title":"pilot-backup","tagline":"Automated backup of agent state to trusted peers with encryption and versioning.  Use this skill when: 1. You need to backup agent configuration and state files to remote agents 2. You want automated scheduled backups with rotation and retention 3. You need encrypted backup stora","description":"# pilot-backup\n\nAutomated backup of agent configuration and state files to trusted peers with encryption and versioning.\n\n## Commands\n\n### Backup Agent State\n```bash\nBACKUP_DEST=\"1:0001.AAAA.BBBB\"\nBACKUP_FILE=\"/tmp/pilot-backup-$(date +%Y%m%d_%H%M%S).tar.gz\"\n\ntar czf \"$BACKUP_FILE\" \"$HOME/.pilot\"/*.json\npilotctl --json send-file \"$BACKUP_DEST\" \"$BACKUP_FILE\"\nrm \"$BACKUP_FILE\"\n```\n\n### Restore from Backup\n```bash\npilotctl --json send-message \"$BACKUP_PEER\" --data '{\"type\":\"backup_request\",\"date\":\"latest\"}'\nsleep 3\n\nBACKUP_FILE=$(pilotctl --json received | jq -r '.received[0].filename')\ntar xzf \"$HOME/.pilot/received/$BACKUP_FILE\" -C \"$HOME/.pilot/\"\n```\n\n### Backup Rotation\n```bash\nBACKUP_STORAGE=\"$HOME/.pilot/backup-storage\"\nMAX_BACKUPS=7\n\nls -1t \"$BACKUP_STORAGE\"/pilot-backup-*.tar.gz | tail -n +$((MAX_BACKUPS + 1)) | xargs rm -f\n```\n\n## Workflow Example\n\n```bash\n#!/bin/bash\n# Automated backup management\n\nBACKUP_STORAGE=\"$HOME/.pilot/backup-storage\"\nMAX_BACKUPS=7\n\nmkdir -p \"$BACKUP_STORAGE\"\n\ncreate_backup() {\n  local dest=\"$1\"\n  local backup_file=\"/tmp/pilot-backup-$(date +%Y%m%d_%H%M%S).tar.gz\"\n\n  tar czf \"$backup_file\" \"$HOME/.pilot\"/*.json\n\n  pilotctl --json send-file \"$dest\" \"$backup_file\"\n  cp \"$backup_file\" \"$BACKUP_STORAGE/\"\n  rm \"$backup_file\"\n\n  # Rotate old backups\n  ls -1t \"$BACKUP_STORAGE\"/pilot-backup-*.tar.gz | tail -n +$((MAX_BACKUPS + 1)) | xargs rm -f\n}\n\ncreate_backup \"1:0001.AAAA.BBBB\"\n```\n\n## Dependencies\n\nRequires pilot-protocol, pilotctl, jq, and tar/gzip.","tags":["pilot","backup","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"capabilities":["skill","source-teoslayer","skill-pilot-backup","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-backup","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,501 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.800Z","embedding":null,"createdAt":"2026-05-18T13:22:34.942Z","updatedAt":"2026-05-18T19:14:51.800Z","lastSeenAt":"2026-05-18T19:14:51.800Z","tsv":"'-1':151,225 '/bin/bash':168 '/pilot-backup-':155,229 '/tmp/pilot-backup-':78,190 '0':132 '0001.aaaa.bbbb':75,242 '1':20,74,161,186,235,241 '2':33 '3':43,123 '7':149,177 'agent':7,25,32,55,69 'autom':4,36,52,169 'backup':3,5,24,38,47,51,53,68,72,76,89,98,100,103,107,114,118,124,137,141,144,148,153,160,170,172,176,180,183,188,201,211,214,216,219,223,227,234,240 'bash':71,108,143,167 'c':139 'command':67 'configur':26,56 'cp':213 'creat':182,239 'czf':88,200 'd':82,194 'data':116 'date':79,120,191 'depend':243 'dest':73,99,185,210 'encrypt':13,46,64 'exampl':166 'f':164,238 'file':29,59,77,90,97,101,104,125,138,189,202,209,212,215,220 'filenam':133 'h':83,195 'home/.pilot':91,140,203 'home/.pilot/backup-storage':146,174 'home/.pilot/received':136 'jq':129,249 'json':92,94,110,127,204,206 'latest':121 'local':184,187 'ls':150,224 'm':81,84,193,196 'manag':171 'max':147,159,175,233 'messag':113 'mkdir':178 'n':158,232 'need':22,45 'old':222 'p':179 'peer':11,62,115 'pilot':2,50,246 'pilot-backup':1,49 'pilot-protocol':245 'pilotctl':93,109,126,205,248 'protocol':247 'r':130 'receiv':128,131 'remot':31 'request':119 'requir':244 'restor':105 'retent':42 'rm':102,163,218,237 'rotat':40,142,221 'schedul':37 'send':96,112,208 'send-fil':95,207 'send-messag':111 'skill':18 'skill-pilot-backup' 'sleep':122 'source-teoslayer' 'state':8,28,58,70 'stora':48 'storag':145,154,173,181,217,228 'tail':157,231 'tar':87,134,199 'tar.gz':86,156,198,230 'tar/gzip':251 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'trust':10,61 'type':117 'use':16 'version':15,66 'want':35 'workflow':165 'xarg':162,236 'xzf':135 'y':80,192","prices":[{"id":"5f94e694-7216-4078-8c60-30025c16c9d2","listingId":"1f5e59fc-05d2-4f4c-b0a7-1c9a8c83f2d4","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.942Z"}],"sources":[{"listingId":"1f5e59fc-05d2-4f4c-b0a7-1c9a8c83f2d4","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-backup","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-backup","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:34.942Z","lastSeenAt":"2026-05-18T19:14:51.800Z"}],"details":{"listingId":"1f5e59fc-05d2-4f4c-b0a7-1c9a8c83f2d4","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-backup","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":"dff00438a4688b9bf73e1dc46ddc501ae0c71ea3","skill_md_path":"skills/pilot-backup/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-backup"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-backup","license":"AGPL-3.0","description":"Automated backup of agent state to trusted peers with encryption and versioning.  Use this skill when: 1. You need to backup agent configuration and state files to remote agents 2. You want automated scheduled backups with rotation and retention 3. You need encrypted backup storage on trusted peers  Do NOT use this skill when: - You need general file synchronization (use pilot-sync instead) - You need one-time file transfer (use pilot-share instead) - You need streaming data backup (use pilot-stream-data instead)","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-backup"},"updatedAt":"2026-05-18T19:14:51.800Z"}}