← 返回 Skills 市场
newageinvestments25-byte

Changelog Watcher

作者 New Age Investments · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
111
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

Changelog Watcher

Maintains a watchlist of GitHub repos and npm packages, detects new releases, and produces markdown reports with breaking changes highlighted.

Files

  • watchlist.json — user config (create from assets/watchlist.example.json)
  • state.json — auto-managed last-seen versions (do not edit)
  • scripts/compare_versions.py — main entry point; calls the others
  • scripts/check_github.py — GitHub releases API
  • scripts/check_npm.py — npm registry
  • scripts/format_report.py — markdown report generator

For setup, watchlist format, cron scheduling, and rate limit guidance → read references/setup-guide.md.

Skill Directory

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

All script paths below are relative to this directory.

Usage

Check for new releases and print report

python3 scripts/compare_versions.py --update-state | python3 scripts/format_report.py

Dry-run (check without advancing state)

python3 scripts/compare_versions.py | python3 scripts/format_report.py

First-time setup (set baseline, no output)

cp assets/watchlist.example.json watchlist.json
# edit watchlist.json to your packages
python3 scripts/compare_versions.py --update-state

Workflow

  1. Confirm watchlist.json exists. If not, guide user to copy from assets/watchlist.example.json and fill it in.
  2. Run compare_versions.py (with --update-state unless doing a dry-run).
  3. Pipe output to format_report.py.
  4. Present the markdown report to the user.
  5. If the user wants to schedule this: provide the cron line from references/setup-guide.md.

Adding Entries

To add a GitHub repo:

{"source": "github", "owner": "OWNER", "repo": "REPO", "name": "Display Name"}

To add an npm package:

{"source": "npm", "package": "package-name", "name": "Display Name"}

Append to the watch array in watchlist.json, then run the full pipeline.

Error Handling

  • Rate limited (exit 2): Wait for the retry window; check how many GitHub entries are in the watchlist vs the 60/hr limit.
  • Not found (exit 3): Verify the owner/repo or package name in the watchlist.
  • Network error: Check connectivity; retry.
  • First-run shows zero releases: Expected — first run sets the baseline only.
安全使用建议
This skill appears to do what it says, but review these practical points before installing: 1) Inspect and edit assets/watchlist.example.json to create your watchlist.json so you only monitor repos/packages you intend. 2) The scripts read/write state.json in ~/.openclaw/workspace/skills/changelog-watcher — back it up if you care about previous state. 3) GitHub rate limits apply (60/hr unauthenticated); provide a GITHUB_TOKEN only if you trust the runtime environment. 4) The bundled scripts are Python; ensure the environment's python3 is recent enough (some type hints suggest Python 3.9+). 5) If scheduling via cron, create the reports directory with appropriate permissions to avoid overwriting sensitive data. 6) As always, run the scripts in an environment/network you control and review the included scripts (they are short, human-readable) before granting network access.
功能分析
Type: OpenClaw Skill Name: changelog-watcher Version: 1.0.0 The changelog-watcher skill is a well-structured utility for monitoring software updates on GitHub and npm. The Python scripts (check_github.py, check_npm.py, compare_versions.py) use standard libraries to fetch data from official APIs and manage state locally. Subprocess calls are handled safely without shell execution, and there is no evidence of data exfiltration, credential theft, or malicious prompt injection in the documentation or code.
能力评估
Purpose & Capability
Name/description (monitor GitHub and npm for releases, summarize changelogs) matches the included scripts and runtime instructions. The watchlist/state files, GitHub API calls, and npm registry calls are exactly what you'd expect for this functionality.
Instruction Scope
SKILL.md instructs the agent and user to create/edit watchlist.json, run compare_versions.py and format_report.py, and optionally schedule a cron job. The scripts read/write only local files in the skill workspace (watchlist.json, state.json) and call public APIs (api.github.com, registry.npmjs.org). No instructions ask the agent to read unrelated system files or exfiltrate data. Note: the guide mentions an optional GITHUB_TOKEN to raise rate limits, which is reasonable but is not required.
Install Mechanism
This is an instruction-only skill with bundled Python scripts and no install spec or external downloads. Nothing is written to disk by an installer; risk from installation is low.
Credentials
The skill declares no required environment variables. The documentation correctly calls out an optional GITHUB_TOKEN to increase rate limits; that optional credential is proportional and justified. No other secrets or unrelated credentials are requested.
Persistence & Privilege
always is false and the skill does not request elevated or cross-skill privileges. It writes state.json and (when scheduled) report files inside its own workspace — this is expected behavior for a watcher and scoped to the skill's directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install changelog-watcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /changelog-watcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
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.
元数据
Slug changelog-watcher
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 111 次。

如何安装 Changelog Watcher?

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

Changelog Watcher 是免费的吗?

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

Changelog Watcher 支持哪些平台?

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

谁开发了 Changelog Watcher?

由 New Age Investments(@newageinvestments25-byte)开发并维护,当前版本 v1.0.0。

💬 留言讨论