xabo1986

Auto-Updater (Gateway)

AI 智慧體v1.0.1
作者:xabo1986更新於 2026-05-11共 2 個版本 · 最新版本釋出於 2026-02-01auto-updater-gateway@clawhub_xabo1986/auto-updater-gateway
任務自動化工作流編排#Cron#Schedule

據 AlphaMoat 統計,截至 2026-09,Auto-Updater (Gateway) 累計下載 3,389 次、獲 4 個星標,在全部 5,078 個 AI 技能中排名第 3,308 位,在「AI 智慧體」分類(969 個)中排名第 672 位。

累計安裝
270
累計下載
3389
星標
4
全站排名
#3,308
全站前 66% · 「AI 智慧體」前 70%
平台累計安裝累計下載星標評論
ClawHub ↗10232953-
SkillHub ↗27033894—

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

這個技能是做什麼的

透過 Gateway 定時任務安排 Clawdbot 與已安裝技能的更新。

資料釋出於 2026-10-27

可以用來做什麼

  • 圍繞上述任務組織內容
  • 根據使用者提供的主題或物件生成結果
  • 必要時提示核對來源或執行狀態

什麼時候用

  • 需要完成透過 Gateway 定時任務安排 Clawdbot 與已安裝技能的更新。時
  • 希望把相關步驟集中在同一工作流中時

示例提示詞

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

請根據我提供的內容,透過 Gateway 定時任務安排 Clawdbot 與已安裝技能的更新。。
先說明需要哪些輸入,再給出結果或後續步驟。

月度資料趨勢

累計下載3389
2009275034912026-03 · 累計下載 21112026-05 · 累計下載 25652026-06 · 累計下載 27022026-07 · 累計下載 30272026-08 · 累計下載 31832026-09 · 累計下載 338926-0326-09
星標4
3442026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 42026-08 · 星標 42026-09 · 星標 426-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093389—4
2026-083183+5.2%4
2026-073027+12.0%4
2026-062702+5.3%3
2026-052565—3
2026-032111—3

SKILL.md 原文

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

2.7 KB · ClawHub v1.0.1
---
name: auto-updater-gateway
description: Schedule and run safe daily/weekly updates for Clawdbot + installed skills using the Gateway cron scheduler. Use when setting up "run updates at 04:00" jobs, rotating update reports, running `clawdhub update --all`, and (optionally) applying Clawdbot updates + restart + doctor.
metadata: {"version":"1.0.1","clawdbot":{"emoji":"🔄","category":"automation","os":["windows","darwin","linux"],"requires":{"anyBins":["clawdbot","clawdhub"]}}}
---

# Auto-Updater (Gateway)

Create a reliable daily auto-update routine using **Clawdbot Cron** (Gateway scheduler).
展開全部(共 77 行)
This is a "skill" in the sense of a repeatable workflow + correct config shapes (not a plugin).

## Quick setup checklist

1) Ensure ClawHub CLI is logged in (for skill updates):

```bash
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub login --workdir /home/xabo/clawd --dir skills
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdhub whoami --workdir /home/xabo/clawd --dir skills
```

2) Decide:
- When to run (cron + timezone)
- Whether the job should only **report**, or **update + restart**

## Recommended cron job (isolated, deliver output)

Use an **isolated** cron job so it doesn’t spam the main session context.

Example CLI (04:00 Europe/Stockholm):

```bash
/home/xabo/.nvm/versions/node/v22.22.0/bin/clawdbot cron add \
  --name "Daily auto-update (Clawdbot + skills)" \
  --cron "0 4 * * *" \
  --tz "Europe/Stockholm" \
  --session isolated \
  --wake now \
  --deliver \
  --channel telegram \
  --to "2095290688" \
  --message "Run daily auto-update: update skills via clawdhub update --all; if Clawdbot has an update available, apply it and restart; then run clawdbot doctor --non-interactive; report what changed."
```

## What the job should do (workflow)

Within the cron run:

1) Capture “before” state
- `clawdbot --version`
- `clawdhub list` (skills + versions)

2) Update skills
- `clawdhub update --all`

3) (Optional) Update Clawdbot
- Only if the owner explicitly wants self-updates.
- After updating, run `clawdbot doctor --non-interactive`.
- Restart gateway if required.

4) Send a concise summary
- Clawdbot version before/after
- Skills updated (old → new)
- Any errors

## Notes / gotchas

- **Timezone field:** in Gateway job objects this is `schedule.tz` (IANA tz like `Europe/Stockholm`).
- **Delivery:** Prefer explicit `channel` + `to` so the job always reaches you.
- **Clawdbot self-update:** can be disruptive (restarts). Run at a quiet time.

## Troubleshooting

- `clawdhub update` says “Not logged in” → run `clawdhub login` again.
- Job doesn’t run → confirm Gateway is always-on and cron is enabled.
- Nothing updates → that can be normal; still send a “no changes” report.

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

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