← 返回 Skills 市场
make453

Auto Updater Backup

作者 make453 · GitHub ↗ · v1.0.0 · MIT-0
darwinlinux ✓ 安全检测通过
120
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-updater-backup
功能描述
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 with its purpose, but before enabling it consider: (1) Run the update commands with --dry-run first to confirm behavior (`clawdhub update --all --dry-run`). (2) Understand that global package updates may require sudo or change system-wide packages; ensure you have backups and can roll back if an update breaks things. (3) The update summary includes raw command output (errors, logs) — make sure the delivery target for summaries is a trusted channel. (4) Because updates fetch and install remote code (ClawdHub/registry and package managers), only enable automated updates if you trust the source registry and want automatic code changes applied. (5) If you prefer manual control, keep the cron job disabled and run updates manually.
功能分析
Type: OpenClaw Skill Name: auto-updater-backup Version: 1.0.0 The skill is a legitimate utility designed to automate the update process for the Clawdbot platform and its installed skills. It provides clear instructions for the AI agent to detect the installation environment (npm, pnpm, bun, or source), execute standard update commands, and schedule these tasks via a recurring cron job. The implementation details in SKILL.md and references/agent-guide.md are transparent, aligned with the stated purpose, and do not contain indicators of malicious intent, data exfiltration, or unauthorized persistence.
能力评估
Purpose & Capability
The skill's name/description (auto-update Clawdbot and skills) aligns with the runtime instructions: adding a cron job, running package manager commands (npm/pnpm/bun) or source update, running `clawdbot doctor`, and calling `clawdhub update --all`. Checks for install type (global vs source) and the commands used are appropriate for performing those updates.
Instruction Scope
Instructions reference creating a helper script under ~/.clawdbot, writing logs, and adding a cron job via `clawdbot cron add`. Those actions are within scope. One note: the script captures and forwards raw command output (skill_output) in the update summary — this may include error messages or other command output. Users should be aware the report can include whatever the update commands print.
Install Mechanism
This is an instruction-only skill with no install spec and no code files executed at install time. That minimizes installer risk; actions happen only when you run the commands / cron job executes.
Credentials
No environment variables, credentials, or unrelated config paths are requested. The script writes to user-owned paths under the user's HOME (~/.clawdbot) and uses system package managers as expected for updating — this is proportionate to the stated purpose.
Persistence & Privilege
The skill recommends adding a cron job (user-level via `clawdbot cron add`) and creating user-local scripts/logs. always is false and it doesn't request system-wide modifications or other skills' configs. This level of persistence is expected for an auto-updater.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-updater-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-updater-backup 触发
  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 via a cron job. - Sends a summary message to the user detailing what was updated or if everything was up to date. - Includes troubleshooting steps, configuration options, and manual update commands.
元数据
Slug auto-updater-backup
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Auto Updater Backup 是什么?

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

如何安装 Auto Updater Backup?

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

Auto Updater Backup 是免费的吗?

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

Auto Updater Backup 支持哪些平台?

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

谁开发了 Auto Updater Backup?

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

💬 留言讨论