analyze-ci

Analyze failed GitHub Action jobs in pull requests to identify root causes.

1|6|Updated Mar 28, 2025
One-click install
npx skills add https://github.com/mlflow/dev --skill analyze-ci
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: analyze-ci
Source: https://github.com/mlflow/dev/tree/main/.claude/skills/analyze-ci
Command: npx skills add https://github.com/mlflow/dev --skill analyze-ci

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill analyzes failed GitHub Action jobs in a pull request to quickly identify root causes and relevant logs.

Core Features & Use Cases

  • PR-wide failure analysis: Assess all failed jobs in a PR to surface common issues.
  • Targeted debugging: Analyze specific job URLs directly to isolate failures.
  • Token-based access: Works with auto-detected GitHub tokens or GH_TOKEN for secure access.

Quick Start

uv run skills analyze-ci <pr_url> uv run skills analyze-ci <job_url> [job_url ...] uv run skills analyze-ci <pr_url> --debug

Frequently Asked Questions about analyze-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the root cause of failed GitHub Actions jobs in a pull request?▼

Analyzing failed GitHub Actions jobs identifies root causes by evaluating all failed jobs in a pull request or specific job URLs, outputting a concise failure summary from the relevant logs.

How do I debug a specific failed GitHub Actions job URL directly?▼

You can debug a specific failed GitHub Actions job by passing the job URL directly to the analyzer, which isolates the failure and outputs relevant logs without evaluating the entire PR workflow.

Do I need a GitHub token to analyze CI failures in pull requests?▼

Yes, a GitHub token is required to analyze CI failures and is auto-detected via the gh auth token command or set explicitly using the GH_TOKEN environment variable for secure repository access.

Can I view detailed debug output when analyzing failed GitHub Actions jobs?▼

Yes, you can view detailed debug output when analyzing failed GitHub Actions jobs by passing the --debug flag alongside the pull request URL to generate more verbose diagnostic logs.

What is the best way to surface common issues across multiple failed GitHub Actions jobs?▼

The best way to surface common issues across multiple failed GitHub Actions jobs is to perform a PR-wide failure analysis that assesses all failed jobs simultaneously to identify shared root causes.