Monitor GitHub PRs and Issues for changes — comments, reviews, CI status, merge conflicts. State tracking prevents duplicate alerts.
# Clone
git clone https://github.com/manthis/openclaw-skill-github-watcher.git
cd openclaw-skill-github-watcher
# Configure
export GITHUB_WATCH_ITEMS="owner/repo#123,owner/repo#456"
# Run
./scripts/github-watcher.sh
# Dry run (no state changes)
./scripts/github-watcher.sh --dry-run
# JSON output
./scripts/github-watcher.sh --json- gh CLI (authenticated)
jq
| Variable | Required | Default | Description |
|---|---|---|---|
GITHUB_WATCH_ITEMS |
✅ | — | Comma-separated: owner/repo#123 |
GITHUB_WATCHER_STATE |
~/.openclaw-github-watcher-state.json |
State persistence file | |
GITHUB_WATCHER_LOG |
~/logs/github-watcher.log |
Log file path | |
DRY_RUN |
false |
Skip state save | |
OUTPUT_FORMAT |
text |
text or json |
- 💬 New comments
- 👀 New reviews
- 🔄 State changes (open → closed → merged)
- ✅❌ CI status changes
⚠️ Merge conflict status
- 💬 New comments
- 🔄 State changes
See SKILL.md for OpenClaw-specific configuration.
MIT