analyze-ci-failure-logs

Analyze CI failure logs to identify root causes and error patterns.

18|5|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/mvillmow/ml-odyssey --skill analyze-ci-failure-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-ci-failure-logs
Source: https://github.com/mvillmow/ml-odyssey/tree/main/.claude/skills/analyze-ci-failure-logs
Command: npx skills add https://github.com/mvillmow/ml-odyssey --skill analyze-ci-failure-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill analyses CI failure logs to extract error messages, categorize failures, and surface actionable root causes and remediation steps.

Core Features & Use Cases

  • Download/collect logs from PR runs
  • Parse errors by category (compilation, tests, timeout, dependency)
  • Report findings with remediation suggestions

Quick Start

gh run download <run-id> -D /tmp/ci-logs gh run view <run-id> --log > /tmp/ci-output.log grep -i "error|failed|panic|exception" /tmp/ci-output.log

Frequently Asked Questions about analyze-ci-failure-logs

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

FAQPage Schema
How do I identify root causes in CI pipeline failures?

CI failure analysis extracts error messages from logs, categorizes them by type (compilation, tests, timeout, dependency, environmental), and traces failures to source lines and stack traces. This Skill parses logs from GitHub Actions builds to surface actionable remediation steps, distinguishing code-related issues from environmental problems.

What's the best way to parse CI logs and extract error patterns?

Parse CI failure logs by collecting logs from PR runs, searching for error keywords (FAILED, ERROR, PANIC, exception), and categorizing matches by failure type. Pattern-matching correlates errors with recent PR changes to produce a concise summary of root causes and remediation suggestions.

Can I use GitHub Actions logs with this diagnostic tool?

Yes, this Skill applies to CI pipelines and GitHub Actions builds. It downloads logs via the gh CLI, extracts and categorizes errors, and correlates failures with code changes to identify whether issues stem from compilation, tests, timeouts, dependencies, or environmental factors.

How do I extract error logs from a failed GitHub Actions run?

Use the gh CLI to download logs from a specific run: `gh run download <run-id> -D /tmp/ci-logs` or view run output: `gh run view <run-id> --log > /tmp/ci-output.log`. This Skill parses the collected logs to identify error patterns and root causes.

Why should I categorize CI failures instead of scanning logs manually?

Categorizing CI failures by error type (compilation, tests, timeout, dependency, environmental) surfaces patterns faster than manual scanning. Automated categorization distinguishes code-related issues from environmental problems and correlates errors with recent changes, enabling faster remediation.

What error types does CI log analysis detect?

CI log analysis detects and categorizes compilation errors, test failures, timeouts, dependency issues, and environmental problems. It searches for error keywords (FAILED, ERROR, PANIC, exception) and traces failures to stack traces and source lines for precise root-cause identification.