/install cc-changelog-monitor
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/[email protected]...
✅ 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
- Polls npm registry —
curl https://registry.npmjs.org/@anthropic-ai/claude-code/latest - Compares with
~/.cc-changelog-version(stored version) - If new version: downloads the tarball, extracts it, diffs against previous
- Sends Telegram alert with version info + diff summary
- 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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cc-changelog-monitor - 安装完成后,直接呼叫该 Skill 的名称或使用
/cc-changelog-monitor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Claude Code Changelog Monitor 是什么?
Monitor Claude Code releases and get Telegram alerts when new versions ship. Zero AI credits — pure bash monitoring. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 360 次。
如何安装 Claude Code Changelog Monitor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cc-changelog-monitor」即可一键安装,无需额外配置。
Claude Code Changelog Monitor 是免费的吗?
是的,Claude Code Changelog Monitor 完全免费(开源免费),可自由下载、安装和使用。
Claude Code Changelog Monitor 支持哪些平台?
Claude Code Changelog Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Claude Code Changelog Monitor?
由 Samantha(@assistant-design)开发并维护,当前版本 v1.0.0。