{"id":"8197d0e9-bb72-477b-ae33-0498a30d9887","shortId":"ZQBsyG","kind":"skill","title":"pilot-cron","tagline":"Scheduled recurring task submission.  Use this skill when: 1. You need periodic task execution on a fixed schedule 2. You want automated recurring tasks without manual intervention 3. You need time-based triggers for network operations  Do NOT use this skill when: - Tasks should ","description":"# pilot-cron\n\nScheduled recurring task submission using cron-style scheduling. Enables automated periodic task execution across the Pilot network.\n\n## Commands\n\n**Add cron job:**\n```bash\ncrontab -l | { cat; echo \"0 * * * * /path/to/submit-task.sh\"; } | crontab -  # Every hour\ncrontab -l | { cat; echo \"0 2 * * * /path/to/daily-backup.sh\"; } | crontab -  # Daily at 2 AM\n```\n\n**Systemd timer (more reliable):**\n```bash\ncat > ~/.config/systemd/user/pilot-task.timer <<EOF\n[Timer]\nOnCalendar=hourly\nPersistent=true\nEOF\n\nsystemctl --user enable pilot-task.timer\nsystemctl --user start pilot-task.timer\n```\n\n**Simple sleep loop:**\n```bash\nwhile true; do\n  /path/to/submit-task.sh\n  sleep 3600  # 1 hour\ndone\n```\n\n**List scheduled tasks:**\n```bash\ncrontab -l\nsystemctl --user list-timers\n```\n\n## Workflow Example\n\n```bash\n#!/bin/bash\n# Create and install cron jobs\n\nSCRIPT_DIR=\"$HOME/.pilot/cron-jobs\"\nmkdir -p \"$SCRIPT_DIR\"\n\n# Health check script - every 5 minutes\ncat > \"$SCRIPT_DIR/health-check.sh\" <<'EOF'\n#!/bin/bash\nAGENT=$(pilotctl --json peers --search \"monitor\" | jq -r '.[0].address')\npilotctl --json task submit \"$AGENT\" --task \"Perform health check and report status\"\nEOF\nchmod +x \"$SCRIPT_DIR/health-check.sh\"\n\n# Install cron jobs\ncrontab -l 2>/dev/null | grep -v 'pilot-cron' > /tmp/crontab.tmp || true\ncat >> /tmp/crontab.tmp <<EOF\n# pilot-cron: Health check every 5 minutes\n*/5 * * * * $SCRIPT_DIR/health-check.sh >> $HOME/.pilot/logs/health-check.log 2>&1\nEOF\ncrontab /tmp/crontab.tmp\nrm /tmp/crontab.tmp\n\necho \"Cron jobs installed\"\n```\n\n## Common Cron Patterns\n\n```bash\n* * * * *       # Every minute\n*/5 * * * *     # Every 5 minutes\n0 * * * *       # Every hour\n0 2 * * *       # Daily at 2 AM\n0 9 * * 1       # Monday at 9 AM\n0 0 1 * *       # First day of month\n```\n\n## Dependencies\n\nRequires `pilot-protocol` skill, `pilotctl` binary, running daemon, `jq`, and `cron` or `systemd` timer support.","tags":["pilot","cron","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"capabilities":["skill","source-teoslayer","skill-pilot-cron","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-cron","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,913 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:53.389Z","embedding":null,"createdAt":"2026-05-18T13:22:37.096Z","updatedAt":"2026-05-18T19:14:53.389Z","lastSeenAt":"2026-05-18T19:14:53.389Z","tsv":"'/.config/systemd/user/pilot-task.timer':102 '/5':221,242 '/bin/bash':145,168 '/dev/null':202 '/path/to/daily-backup.sh':90 '/path/to/submit-task.sh':80,125 '/tmp/crontab.tmp':208,211,229,231 '0':79,88,177,246,249,255,262,263 '1':12,128,226,257,264 '2':22,89,94,201,225,250,253 '3':31 '3600':127 '5':162,219,244 '9':256,260 'across':66 'add':71 'address':178 'agent':169,183 'autom':25,62 'base':36 'bash':74,100,121,134,144,239 'binari':276 'cat':77,86,101,164,210 'check':159,187,217 'chmod':192 'command':70 'common':236 'creat':146 'cron':3,51,58,72,149,197,207,215,233,237,281 'cron-styl':57 'crontab':75,81,84,91,135,199,228 'daemon':278 'daili':92,251 'day':266 'depend':269 'dir':152,157 'dir/health-check.sh':166,195,223 'done':130 'echo':78,87,232 'enabl':61,112 'eof':103,109,167,191,212,227 'everi':82,161,218,240,243,247 'exampl':143 'execut':17,65 'first':265 'fix':20 'grep':203 'health':158,186,216 'home/.pilot/cron-jobs':153 'home/.pilot/logs/health-check.log':224 'hour':83,106,129,248 'instal':148,196,235 'intervent':30 'job':73,150,198,234 'jq':175,279 'json':171,180 'l':76,85,136,200 'list':131,140 'list-tim':139 'loop':120 'manual':29 'minut':163,220,241,245 'mkdir':154 'monday':258 'monitor':174 'month':268 'need':14,33 'network':39,69 'oncalendar':105 'oper':40 'p':155 'pattern':238 'peer':172 'perform':185 'period':15,63 'persist':107 'pilot':2,50,68,206,214,272 'pilot-cron':1,49,205,213 'pilot-protocol':271 'pilot-task.timer':113,117 'pilotctl':170,179,275 'protocol':273 'r':176 'recur':5,26,53 'reliabl':99 'report':189 'requir':270 'rm':230 'run':277 'schedul':4,21,52,60,132 'script':151,156,160,165,194,222 'search':173 'simpl':118 'skill':10,45,274 'skill-pilot-cron' 'sleep':119,126 'source-teoslayer' 'start':116 'status':190 'style':59 'submiss':7,55 'submit':182 'support':285 'systemctl':110,114,137 'systemd':96,283 'task':6,16,27,47,54,64,133,181,184 'time':35 'time-bas':34 'timer':97,104,141,284 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'trigger':37 'true':108,123,209 'use':8,43,56 'user':111,115,138 'v':204 'want':24 'without':28 'workflow':142 'x':193","prices":[{"id":"e51f4ad8-4050-491a-8f08-21bb138194cc","listingId":"8197d0e9-bb72-477b-ae33-0498a30d9887","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:37.096Z"}],"sources":[{"listingId":"8197d0e9-bb72-477b-ae33-0498a30d9887","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-cron","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-cron","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:37.096Z","lastSeenAt":"2026-05-18T19:14:53.389Z"}],"details":{"listingId":"8197d0e9-bb72-477b-ae33-0498a30d9887","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-cron","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":"06922ffcb88f4476f9b7bee4a3154dfdffb85d9f","skill_md_path":"skills/pilot-cron/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-cron"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-cron","license":"AGPL-3.0","description":"Scheduled recurring task submission.  Use this skill when: 1. You need periodic task execution on a fixed schedule 2. You want automated recurring tasks without manual intervention 3. You need time-based triggers for network operations  Do NOT use this skill when: - Tasks should trigger on events, not time (use pilot-workflow) - You only need to run a task once - The schedule is irregular and can't be expressed as a cron pattern","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-cron"},"updatedAt":"2026-05-18T19:14:53.389Z"}}