首页龙虾技能列表 › Auto Updater 1.0.0 — 技能工具

🔄 Auto Updater 1.0.0 — 技能工具

v1.0.0

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 what changed.

2· 1,757·67 当前·82 累计
by @pntrivedy·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
medium confidence
The skill's instructions and requirements are coherent with an auto-updater: it only describes adding a cron job and running existing update commands (clawdbot / clawdhub) and does not request extra credentials or install arbitrary code itself — but the source is unknown and automatic updating carries supply-chain risk.
评估建议
This skill appears to do what it says — set up a daily cron job that runs clawdbot and clawdhub update commands and logs the results — but there are important practical risks to consider before enabling automatic updates: - Source provenance: the skill's source/homepage is unknown. Confirm Clawdbot and ClawdHub are official and that the registry owner is trustworthy before giving them automated update privileges. - Supply-chain risk: automatic updates run code fetched from package managers an...
详细分析 ▾
用途与能力
The name/description (daily auto-update of Clawdbot and installed skills) matches the instructions: create a cron job, optionally write a helper script under ~/.clawdbot/scripts/, run package-manager or source update commands and clawdhub update --all, then report results. Nothing requested (no env vars, no extra binaries) is out of scope for an updater.
指令范围
The SKILL.md instructs the agent to read installation type indicators (global npm/pnpm/bun, ~/.clawdbot/.git), write a helper script to ~/.clawdbot/scripts/auto-update.sh, write logs to ~/.clawdbot/logs, and add a cron job via clawdbot cron. These actions are expected for an updater, but they do give the skill the ability to persist code and run commands automatically on the host and to read/write user home paths — so users should be aware the updater will execute code (package manager updates, clawdhub) on their behalf.
安装机制
There is no install spec and no downloads. This is instruction-only: it relies on existing system tools (clawdbot, clawdhub, npm/pnpm/bun) already present. That is the lowest-risk install mechanism for this functionality.
凭证需求
The skill declares no required environment variables, no credentials, and no config paths beyond writing to ~/.clawdbot. The file reads/writes referenced in the instructions are proportional to performing automatic updates and logging.
持久化与权限
The skill recommends adding a cron job (via clawdbot cron add) and optionally writing a persistent script and logs to the user's home. It does not set always:true and does not request elevated platform privileges. Persisting a cron job is expected, but users should understand it enables autonomous periodic execution of update commands (which will fetch and run new code from package registries and the skill registry).
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

🖥️ OSmacOS · Linux

版本

latestv1.0.02026/1/26

Initial release of the Auto-Updater skill. - Automatically checks for and applies updates to Clawdbot and all installed skills daily via cron. - Sends users a summary message detailing what was updated and any issues encountered. - Supports configuration of update timing, timezone, and delivery session. - Provides troubleshooting steps, manual commands, and resources for further help.

● 无害

安装命令 点击复制

官方npx clawhub@latest install auto-updater-1-0-0
镜像加速npx clawhub@latest install auto-updater-1-0-0 --registry https://cn.clawhub-mirror.com

技能文档

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:

  • Updates Clawdbot itself (via clawdbot doctor or package manager)
  • Updates all installed skills (via clawdhub update --all)
  • 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

OptionDefaultDescription
Time4:00 AMWhen to run updates (use --cron to change)
TimezoneSystem defaultSet with --tz
DeliveryMain sessionWhere 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

  • Verify cron is enabled: check cron.enabled in config
  • Confirm Gateway is running continuously
  • 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

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务