nicoataiza

Auto Updater.Bak 2026 01 28T18:01:13+10:30

AI 智能体v1.0.0
作者:nicoataiza更新于 2026-05-18auto-updater-bak-2026-01-28t18-01-13-10-30@clawhub_nicoataiza/auto-updater-bak-2026-01-28t18-01-13-10-30
Agent 框架任务自动化#Cron

据 AlphaMoat 统计,截至 2026-09,Auto Updater.Bak 2026 01 28T18:01:13+10:30 累计下载 2,937 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,777 位,在「AI 智能体」分类(969 个)中排名第 760 位。

累计安装
159
累计下载
2,937
星标
1
全站排名
#3,777
全站前 75% · 「AI 智能体」前 79%
平台累计安装累计下载星标评论
ClawHub ↗812,5141-
SkillHub ↗1592,9371—

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

这个技能是做什么的

它可检查并应用更新,再向用户发送变更摘要。自动更新会绕过逐次审核;建议先用 dry-run 或仅通知模式,限制可信更新来源并确认停用方式。 需要Clawdbot/ClawdHub、运行中Gateway和cron及预期写权限;核对时区/汇报接收方,固定或批准版本并检查错误和doctor迁移,停用时移除任务。

资料发布于 2026-10-27

可以用来做什么

  • 检查可用更新
  • 查看更新摘要

什么时候用

  • 更新范围与周期性变更已明确批准时

示例提示词

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

只列出可用更新,不要应用。
启用前展示计划任务和移除方式。

月度数据趋势

累计下载2,937
1,5602,3003,0392026-03 · 累计下载 1,6622026-05 · 累计下载 2,0772026-07 · 累计下载 2,4012026-08 · 累计下载 2,5242026-09 · 累计下载 2,93726-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

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

月份累计下载环比星标
2026-092,937—1
2026-082,524+5.1%1
2026-072,401—1
2026-052,077—1
2026-031,662—1

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-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。