Command Palette

Search for a command to run...

Назад к скиллам
скилл № 75635

github:actions-monitor

Monitor GitHub Actions runs and extract failure diagnostics. Use when watching PR CI, branch builds, or specific workflow runs.

БесплатноЗапускает вложенные скрипты
bendruckerот bendrucker★ 18 звёзд на GitHub

Установить github:actions-monitor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Actions Monitor

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.

Target

$ARGUMENTS selects the mode:

  • A PR URL selects PR mode. It reads owner and repo from the URL and works from any directory.
  • A branch name selects branch mode.
  • A run ID selects run-id mode, which covers workflow_dispatch, manual triggers, and re-runs.
  • With no argument, watch the current branch's PR, or the branch itself when it has none.

Branch and run-id mode read the repo from git remote get-url origin. Pass --repo <owner/repo> to override it.

Start

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.

Events

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.

Reactions

  • 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.
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Monitor
  2. 02TaskStop
  3. 03Agent
  4. 04Bash(bun:*)
  5. 05Bash(gh run:*)
  6. 06Bash(gh pr view:*)
  7. 07Bash(gh pr checks:*)
  8. 08Bash(git remote:*)
  9. 09Bash(jq:*)

Вложенные файлы

  • scripts/watch.test.ts
  • scripts/watch.ts

FAQ

Что делает скилл github:actions-monitor?

Monitor GitHub Actions runs and extract failure diagnostics. Use when watching PR CI, branch builds, or specific workflow runs.

Как установить скилл github:actions-monitor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл github:actions-monitor запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить github:actions-monitor с