✨

Claude Code Changelog Monitor

Claude Code Changelog Monitor · v1.0.0
可以安装,但有提示 HAS_SCRIPTS
安全 unknown 级 作者 assistant-design 公开目录收录
856 下载 0 安装 1.8k 收藏 2 浏览

简介

Claude Code Changelog Monitor

原始描述

Monitor Claude Code releases and get Telegram alerts when new versions ship. Zero AI credits — pure bash monitoring.

通过你的 Agent 添加

安装目录:cc-changelog-monitor/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/claude-code-changelog-monitor/
Codex CLI~/.codex/skills/claude-code-changelog-monitor/
DeepSeek Harness~/.agents/skills/claude-code-changelog-monitor/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: cc-changelog-monitor description: Monitor Claude Code releases and get Telegram alerts when new versions ship. Zero AI credits — pure bash monitoring.

cc-changelog-monitor

Monitors @anthropic-ai/claude-code on npm and sends Telegram alerts when a new version is detected, including a diff summary of what changed between versions.

Zero AI credits used during monitoring — pure bash + curl + jq.

Quick Start

1. Setup (one-time)

bash ~/clawd/skills/cc-changelog-monitor/scripts/setup.sh

This will:

  • Auto-detect your Telegram bot token from OpenClaw config
  • Ask for your Telegram chat ID (defaults to your personal ID)
  • Initialize the version tracker at the current Claude Code version
  • Make scripts executable

2. Manual run

bash ~/clawd/skills/cc-changelog-monitor/scripts/monitor.sh

Output when no new version:

✓ Claude Code is at v2.1.69 — no change.

Output when new version detected:

🔔 New version detected: v2.1.69 → v2.1.70
📦 Downloading @anthropic-ai/claude-code@2.1.70...
✅ Telegram alert sent!
✅ Saved v2.1.70 as current version.

3. Add to OpenClaw Cron

See cron-payload.md for the exact payload to set up automatic monitoring every 2 hours.

How It Works

  1. Polls npm registry — curl https://registry.npmjs.org/@anthropic-ai/claude-code/latest
  2. Compares with ~/.cc-changelog-version (stored version)
  3. If new version: downloads the tarball, extracts it, diffs against previous
  4. Sends Telegram alert with version info + diff summary
  5. Saves new version to disk

Config

Credentials stored in ~/.cc-changelog-config:

TELEGRAM_BOT_TOKEN="your-bot-token"
TELEGRAM_CHAT_ID="your-chat-id"

Files Created by Monitor

  • ~/.cc-changelog-version — tracks the last seen version
  • ~/.cc-changelog-config — Telegram credentials
  • ~/clawd/projects/cc-changelog/{version}/ — extracted npm packages for diffing

Force Test Alert

# Reset version to trigger an alert
echo "0.0.0" > ~/.cc-changelog-version
bash ~/clawd/skills/cc-changelog-monitor/scripts/monitor.sh

Skill Invocation (from OpenClaw chat)

You can ask OpenClaw to run the monitor manually:

"Check if there's a new Claude Code version"

OpenClaw will run monitor.sh and report the result.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill