← 返回 Skills 市场
dillardarchie

Auto Updater Gateway

作者 dillardarchie · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
91
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-updater-gateway-cron
功能描述
Automate daily ClawHub skill updates at 04:00 with version comparison and update reports sent to Feishu or Telegram via OpenClaw Gateway Cron.
使用说明 (SKILL.md)

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

Field Value Description
Time 0 4 * * * Daily at 04:00
Timezone Asia/Shanghai Adjust to your timezone
Session isolated Don't pollute main session

Delivery

Channel Config
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 \x3Cjob-id>

Disable job

openclaw cron disable \x3Cjob-id>

Enable job

openclaw cron enable \x3Cjob-id>

Remove job

openclaw cron rm \x3Cjob-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
安全使用建议
This skill does what it says (schedule daily ClawHub updates and send a report), but before installing you should: 1) confirm how ClawHub authentication is provided (the cron job will need a logged-in session or tokens) and limit that account's privileges; 2) verify Feishu/Telegram delivery configuration and tokens are scoped appropriately; 3) be aware that `npx clawhub update --all` will automatically install updates for other skills (which can change behavior or introduce new code), so consider testing with `openclaw cron run` manually first and/or pinning critical skills or using selective updates rather than `--all`; 4) review update logs and enable notifications for any unexpected changes; 5) if you need stricter control, avoid autonomous scheduling or require a manual approval step for updates.
功能分析
Type: OpenClaw Skill Name: auto-updater-gateway-cron Version: 1.0.0 The skill bundle is a documentation-based 'recipe' designed to help an AI agent or user set up a daily auto-update routine for ClawHub skills. It utilizes standard platform commands like `npx clawhub update --all` and `openclaw cron add` to schedule tasks and generate version reports. No malicious code, hidden execution, or data exfiltration attempts were found; the instructions in SKILL.md and README.md are transparent and align perfectly with the stated administrative purpose.
能力评估
Purpose & Capability
Name/description, README, and SKILL.md all describe scheduling daily ClawHub skill updates and sending reports; the required actions (openclaw cron add, npx clawhub list/update) are coherent with that purpose. Minor mismatch: the skill declares no required env vars/credentials even though the workflow implicitly requires a logged-in ClawHub session and configured delivery channels (Feishu/Telegram).
Instruction Scope
SKILL.md only instructs running gateway cron commands and clawhub CLI commands (list, update, whoami, login) and producing/sending a report. It does not instruct reading unrelated system files or exfiltrating data to unknown endpoints. The scope is limited to scheduling, running updates, comparing versions, and delivering a report.
Install Mechanism
This is an instruction-only skill with no install spec and no code files to execute. package.json and README are present but no runtime install steps are requested by the registry metadata—lowest install risk.
Credentials
The skill requests no environment variables, but its workflow requires ClawHub authentication (npx clawhub login / whoami) and configured delivery credentials for Feishu/Telegram via the Gateway. Those credentials are not declared, which is an omission: users must ensure appropriate tokens/sessions exist and understand the privilege being granted (the job will run updates that can install/replace skills).
Persistence & Privilege
always is false and agent autonomous invocation is allowed (default). That is normal, but because the job runs `npx clawhub update --all` it can modify other installed skills automatically—this widens blast radius if updates introduce changes. No evidence the skill attempts to persist beyond its cron job or modify other skills' configs directly.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-updater-gateway-cron
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-updater-gateway-cron 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Auto-Updater (Gateway Cron) v1.0.0 – Initial Release - Implements daily scheduled auto-updates for ClawHub skills at 04:00 (Asia/Shanghai timezone) - Sends skill update summary reports with before/after version comparison to Feishu or Telegram - Excludes Clawdbot self-update; updates skills only - Provides simple cron job management and troubleshooting instructions - Includes sample output and quick setup checklist
元数据
Slug auto-updater-gateway-cron
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Auto Updater Gateway 是什么?

Automate daily ClawHub skill updates at 04:00 with version comparison and update reports sent to Feishu or Telegram via OpenClaw Gateway Cron. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 91 次。

如何安装 Auto Updater Gateway?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-updater-gateway-cron」即可一键安装,无需额外配置。

Auto Updater Gateway 是免费的吗?

是的,Auto Updater Gateway 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Auto Updater Gateway 支持哪些平台?

Auto Updater Gateway 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Auto Updater Gateway?

由 dillardarchie(@dillardarchie)开发并维护,当前版本 v1.0.0。

💬 留言讨论