Skip to content

codesoda/ci-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ci-watch

A Claude Code skill that waits for a PR's GitHub CI checks to finish and returns a slim pass/fail summary — one background call instead of polling gh pr checks by hand.

What it does

watch.sh runs a single long-lived poll loop that blocks until every check on one or more PRs has settled, then prints a one-line verdict per PR plus a compact per-check breakdown. Full JSON and failing-job logs are written to a temp file so logs never pollute stdout. As a Claude Code skill it's meant to be launched in the background, so you can keep working while CI runs.

Usage

# current branch's PR
bash watch.sh

# explicit PR number / URL / branch (numbers use the cwd repo unless --repo given)
bash watch.sh 1234
bash watch.sh https://github.com/owner/name/pull/1234

# watch several at once — one call, one combined summary
bash watch.sh 1234 1240 --repo owner/name

Requires an authenticated gh and jq.

See SKILL.md for the full skill definition: arguments, options/env vars, output format, exit codes, and behaviour notes.

Install

Install it with the skills CLI, which pulls this repo's SKILL.md + watch.sh straight into your agent's skills directory:

# into the current project (interactive — choose agent + scope when prompted)
npx skills add codesoda/ci-watch

# …or globally, targeting Claude Code, non-interactively
npx skills add codesoda/ci-watch --agent claude-code --global --yes

If npx runs a stale cached build, pin the latest: npx skills@latest add codesoda/ci-watch.

Prefer to wire it up by hand (or hack on a local checkout)? Clone and symlink it into your skills directory instead:

git clone git@github.com:codesoda/ci-watch.git ~/projects/ci-watch
ln -s ~/projects/ci-watch ~/.skills/.agents/skills/ci-watch

About

Claude Code skill: wait for a PR's GitHub CI checks and return a slim pass/fail summary (runs in the background)

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages