← 返回 Skills 市场
gwsq

Auto Updater 1.0.0 (1)

作者 Gwsq · GitHub ↗ · v1.0.0
darwinlinux ⚠ suspicious
382
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-updater-1-0-0-1
功能描述
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: add a cron job or script that runs clawdbot and clawdhub update commands daily and reports a summary. Before enabling: 1) Confirm you trust Clawdbot/ClawdHub and the registry they pull updates from (automated updates will run code fetched remotely). 2) Test with a dry-run (clawdhub update --all --dry-run) and run the script manually to inspect logs (~/.clawdbot/logs/auto-update.log) before scheduling. 3) Ensure the user/Gateway has only the necessary permissions (avoid running global package updates as root if possible). 4) If you deliver summaries to external providers (Telegram, etc.), verify those provider credentials are configured elsewhere and scoped appropriately. 5) Keep a rollback or backup plan in case an update breaks your setup.
功能分析
Type: OpenClaw Skill Name: auto-updater-1-0-0-1 Version: 1.0.0 The 'auto-updater' skill performs high-risk system operations including global package updates (npm/pnpm/bun), shell script creation, and system-level maintenance via 'clawdbot doctor'. It establishes persistence by scheduling a daily cron job to execute these tasks, as detailed in SKILL.md and references/agent-guide.md. While these behaviors are aligned with the stated purpose of keeping the system updated, the broad permissions and automated execution of remote code represent a significant attack surface, though no evidence of explicit malice or data exfiltration was found.
能力评估
Purpose & Capability
Name/description match the instructions: it sets up a cron job or helper script to run clawdbot/clawdhub update commands. No unrelated env vars, binaries, or config paths are requested.
Instruction Scope
Instructions explicitly run package manager global updates (npm/pnpm/bun), clawdbot update/doctor, and clawdhub update --all, and write logs under ~/.clawdbot. These actions are within the updater's purpose but do perform system-level updates and may require elevated permissions; they also execute code obtained from the registry (expected for an updater), so you should ensure you trust the registry and have rollback/backups.
Install Mechanism
Instruction-only skill with no install spec and no downloaded artifacts. No archive downloads or external install URLs are present.
Credentials
The skill declares no env vars or credentials, which is coherent because it relies on the existing Clawdbot/Gateway configuration for delivery. However, it assumes the agent/system already has provider/delivery credentials and sufficient permissions to run global package updates; verify those are appropriately scoped.
Persistence & Privilege
Does not request always:true, does not modify other skills' configs. It recommends creating a cron job and an updater script under the user's ~/.clawdbot area, which is appropriate for this purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-updater-1-0-0-1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-updater-1-0-0-1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the auto-updater skill. - Automatically checks for and installs updates to Clawdbot and all installed skills once daily via cron. - Sends a summary message to the user detailing what was updated and any issues encountered. - Provides options for setup, configuration, troubleshooting, and disabling auto-updates.
元数据
Slug auto-updater-1-0-0-1
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Auto Updater 1.0.0 (1) 是什么?

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 插件,目前累计下载 382 次。

如何安装 Auto Updater 1.0.0 (1)?

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

Auto Updater 1.0.0 (1) 是免费的吗?

是的,Auto Updater 1.0.0 (1) 完全免费(开源免费),可自由下载、安装和使用。

Auto Updater 1.0.0 (1) 支持哪些平台?

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

谁开发了 Auto Updater 1.0.0 (1)?

由 Gwsq(@gwsq)开发并维护,当前版本 v1.0.0。

💬 留言讨论