/github:check-pr-ci-statusfrom github
Checks CI status on a GitHub PR and detects new failures since the last check. Useful for CI monitoring, deciding if failures need attention, or building a review-response loop.
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Check the CI check status on a GitHub pull request and detect whether any failures are new since the last check. This enables efficient CI monitoring — only act on new failures, not stale ones that were already addressed.
Use this skill when you need to:
gh CLI: Authenticated with gh auth loginresult=$(bash "${CLAUDE_PLUGIN_ROOT}/skills/check-pr-ci-status/check_pr_ci_status.sh" \
--repo owner/repo \
--pr 123)
result=$(bash "${CLAUDE_PLUGIN_ROOT}/skills/check-pr-ci-status/check_pr_ci_status.sh" \
--repo owner/repo \
--pr 123 \
--previous-failures "ci/prow/e2e-aws ci/prow/unit")
| Parameter | Required | Description |
|---|---|---|
--repo | Yes | GitHub repository in owner/repo format |
--pr | Yes | Pull request number |
--previous-failures | No | Space-separated check names that were failing on the last check |
JSON on stdout:
{
"failing_checks": [
{"name": "ci/prow/e2e-aws", "state": "FAILURE"},
{"name": "ci/prow/unit", "state": "FAILURE"}
],
"failing_count": 2,
"failing_names": "ci/prow/e2e-aws ci/prow/unit",
"has_new_failures": true,
"formatted": "- ci/prow/e2e-aws (FAILURE)\n- ci/prow/unit (FAILURE)"
}
The failing_names field is designed to be passed back as --previous-failures on the next call:
LAST_FAILURES=""
while true; do
sleep 300
result=$(bash "${CLAUDE_PLUGIN_ROOT}/skills/check-pr-ci-status/check_pr_ci_status.sh" \
--repo owner/repo --pr 123 --previous-failures "$LAST_FAILURES")
has_new=$(echo "$result" | jq -r '.has_new_failures')
if [[ "$has_new" == "true" ]]; then
formatted=$(echo "$result" | jq -r '.formatted')
echo "New CI failures detected:"
echo "$formatted"
# Address failures...
fi
LAST_FAILURES=$(echo "$result" | jq -r '.failing_names')
done
gh pr checks to get all check statuses--previous-failureshas_new_failures: true if the set of failing checks has changedA failure is considered "new" when the set of failing check names differs from --previous-failures. This means:
has_new_failuresIf --previous-failures is not provided, any failing check is considered new.
fetch-pr-comments — Fetch trusted PR review commentsupload-screenshot — Upload images to GitHub for PR commentsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/fetch-pr-commentsFetch new review comments from a GitHub PR, filtered to trusted users (org members + allowed bots). Use when monitoring a PR for feedback, checking for new review comments, or building a review-response workflow./upload-screenshotUpload screenshots or images to GitHub and get back embeddable URLs for PR comments and issues. Use this when you have taken a screenshot, captured a UI change, or have any image file that needs to be shared in a GitHub PR or issue.npx claudepluginhub openshift-eng/ai-helpers --plugin githubOther plugins' skills for the same job