返回顶部
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
安全检测
已通过
65
下载量
0
收藏
概述
安装方式
版本历史

auto-updater

# Auto-Updater Skill Keep your Clawdbot and skills up to date automatically with daily update checks. ## What It Does This skill sets up a daily cron job that: 1. Updates Clawdbot itself (via `clawdbot doctor` or package manager) 2. Updates all installed skills (via `clawdhub update --all`) 3. Messages you with a summary of what was updated ## Setup ### Quick Start Ask Clawdbot to set up the auto-updater: ``` Set up daily auto-updates for yourself and all your skills. ``` Or manually add the cron job: ```bash clawdbot cron add \ --name "Daily Auto-Update" \ --cron "0 4 * * *" \ --tz "America/Los_Angeles" \ --session isolated \ --wake now \ --deliver \ --message "Run daily auto-updates: check for Clawdbot updates and update all skills. Report what was updated." ``` ### Configuration Options | Option | Default | Description | |--------|---------|-------------| | Time | 4:00 AM | When to run updates (use `--cron` to change) | | Timezone | System default | Set with `--tz` | | Delivery | Main session | Where to send the update summary | ## How Updates Work ### Clawdbot Updates For **npm/pnpm/bun installs**: ```bash npm update -g clawdbot@latest # or: pnpm update -g clawdbot@latest # or: bun update -g clawdbot@latest ``` For **source installs** (git checkout): ```bash clawdbot update ``` Always run `clawdbot doctor` after updating to apply migrations. ### Skill Updates ```bash clawdhub update --all ``` This checks all installed skills against the registry and updates any with new versions available. ## Update Summary Format After updates complete, you'll receive a message like: ``` 🔄 Daily Auto-Update Complete **Clawdbot**: Updated to v2026.1.10 (was v2026.1.9) **Skills Updated (3)**: - prd: 2.0.3 → 2.0.4 - browser: 1.2.0 → 1.2.1 - nano-banana-pro: 3.1.0 → 3.1.2 **Skills Already Current (5)**: gemini, sag, things-mac, himalaya, peekaboo No issues encountered. ``` ## Manual Commands Check for updates without applying: ```bash clawdhub update --all --dry-run ``` View current skill versions: ```bash clawdhub list ``` Check Clawdbot version: ```bash clawdbot --version ``` ## Troubleshooting ### Updates Not Running 1. Verify cron is enabled: check `cron.enabled` in config 2. Confirm Gateway is running continuously 3. Check cron job exists: `clawdbot cron list` ### Update Failures If an update fails, the summary will include the error. Common fixes: - **Permission errors**: Ensure the Gateway user can write to skill directories - **Network errors**: Check internet connectivity - **Package conflicts**: Run `clawdbot doctor` to diagnose ### Disabling Auto-Updates Remove the cron job: ```bash clawdbot cron remove "Daily Auto-Update" ``` Or disable temporarily in config: ```json { "cron": { "enabled": false } } ``` ## Resources - [Clawdbot Updating Guide](https://docs.clawd.bot/install/updating) - [ClawdHub CLI](https://docs.clawd.bot/tools/clawdhub) - [Cron Jobs](https://docs.clawd.bot/cron)

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 xiaopi-auto-updater-1775957223 技能

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

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

通过命令行安装

skillhub install xiaopi-auto-updater-1775957223

下载 Zip 包

⬇ 下载 auto-updater v1.0.0

文件大小: 5.21 KB | 发布时间: 2026-4-13 12:39

v1.0.0 最新 2026-4-13 12:39
Initial release of the auto-updater skill:

- Sets up a daily cron job to automatically update Clawdbot and all installed skills.
- Notifies the user with a summary of updates applied or if all components are current.
- Supports configuration of update time, timezone, and message delivery options.
- Provides detailed instructions for setup, manual commands, troubleshooting, and disabling auto-updates.
- Compatible with Darwin and Linux operating systems.

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

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

p2p_official_large
返回顶部