← ClaudeAtlas

githubactions-monitorlisted

Monitor GitHub Actions runs and extract failure diagnostics. Use when watching PR CI, branch builds, or specific workflow runs.
bendrucker/claude · ★ 16 · Code & Development · score 79
Install: claude install-skill bendrucker/claude
# Actions Monitor Watch a PR, branch, or specific run's GitHub Actions progress and react to failures by pulling logs through the `github:logs` agent. The watch script handles state tracking and deduplication. This skill starts it, reacts to events, and stops it. ## Target `$ARGUMENTS` - A GitHub PR URL runs in **PR mode**. Owner and repo come from the URL, so PR mode works from any working directory. - A branch name runs in **branch mode**. - A run ID runs in **run-id mode**, watching a specific workflow run directly (covers `workflow_dispatch`, manual triggers, and re-runs). - No argument: derive the current PR with `gh pr view --json url --jq '.url'`. If the branch has no PR, fall back to branch mode with the current branch name. Branch and run-id mode infer the repo from `git remote get-url origin`; pass `--repo <owner/repo>` to override. ## Workflow #### Start the monitor Invoke `Monitor` with `persistent: true` on the watch script, with exactly 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: `--interval <seconds>`, `--max-minutes <N>`, `--queued-timeout <minutes>`, `--api-error-threshold <N>`. Omit `--interval` to let the script derive one from recent run durations in PR/branch mode; run-id mode uses a 180s default. #### Event schema The script emits one JSON