watch-ci
Watch CI
Monitor GitHub PR CI checks in the background, notify on completion via macOS system notification. Also supports watching CI on the merge target branch when a PR is already merged.
The polling itself is a pure shell loop (gh CLI + jq) launched via Bash with run_in_background: true. No subagent is spawned — token cost is paid only at launch and at completion, not on every poll cycle.
On Claude Code on the web (
$CLAUDE_CODE_REMOTE=true): followweb/web-mode.md.ghis unavailable, so thegh-based poll scripts won't run — poll CI through the GitHub MCP instead (pull_request_readwithget_check_runs, oractions_*/get_job_logs), or theMonitortool. There is no macOS notifier on web; just report status when checks finish.
Scripts
scripts/notify.sh— macOS notification helperscripts/poll-pr-checks.sh <pr-number> [max-min]— poll an open PR's checks until terminal, then notifyscripts/poll-runs.sh <branch> <commit-sha> [max-min]— poll workflow runs on a branch+commit until terminal, then notify
All scripts default to a 60-minute cap and a 30-second poll interval.