← 返回 Skills 市场
tigertamvip

Auto Updater 1

作者 tigertamvip · GitHub ↗ · v1.0.0 · MIT-0
darwinlinux ⚠ suspicious
111
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-updater-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 is internally consistent for its purpose, but automatic, unattended updates carry operational risk: a malicious or compromised skill could be updated and installed without manual review. Before enabling: - Consider using dry-run (clawdhub update --all --dry-run) or enabling notifications only (have the agent report available updates rather than auto-applying). - Run the updater under a non-root user and avoid using sudo unless necessary; check permissions for package managers. - Keep backups or snapshots of your agent/skill directories so you can roll back bad updates. - Limit automatic updates to trusted skills or a curated list if possible, and review changelogs for high-risk skills. - If you need stronger assurance, require cryptographic signing or manual approval for critical components before applying updates. If you want, I can propose a safer variant of this skill that runs update checks and notifies you, but only applies updates after explicit approval.
功能分析
Type: OpenClaw Skill Name: auto-updater-1 Version: 1.0.0 The skill automates system-wide updates and establishes persistence via cron jobs, which are high-risk behaviors. It provides instructions for the agent to execute shell commands that update global packages (via npm, pnpm, or bun) and the core system (via 'clawdbot doctor --yes'), as detailed in SKILL.md and references/agent-guide.md. While these actions are aligned with the stated purpose of an auto-updater and include transparent reporting to the user, the requirement for broad system access, automated fetching of external code, and the creation of persistent scripts (~/.clawdbot/scripts/auto-update.sh) meet the threshold for a suspicious classification due to the inherent security risks involved.
能力评估
Purpose & Capability
Name/description align with the instructions: the SKILL.md only requires running Clawdbot and ClawdHub update commands and scheduling a cron job. There are no unrelated environment variables, binaries, or installs requested.
Instruction Scope
Instructions stay within update/setup scope (create a script in ~/.clawdbot, run package-manager or source update commands, run clawdhub update --all, schedule a cron job). Note: the script reads/writes files in the user's home (~/.clawdbot) and invokes global package managers and Clawdbot/ClawdHub commands — expected for an updater but means it will modify installed software without further checks.
Install Mechanism
No install spec or external downloads; the skill is instruction-only, so nothing is written to disk by the registry install process beyond the user-initiated script/cron it tells the agent to create.
Credentials
No credentials or environment variables are requested. The actions operate on local files and package managers; the required filesystem and package-manager permissions are proportionate to an auto-updater.
Persistence & Privilege
The skill recommends creating a persistent cron job and a helper script under the user's home (~/.clawdbot). It does not request always: true and does not change other skills' configs, but it does grant automatic, recurring permission to update all installed skills if installed as described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-updater-1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-updater-1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release—automatically keeps Clawdbot and all installed skills up to date. - Sets up a daily cron job to check and apply updates for Clawdbot and skills. - Sends a summary message detailing what was updated each day. - Supports easy setup, manual controls, and troubleshooting guidance. - Compatible with macOS and Linux.
元数据
Slug auto-updater-1
版本 1.0.0
许可证 MIT-0
累计安装 4
当前安装数 4
历史版本数 1
常见问题

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

如何安装 Auto Updater 1?

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

Auto Updater 1 是免费的吗?

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

Auto Updater 1 支持哪些平台?

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

谁开发了 Auto Updater 1?

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

💬 留言讨论