maximeprades

Auto-Updater Skill

AI 智慧體v1.0.0
作者:maximeprades更新於 2026-05-18auto-updater@clawhub_maximeprades/auto-updater
任務自動化工作流編排#Cron

據 AlphaMoat 統計,截至 2026-10,Auto-Updater Skill 累計下載 285,764 次、獲 472 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 84 位,在「AI 智慧體」分類(1,632 個)中排名第 17 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
28.6萬
星標
472
全站下載量排名
#84
全站前 1% · 「AI 智慧體」前 2%
平台累計下載星標評論
ClawHub ↗10.1萬4476
SkillHub ↗28.6萬472—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

此技能會設定每日 cron 工作:更新 Clawdbot 本體、執行 clawdbot doctor 套用遷移,再用 clawdhub update --all 更新已安裝的技能,最後傳送變更摘要。cron 必須啟用,Gateway 也必須持續運作,排程才會執行。若只想查看待更新項目而不套用更新,可使用 clawdhub update --all --dry-run;要停止排程,可移除 cron 工作或在設定中停用。失敗摘要會附上錯誤,常見原因包括目錄寫入權限、網路連線和套件衝突。

資料釋出於 2026-10-27

可以用來做什麼

  • 排定程式本體和技能更新,減少手動檢查
  • 套用更新前先查看待更新技能清單

什麼時候用

  • 主機保持連線,且已設定 cron 和 Gateway 時
  • 需要定期收到更新摘要時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

設定每日自動更新,完成後把結果傳給我。
只檢查有哪些技能可以更新,暫時不要安裝。

月度資料趨勢

累計下載28.6萬
5.9萬18.1萬30.3萬2026-03 · 累計下載 7.6萬2026-05 · 累計下載 9.4萬2026-06 · 累計下載 10.7萬2026-07 · 累計下載 11.1萬2026-08 · 累計下載 12.3萬2026-09 · 累計下載 14.8萬2026-10 · 累計下載 28.6萬26-0326-0926-10
星標472
3564194812026-03 · 星標 3652026-05 · 星標 4172026-06 · 星標 4472026-07 · 星標 4632026-08 · 星標 4672026-09 · 星標 4692026-10 · 星標 47226-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-1028.6萬—472
2026-0914.8萬—469
2026-0812.3萬+10.8%467
2026-0711.1萬+4.1%463
2026-0610.7萬+13.3%447
2026-059.4萬—417
2026-037.6萬—365

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.2 KB · ClawHub v1.0.0
---
name: auto-updater
description: "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."
metadata: {"version":"1.0.0","clawdbot":{"emoji":"🔄","os":["darwin","linux"]}}
---

# Auto-Updater Skill

Keep your Clawdbot and skills up to date automatically with daily update checks.
展開全部(共 150 行)
## 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:

```bash
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**:
```bash
npm update -g clawdbot@latest
# or: pnpm update -g clawdbot@latest
# or: bun update -g clawdbot@latest
```

For **source installs** (git checkout):
```bash
clawdbot update
```

Always run `clawdbot doctor` after updating to apply migrations.

### Skill Updates

```bash
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:
```bash
clawdhub update --all --dry-run
```

View current skill versions:
```bash
clawdhub list
```

Check Clawdbot version:
```bash
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:
```bash
clawdbot cron remove "Daily Auto-Update"
```

Or disable temporarily in config:
```json
{
  "cron": {
    "enabled": false
  }
}
```

## Resources

- [Clawdbot Updating Guide](https://docs.clawd.bot/install/updating)
- [ClawdHub CLI](https://docs.clawd.bot/tools/clawdhub)
- [Cron Jobs](https://docs.clawd.bot/cron)

「AI 智慧體」分類下的熱門技能

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。