/github:actions-monitor [pr-url | branch | run-id] [--max-minutes N] [--interval S]from github
Watches GitHub Actions runs on PRs, branches, or specific run IDs until completion, diagnosing each failure. Emits structured events and dispatches log analysis on failures.
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; scripts run unread.
Watch a PR, branch, or workflow run until it reaches a terminal event, and diagnose each failure. The watch script tracks state and deduplicates events. The monitor is done when the script exits or you stop it with TaskStop, with every failing event diagnosed along the way.
$ARGUMENTS selects the mode:
workflow_dispatch, manual triggers, and re-runs.Branch and run-id mode read the repo from git remote get-url origin. Pass --repo <owner/repo> to override it.
Run the script under Monitor with persistent: true and one mode flag:
bun ${CLAUDE_SKILL_DIR}/scripts/watch.ts --pr <pr-url>
bun ${CLAUDE_SKILL_DIR}/scripts/watch.ts --branch <name> [--repo <owner/repo>]
bun ${CLAUDE_SKILL_DIR}/scripts/watch.ts --run-id <id> [--repo <owner/repo>]
Optional flags are --interval <seconds>, --max-minutes <N>, --queued-timeout <minutes>, and --api-error-threshold <N>. Without --interval, PR and branch mode derive the interval from recent run durations, and run-id mode polls every 180s.
The script prints one JSON object per line:
{"type":"status","state":"running|failing|success","sha":"...","run_id":"..."}{"type":"conflicts","sha":"..."} (PR mode){"type":"mergeable-unknown","sha":"..."} (PR mode){"type":"queued-timeout","minutes":N}{"type":"api-error","consecutive":N}{"type":"rate-limited","retry_after":"..."}{"type":"pr-closed"} (PR mode, also when the branch is deleted){"type":"merged"} (PR mode){"type":"max-time-reached","minutes":60}The script exits on status:success, pr-closed, merged, and max-time-reached. Run-id mode also exits on status:failing. PR and branch mode keep watching after failing, because a new push or run can follow. A target already green at startup emits one status:success and exits.
failing with a run_id: dispatch the github:logs agent with the run_id and the PR URL or branch. It returns a JSON summary of the failing jobs and saves the raw logs to a temp path you can read for more detail.failing with "run_id": null: the red check is an external status such as a hosted reviewer or deployment. Name the failing checks from gh pr checks.conflicts and mergeable-unknown: report the SHA and leave the response to the caller, such as pull-request:babysit. mergeable-unknown means GitHub had not settled mergeability after bounded re-polling.rate-limited: wait until retry_after, then retry.What SKILL.md sets; muted values are Claude Code's defaults
lowThree short reads, in order
npx claudepluginhub bendrucker/claude --plugin github5 skills in this plugin
/attachgithub:attachAttach a local image or video to GitHub content so it renders inline in an issue, pull request, comment, or review. Use when attaching a screenshot, recording, or diagram to GitHub content./copilotgithub:copilotGet a cross-model second opinion on a code change from GPT via the Copilot CLI, then triage what it finds. Use when the ask names GPT, Copilot, a second model, or a cross-model check, and as the cross-model pass on a change that clears the review gate./pr-commentsgithub:pr-commentsFetch, reply to, and resolve review threads on a GitHub pull request. Use when checking what review feedback needs addressing, whether threads are resolved, replying to review comments, or clearing AI-reviewer threads after acting on them./stackgithub:stackPublish and merge GitHub native stacked pull requests with the `gh stack` extension. Use when a branch is stacked on another branch rather than the default branch, when linking a chain of branches into a stack on GitHub, or when merging a PR that belongs to a stack. Load before running any `gh stack` command.Other plugins' skills for the same job