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
累计下载
3,389
星标
4
全站排名
#3,308
全站前 66% · 「AI 智能体」前 70%
平台累计安装累计下载星标评论
ClawHub ↗1023,2953-
SkillHub ↗2703,3894—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

通过 Gateway 定时任务安排 Clawdbot 与已安装技能的更新。

资料发布于 2026-10-27

可以用来做什么

  • 围绕上述任务组织内容
  • 根据用户提供的主题或对象生成结果
  • 必要时提示核对来源或执行状态

什么时候用

  • 需要完成通过 Gateway 定时任务安排 Clawdbot 与已安装技能的更新。时
  • 希望把相关步骤集中在同一工作流中时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

请根据我提供的内容,通过 Gateway 定时任务安排 Clawdbot 与已安装技能的更新。。
先说明需要哪些输入,再给出结果或后续步骤。

月度数据趋势

累计下载3,389
2,0092,7503,4912026-03 · 累计下载 2,1112026-05 · 累计下载 2,5652026-06 · 累计下载 2,7022026-07 · 累计下载 3,0272026-08 · 累计下载 3,1832026-09 · 累计下载 3,38926-0326-09
星标4
3442026-03 · 星标 32026-05 · 星标 32026-06 · 星标 32026-07 · 星标 42026-08 · 星标 42026-09 · 星标 426-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,389—4
2026-083,183+5.2%4
2026-073,027+12.0%4
2026-062,702+5.3%3
2026-052,565—3
2026-032,111—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),按月更新。口径说明见数据方法。