YiHui GITHUB MONITOR
by @1yihui
Monitor multiple GitHub repos with configurable alert policies for releases, PRs, and security, sending low-noise notifications via scheduled cron jobs.
clawhub install yihui-github-monitor📖 About This Skill
name: github-monitor name: github-monitor description: Monitor one or more GitHub repositories and send low-noise alerts with configurable policy modes (major_only, balanced, verbose). Use when setting up recurring repo watch, release/security monitoring, PR merge tracking, and daily digest workflows via OpenClaw cron. tags: - github - monitoring - notifications - cron compatibility: openclaw license: MIT
name: github-monitor
GitHub Monitor
Build one-cron multi-repo monitoring with deduplication, severity routing, and low-noise notifications.
Quick setup
Collect:
repos: list of owner/repopolicy_mode: major_only | balanced | verbosecheck_interval: recommended 2htimezone: e.g. America/New_Yorkdaily_digest_time: e.g. 21:00notify_target: user/channel idstate_file: e.g. /root/.openclaw/workspace/memory/repo-watch/multi-repos.jsonUse one isolated cron job to monitor all repos.
Data sources per repo
Check with GitHub public APIs each run:
1. Latest release 2. Recent commits (last 50, filtered by run window) 3. Recently merged PRs (filtered by run window)
Policy modes
1) major_only
P0 signals:
breaking|migration|security|auth2) balanced (default)
P1 keyword examples:
gateway|config schema|tooling|memory|cron|session|channel|provider|search|index|install|auth flow3) verbose
Severity scoring recommendations
Do not rely on title keyword only; combine signals:
core/, gateway/, agent/, runtime/
- lower weight: docs/, tests/, examples/Baseline + notification window (critical)
Track notification cursors in state to avoid backfilling old events:
installed_at: skill first-run timelast_checked_at: last successful scan timelast_notified_at: last time user was notifiedRules:
1. On first install/run, initialize all three to now and do not send historical events.
2. Each run only evaluates events in (last_checked_at, now].
3. Notify only for events newer than last_notified_at.
4. After sending any alert/digest, set last_notified_at = now.
5. After successful scan, set last_checked_at = now.
Noise control
repo + event_type + event_id/hashpending_daily)Reliability
Suggested OpenClaw cron behavior
Output mode (default: brief impact summary)
Default output must be concise and decision-oriented, not event-by-event long list.
Use this fixed structure:
1. 本窗口结论(是否有关键变化) 2. 对用户可能影响(3-5 条,按优先级) 3. 建议动作(最多 3 条) 4. 详情入口:回复“看详情”再展开事件清单
Impact-first grouping (preferred):
Detailed mode (on-demand)
Only when the user explicitly asks “看详情/展开/给清单”, output event-level details with links.