返回顶部
a

auto-updater自动更新器

Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
100
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

auto-updater

自动更新技能

通过每日更新检查,让您的Clawdbot和各项技能保持最新状态。

功能说明

该技能会设置一个每日定时任务,用于:

  1. 1. 更新Clawdbot本身(通过clawdbot doctor或包管理器)
  2. 更新所有已安装的技能(通过clawdhub update --all)
  3. 向您发送更新摘要信息

设置方法

快速启动

让Clawdbot为您设置自动更新:

为自身及所有技能设置每日自动更新。

或手动添加定时任务:

bash
clawdbot cron add \
--name 每日自动更新 \
--cron 0 4 * \
--tz America/Los_Angeles \
--session isolated \
--wake now \
--deliver \
--message 执行每日自动更新:检查Clawdbot更新并更新所有技能。报告更新内容。

配置选项

选项默认值说明
时间凌晨4:00执行更新的时间(使用--cron修改)
时区
系统默认 | 通过--tz设置 | | 投递位置 | 主会话 | 接收更新摘要的位置 |

更新机制

Clawdbot更新

对于npm/pnpm/bun安装
bash
npm update -g clawdbot@latest

或:pnpm update -g clawdbot@latest


或:bun update -g clawdbot@latest

对于源码安装(git检出):
bash
clawdbot update

更新后务必运行clawdbot doctor以应用迁移。

技能更新

bash
clawdhub update --all

此命令会对照注册表检查所有已安装的技能,并更新有可用新版本的技能。

更新摘要格式

更新完成后,您将收到类似以下的消息:

🔄 每日自动更新完成

Clawdbot:已更新至v2026.1.10(原版本v2026.1.9)

已更新技能(3个)

  • - prd:2.0.3 → 2.0.4
  • browser:1.2.0 → 1.2.1
  • nano-banana-pro:3.1.0 → 3.1.2

已是最新技能(5个)
gemini、sag、things-mac、himalaya、peekaboo

未遇到任何问题。

手动命令

检查更新但不应用:
bash
clawdhub update --all --dry-run

查看当前技能版本:
bash
clawdhub list

检查Clawdbot版本:
bash
clawdbot --version

故障排除

更新未执行

  1. 1. 验证定时任务已启用:检查配置中的cron.enabled
  2. 确认Gateway持续运行中
  3. 检查定时任务是否存在:clawdbot cron list

更新失败

如果更新失败,摘要中会包含错误信息。常见解决方法:

  • - 权限错误:确保Gateway用户对技能目录有写入权限
  • 网络错误:检查网络连接
  • 包冲突:运行clawdbot doctor进行诊断

禁用自动更新

移除定时任务:
bash
clawdbot cron remove 每日自动更新

或在配置中临时禁用:
json
{
cron: {
enabled: false
}
}

相关资源

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 auto-updater-andy27725-1776031622 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 auto-updater-andy27725-1776031622 技能

通过命令行安装

skillhub install auto-updater-andy27725-1776031622

下载

⬇ 下载 auto-updater v1.0.0(免费)

文件大小: 5.24 KB | 发布时间: 2026-4-13 09:26

v1.0.0 最新 2026-4-13 09:26
- Initial release of auto-updater skill (v1.0.0)
- Adds daily automatic updates for Clawdbot core and all installed skills via cron
- Sends the user a summary message detailing which components were updated
- Includes setup instructions, configuration options, manual command references, and troubleshooting guidance
- Supports delivery on darwin and linux platforms

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部