Create a reliable daily auto-update routine for ClawHub skills using OpenClaw Gateway Cron scheduler.
Use when: Setting up "run updates at 04:00" jobs, rotating update reports, running npx clawhub update --all, and sending update summaries to Feishu/Telegram.
License: MIT-0 · Free to use, modify, and redistribute. No attribution required.
npx clawhub)npx clawhub loginbash
openclaw cron add \
--name "Daily auto-update (ClawHub skills)" \
--cron "0 4 * * *" \
--tz "Asia/Shanghai" \
--session isolated \
--wake now \
--deliver \
--channel feishu \
--to "ou_xxxxxxxxxxxx" \
--message "执行 npx clawhub update --all,更新所有 ClawHub 技能,发送更新报告(包含更新前后版本对比)"
Within the cron run:
bash
npx clawhub list
bash
npx clawhub update --all
bash
npx clawhub list
text
技能更新报告 | 2026-03-24 04:00
✅ 更新完成
已更新技能 (2):
- tavily-search: 1.0.1 → 1.0.2
- github: 2.1.0 → 2.1.1
未更新技能 (10):
- pdf, xlsx, docx, pptx, ... (已是最新)
总计:12 个技能,2 个已更新
FieldValueDescriptionTime0 4 * * *Daily at 04:00TimezoneAsia/ShanghaiAdjust to your timezoneSessionisolatedDon't pollute main session
ChannelConfigFeishu--channel feishu --to "ou_xxx"Telegram--channel telegram --to "123456789"
bash
openclaw cron list
bash
openclaw cron run <job-id>
bash
openclaw cron disable <job-id>
bash
openclaw cron enable <job-id>
bash
openclaw cron rm <job-id>
Asia/Shanghai)clawhub update says "Not logged in"#bash
npx clawhub login
openclaw cron listnpx clawhub whoamitext
📦 技能更新报告 | 2026-03-24 04:00
✅ 更新完成
已更新技能 (2):
- tavily-search: 1.0.1 → 1.0.2
- github: 2.1.0 → 2.1.1
未更新技能 (10):
- pdf, xlsx, docx, pptx, ... (已是最新)
总计:12 个技能,2 个已更新
text
📦 技能更新报告 | 2026-03-24 04:00
✅ 已是最新
所有技能无需更新 (12 个)
下次检查:明日 04:00
SKILL.md — This fileindex.js — Optional (workflow is command-based)