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 更新已安装技能,并发送变更摘要。定时任务必须启用,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),按月更新。口径说明见数据方法。