Skill flagged — review recommended

ClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.

Auto Updater Gateway

v1.0.0

Automate daily ClawHub skill updates at 04:00 with version comparison and update reports sent to Feishu or Telegram via OpenClaw Gateway Cron.

0· 99· 1 versions· 0 current· 0 all-time· Updated 7h ago· MIT-0

Install

openclaw skills install auto-updater-gateway-cron

Auto-Updater (Gateway Cron)

Create a reliable daily auto-update routine for ClawHub skills using OpenClaw Gateway Cron scheduler.

Use when: Setting up "run updates at 04:00" jobs, rotating update reports, running npx clawhub update --all, and sending update summaries to Feishu/Telegram.

License: MIT-0 · Free to use, modify, and redistribute. No attribution required.


Quick setup checklist

Prerequisites

  • ✅ OpenClaw Gateway running
  • ✅ ClawHub CLI installed (npx clawhub)
  • ✅ Logged into ClawHub: npx clawhub login

Create cron job

openclaw cron add \
  --name "Daily auto-update (ClawHub skills)" \
  --cron "0 4 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --wake now \
  --deliver \
  --channel feishu \
  --to "ou_xxxxxxxxxxxx" \
  --message "执行 npx clawhub update --all,更新所有 ClawHub 技能,发送更新报告(包含更新前后版本对比)"

What the job should do (workflow)

Within the cron run:

1️⃣ Capture "before" state

npx clawhub list
  • List all installed skills with versions
  • Save for comparison

2️⃣ Execute update

npx clawhub update --all
  • Update all installed ClawHub skills
  • Skip Clawdbot本体 (not managed by clawhub)

3️⃣ Capture "after" state

npx clawhub list
  • List all skills with new versions
  • Compare with "before" state

4️⃣ Generate summary report

技能更新报告 | 2026-03-24 04:00

✅ 更新完成

已更新技能 (2):
- tavily-search: 1.0.1 → 1.0.2
- github: 2.1.0 → 2.1.1

未更新技能 (10):
- pdf, xlsx, docx, pptx, ... (已是最新)

总计:12 个技能,2 个已更新

5️⃣ Send report

  • Deliver to configured channel (Feishu/Telegram)
  • Include version comparison
  • Report any errors

Configuration options

Schedule

FieldValueDescription
Time0 4 * * *Daily at 04:00
TimezoneAsia/ShanghaiAdjust to your timezone
SessionisolatedDon't pollute main session

Delivery

ChannelConfig
Feishu--channel feishu --to "ou_xxx"
Telegram--channel telegram --to "123456789"

Management commands

View cron job

openclaw cron list

Run manually (test)

openclaw cron run <job-id>

Disable job

openclaw cron disable <job-id>

Enable job

openclaw cron enable <job-id>

Remove job

openclaw cron rm <job-id>

Notes / gotchas

  • Timezone field: Use IANA timezone (e.g., Asia/Shanghai)
  • Delivery: Prefer explicit channel + to so the job always reaches you
  • Clawdbot self-update: NOT included (skills only)
  • First run: Test manually before scheduling

Troubleshooting

clawhub update says "Not logged in"

npx clawhub login

Job doesn't run

  • Confirm Gateway is running
  • Check cron is enabled: openclaw cron list

Nothing updates

  • That's normal if all skills are up-to-date
  • Still sends a "no changes" report

Permission denied

  • Check user has ClawHub login
  • Verify token is valid: npx clawhub whoami

Example output

With updates

📦 技能更新报告 | 2026-03-24 04:00

✅ 更新完成

已更新技能 (2):
- tavily-search: 1.0.1 → 1.0.2
- github: 2.1.0 → 2.1.1

未更新技能 (10):
- pdf, xlsx, docx, pptx, ... (已是最新)

总计:12 个技能,2 个已更新

No updates

📦 技能更新报告 | 2026-03-24 04:00

✅ 已是最新

所有技能无需更新 (12 个)

下次检查:明日 04:00

Files

  • SKILL.md — This file
  • index.js — Optional (workflow is command-based)

Changelog

v1.0.0 (2026-03-24)

  • Initial release
  • Daily 04:00 schedule
  • Feishu delivery
  • Version comparison report

Version tags

latestvk97d26h1rn38qmjt3ehz0278bh83ge57