返回顶部
c

changelog-watcher更新监控器

Monitor GitHub repos and npm packages for new releases and version updates. Summarizes changelogs and highlights breaking changes. Use when the user asks to check for updates, find new releases, review changelogs, track version updates, or asks "what's new in X". Also use when asked to run or schedule a changelog check, set up release monitoring, or report on recent releases for any software package or GitHub repo.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
129
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

changelog-watcher

更新日志监视器

维护GitHub仓库和npm包的监视列表,检测新版本发布,并生成突出显示重大变更的Markdown报告。

文件

  • - watchlist.json — 用户配置文件(从assets/watchlist.example.json创建)
  • state.json — 自动管理的上次查看版本(请勿编辑)
  • scripts/compareversions.py — 主入口点;调用其他脚本
  • scripts/checkgithub.py — GitHub发布API
  • scripts/checknpm.py — npm注册表
  • scripts/formatreport.py — Markdown报告生成器

关于设置、监视列表格式、定时任务调度和速率限制指南 → 请阅读references/setup-guide.md。

技能目录

~/.openclaw/workspace/skills/changelog-watcher/

以下所有脚本路径均相对于此目录。

使用方法

检查新版本并打印报告

bash
python3 scripts/compareversions.py --update-state | python3 scripts/formatreport.py

试运行(检查但不更新状态)

bash
python3 scripts/compareversions.py | python3 scripts/formatreport.py

首次设置(设定基线,无输出)

bash
cp assets/watchlist.example.json watchlist.json

编辑watchlist.json添加你的包


python3 scripts/compare_versions.py --update-state

工作流程

  1. 1. 确认watchlist.json存在。如果不存在,引导用户从assets/watchlist.example.json复制并填写。
  2. 运行compareversions.py(除非是试运行,否则加上--update-state参数)。
  3. 将输出通过管道传递给formatreport.py。
  4. 向用户展示Markdown报告。
  5. 如果用户想要设置定时任务:提供references/setup-guide.md中的cron命令行。

添加条目

添加GitHub仓库:
json
{source: github, owner: OWNER, repo: REPO, name: 显示名称}

添加npm包:
json
{source: npm, package: package-name, name: 显示名称}

追加到watchlist.json的watch数组中,然后运行完整流程。

错误处理

  • - 速率限制(退出码2): 等待重试窗口;检查监视列表中的GitHub条目数量是否超过每小时60次的限制。
  • 未找到(退出码3): 验证监视列表中的所有者/仓库或包名称。
  • 网络错误: 检查网络连接;重试。
  • 首次运行显示零个版本: 属于正常情况——首次运行仅设置基线。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 changelog-watcher-1775931931 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 changelog-watcher-1775931931 技能

通过命令行安装

skillhub install changelog-watcher-1775931931

下载

⬇ 下载 changelog-watcher v1.0.0(免费)

文件大小: 11.05 KB | 发布时间: 2026-4-12 09:20

v1.0.0 最新 2026-4-12 09:20
Initial release of changelog-watcher.

- Monitors GitHub repositories and npm packages for new releases and version updates.
- Summarizes changelogs and highlights breaking changes in a clear markdown report.
- Maintains user-configurable watchlist and auto-managed state for last-seen versions.
- Supports dry-run checks and markdown report generation via command line scripts.
- Provides setup, scheduling, and error handling guidance for smooth operation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部