← 返回 Skills 市场
kendrick-lu

ClawHub Auto Updater

作者 Kendrick Lu · GitHub ↗ · v1.0.0 · MIT-0
darwinlinux ✓ 安全检测通过
95
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install clawhub-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 w...
使用说明 (SKILL.md)

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:

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:

npm update -g clawdbot@latest
# or: pnpm update -g clawdbot@latest
# or: bun update -g clawdbot@latest

For source installs (git checkout):

clawdbot update

Always run clawdbot doctor after updating to apply migrations.

Skill Updates

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:

clawdhub update --all --dry-run

View current skill versions:

clawdhub list

Check Clawdbot version:

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:

clawdbot cron remove "Daily Auto-Update"

Or disable temporarily in config:

{
  "cron": {
    "enabled": false
  }
}

Resources

安全使用建议
This skill appears to do what it says, but review and accept these tradeoffs before enabling: - Review the proposed auto-update script (~/.clawdbot/scripts/auto-update.sh) before installing to ensure you understand what will run and where logs are written. - Auto-updates run package-manager or git updates, which execute code from upstream sources (npm, pnpm, bun, git). Only enable automated updates if you trust those upstream sources or are comfortable with changes being applied automatically. - Run a dry-run first: use `clawdhub update --all --dry-run` to see what would change. - Be prepared for permission issues (global updates may need sudo) and for migrations (the script runs `clawdbot doctor --yes`, which may apply changes automatically). - Ensure the delivery channel for summaries (where the agent posts update results) is properly configured and secure; the skill itself does not request tokens but may send update summaries to configured providers. - If you rely on critical skills, consider pinning versions or using a staged update policy (test updates before enabling daily automatic application). If you want, I can produce a hardened variant of the script that: uses checksums, limits what gets updated automatically, rotates logs, or notifies you for approval before applying updates.
功能分析
Type: OpenClaw Skill Name: clawhub-auto-updater Version: 1.0.0 The skill is a maintenance utility designed to automate updates for the Clawdbot core and its installed skills. It utilizes standard package managers (npm, pnpm, bun) and native CLI tools (clawdbot, clawdhub) to perform updates, and it schedules these tasks using the platform's built-in cron system. The implementation in SKILL.md and references/agent-guide.md is transparent, provides clear reporting to the user, and contains no evidence of data exfiltration, unauthorized persistence, or malicious prompt injection.
能力评估
Purpose & Capability
The name and description match the instructions: setting up a cron job, running clawdbot/clawdhub update commands, and reporting results. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md and the agent guide instruct creating a helper script under ~/.clawdbot, writing logs to ~/.clawdbot/logs, and adding a cron job that runs update commands (npm/pnpm/bun, clawdbot update, clawdhub update --all). These are within scope for an auto-updater, but they do grant the skill the ability to run arbitrary upstream-installed update commands and write to the user's home directory. Review the script and understand that updates pull code from upstream registries (npm/git), which implies trusting those sources.
Install Mechanism
Instruction-only skill with no install spec and no downloaded artifacts — lowest install risk. It relies on existing system tooling (npm/pnpm/bun/clawdhub/clawdbot).
Credentials
No environment variables, credentials, or config paths are requested. The guidance references delivery providers (e.g., Telegram) only as configuration examples; the skill does not ask for tokens or secrets itself.
Persistence & Privilege
The skill recommends creating a cron job and a script under the user's home directory (~/.clawdbot). This is expected for an auto-updater and is not set to always:true. Users should be aware this gives scheduled execution ability on their account (standard for cron).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawhub-auto-updater
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawhub-auto-updater 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the auto-updater skill. - Automatically checks for and applies updates to Clawdbot and all installed skills daily. - Notifies the user with a summary report after each update. - Configurable schedule and delivery options with easy cron integration. - Includes troubleshooting tips and manual command references.
元数据
Slug clawhub-auto-updater
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

ClawHub 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 w... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 ClawHub Auto Updater?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-auto-updater」即可一键安装,无需额外配置。

ClawHub Auto Updater 是免费的吗?

是的,ClawHub Auto Updater 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

ClawHub Auto Updater 支持哪些平台?

ClawHub Auto Updater 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。

谁开发了 ClawHub Auto Updater?

由 Kendrick Lu(@kendrick-lu)开发并维护,当前版本 v1.0.0。

💬 留言讨论