Best fit
A GitHub Actions run failed and the owner needs the first evidence-backed cause or the smallest useful read-only check before editing the workflow.
Find the first real CI failure—even when the job never reached a step—and propose the smallest evidence-backed fix.
.github/workflows/*.yml and *.yaml at the failing commit.CI Doctor selects one primary category: dependency error, test failure, configuration syntax, timeout, permission denied, missing secret, runner issue, or unresolved pre-step failure. It prefers the earliest concrete error and keeps matrix cancellations and later cascade failures separate.
The recommendation must connect the observed log line to the matching repository fact. A missing module is checked against the real manifest; a lockfile failure is checked against the repository's selected package manager; and a token failure is checked against the event and permissions before broader access is suggested.
An empty steps array means normal step evidence is unavailable. It does not prove that application code failed, that a secret is missing, or even that a runner began executing the workflow.
CI Doctor checks the exact workflow revision, run and job state, annotations, runner labels and assignment, environment protections, job-level conditions and dependencies, reusable-workflow references, and matrix siblings. If none supports a narrower cause, it reports an unresolved pre-step failure and names the next read-only check instead of inventing a YAML change.
Diagnosis is read-only. For a live private repository, the agent needs GitHub CLI authentication with repository read access; otherwise, supply the workflow and redacted failed-step log. CI Doctor does not ask for secret values and cannot usually prove secret inventory from logs.
It asks before editing workflow or project files, rerunning a job, creating a branch, committing, pushing, or opening a pull request. Short log evidence should be redacted before it is shared outside the repository.
The bundled failure patterns are a diagnostic aid, not an exhaustive CI engine. A plausible match is not enough when the workflow, manifest, lockfile, diff, or triggering event contradicts it. A green rerun confirms only the tested commit, event, matrix, runner, permissions, and dependency state.
Use the buyer guide to record the failing run, locate the first concrete error, separate fork and secret boundaries, and verify one evidence-backed change.
Read the failed GitHub Actions diagnosis guide →A GitHub Actions run failed and the owner needs the first evidence-backed cause or the smallest useful read-only check before editing the workflow.
A run-state summary, one primary cause or explicit unresolved pre-step failure, the smallest supported next step, confidence, and unknowns.
It does not guess a missing secret from absent evidence, edit workflow files, rerun CI, push, or open a pull request without approval.
It inspects run and job state, annotations, workflow YAML at the failing commit, normal step logs when they exist, runner and environment context, matrix siblings, manifests, lockfiles, test configuration, and relevant diffs.
It returns the run state, one evidence-backed root cause or an explicit unresolved pre-step failure, short evidence, the smallest fix or next read-only check, confidence and unknowns, and an approval boundary.
CI Doctor treats an empty steps array as missing execution evidence, not proof that application code or a secret failed. It switches to annotations, the workflow revision, runner labels, environment protections, job conditions, reusable workflows, and matrix siblings.
It traces fail-fast matrix cancellations to the earliest required sibling failure and distinguishes job-level allowed failures from step-level continue-on-error behavior.
For live private-repository runs, GitHub CLI must be authenticated with repository read access. You can instead provide workflow files and redacted logs. The skill does not require secret values.
Usually not from CI logs. It can show that a workflow references a secret and that the consuming step failed authentication, then distinguish likely causes such as a wrong name, environment approval, fork restrictions, expiration, or insufficient scope.
No. Diagnosis starts read-only. It asks for confirmation before writing files, rerunning jobs, committing, pushing, or opening a pull request.
No. The failure catalog is a diagnostic aid, and repository-specific evidence controls the recommendation. The proposed fix still needs local checks where possible and a rerun under the relevant event, matrix, runner, and permission conditions.
Current price and purchase option are shown on Agensi. CI Doctor works with agents that read SKILL.md and keeps repository and GitHub changes behind confirmation.
Get CI Doctor on Agensi