Schedule and run safe daily/weekly updates for Clawdbot + installed skills using the Gateway cron scheduler. Use when setting up "run updates at 04:00" jobs, rotating update reports, running `clawdhub update --all`, and (optionally) applying Clawdbot updates + restart + doctor.
使用 Clawdbot Cron(网关调度器)创建可靠的每日自动更新例程。
这是一个可重复工作流程 + 正确配置模板意义上的技能(而非插件)。
1) 确保 ClawHub CLI 已登录(用于技能更新):
bash
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub login --workdir /home/xabo/clawd --dir skills
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub whoami --workdir /home/xabo/clawd --dir skills
2) 决定:
使用隔离的 cron 任务,以免干扰主会话上下文。
示例 CLI(欧洲/斯德哥尔摩时间 04:00):
bash
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdbot cron add \
--name 每日自动更新(Clawdbot + 技能) \
--cron 0 4 * \
--tz Europe/Stockholm \
--session isolated \
--wake now \
--deliver \
--channel telegram \
--to 2095290688 \
--message 执行每日自动更新:通过 clawdhub update --all 更新技能;如果 Clawdbot 有可用更新,应用并重启;然后运行 clawdbot doctor --non-interactive;报告变更内容。
在 cron 运行期间:
1) 捕获之前状态
2) 更新技能
3) (可选)更新 Clawdbot
4) 发送简洁摘要
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 auto-updater-gateway-1776373842 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 auto-updater-gateway-1776373842 技能
skillhub install auto-updater-gateway-1776373842
文件大小: 2 KB | 发布时间: 2026-4-17 16:20