← 返回 Skills 市场
make453

Auto Updater.Bak2

作者 make453 · GitHub ↗ · v1.0.0 · MIT-0
darwinlinux ⚠ suspicious
109
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-updater-bak2
功能描述
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 coherent for automatically checking and applying updates. Before enabling it, consider: 1) Run a dry-run first (clawdhub update --all --dry-run) to see what would change. 2) Review the helper script content and the log file location if you or the agent will create it (~/.clawdbot/scripts/auto-update.sh and ~/.clawdbot/logs/auto-update.log). 3) Prefer isolated sessions and limit privileges (avoid running global package updates as root if possible). 4) Decide if you want to update all skills automatically — automatic bulk updates can install new code without per-skill review; consider restricting to specific trusted skills or reviewing changelogs. 5) Ensure you have backups or a rollback plan in case an update breaks workflows. 6) If you use remote delivery (e.g., Telegram), verify destination addresses/tokens are configured securely. The scanner had no findings to analyze (instruction-only skill).
功能分析
Type: OpenClaw Skill Name: auto-updater-bak2 Version: 1.0.0 The skill automates global software updates and establishes persistence via cron jobs, which are high-risk administrative operations. It executes shell commands to update packages via npm, pnpm, and bun, and runs system-level tools like 'clawdbot doctor' with automatic confirmation flags. While these actions in SKILL.md and references/agent-guide.md are consistent with the stated goal of an auto-updater, the inherent risks of automated system modification and global execution constitute a significant attack surface without explicit safeguards.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md and reference docs only describe adding a cron job that runs clawdbot update/doctor and clawdhub update --all. No unrelated services, binaries, or credentials are requested.
Instruction Scope
Instructions stay within the updater scope (detect install type, run package manager updates, run clawdhub update --all, write a log, and emit a parsable summary). Notable behaviors: creates a helper script under the user's home (~/.clawdbot/scripts/auto-update.sh), writes logs (~/.clawdbot/logs/auto-update.log), captures and emits full clawdhub output in SKILL_OUTPUT. These are reasonable for an updater but can surface sensitive info if update output contains error messages or other secrets.
Install Mechanism
No install spec or archive downloads are present (instruction-only). Nothing will be written to disk by the skill package itself — any files are created by the commands the agent runs. This is the lowest-risk install footprint from the skill bundle perspective.
Credentials
The skill declares no environment variables, no credentials, and references only CLI tools expected for updating (npm/pnpm/bun, git, clawdbot, clawdhub). It does not request unrelated secrets. However, global package updates can require elevated permissions; the instructions mention permission errors and advise sudo or permission fixes.
Persistence & Privilege
The skill recommends adding a cron job (persistent scheduled execution) and writing a helper script and logs to the user's home. always is false. Persistent scheduling and automatic updating are expected for this purpose, but they are powerful: automatic updates will install new code for both Clawdbot and all skills (via clawdhub update --all), which could introduce unreviewed changes if the registry or update process is compromised.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-updater-bak2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-updater-bak2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the auto-updater skill. - Automatically checks for and applies updates to Clawdbot and all installed skills once daily. - Configures a cron job to run updates at a customizable time (default 4:00 AM). - Sends a detailed summary message after each update run, including what changed. - Provides manual commands and troubleshooting guidance for easy maintenance. - Supports both npm/package manager and source (git) installations.
元数据
Slug auto-updater-bak2
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Auto Updater.Bak2 是什么?

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

如何安装 Auto Updater.Bak2?

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

Auto Updater.Bak2 是免费的吗?

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

Auto Updater.Bak2 支持哪些平台?

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

谁开发了 Auto Updater.Bak2?

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

💬 留言讨论