Skip to content

Inspect failing PR checks, pull GitHub Actions logs, then plan and implement fixes after approval.

CCM score
53 of 100
skills.sh installs
616
GitHub stars
17.5K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the CI repair flow: resolve the PR, fetch failing check logs, summarize failures, draft a plan, and implement after approval
  • Includes scripts/inspect_pr_checks.py, which fetches failing checks and extracts log snippets, with --json output and a non-zero exit on remaining failures
  • Scopes work to GitHub Actions only; external checks such as Buildkite are reported by details URL and marked out of scope
  • Designed for developers who need a reviewed fix plan for failing PR checks on GitHub Actions

Install

$ npx -y skills add composio-community/awesome-codex-skills --skill gh-fix-ci -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Gh Pr Checks Plan Fix

Overview

Use gh to locate failing PR checks, fetch GitHub Actions logs for actionable failures, summarize the failure snippet, then propose a fix plan and implement after explicit approval.

  • Depends on the plan skill for drafting and approving the fix plan.

Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.

Inputs

  • repo: path inside the repo (default .)
  • pr: PR number or URL (optional; defaults to current branch PR)
  • gh authentication for the repo host

Quick start

  • python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"
  • Add --json if you want machine-friendly output for summarization.

Workflow

Details

Repository
github.com/composio-community/awesome-codex-skills
Categories
DevOps & Cloud, Debugging
First seen
Jun 3, 2026

Questions

What does the gh-fix-ci skill do?

The gh-fix-ci skill inspects failing GitHub PR checks with gh, pulls GitHub Actions logs for actionable failures, and summarizes the failure context. It then drafts a fix plan and implements the changes only after explicit user approval.

How do I install the gh-fix-ci skill?

Run npx -y skills add composio-community/awesome-codex-skills --skill gh-fix-ci -y in your project to install it. Once installed, the agent can debug and fix failing GitHub Actions checks on your pull requests.

What do I need before using gh-fix-ci?

You need the gh command-line tool authenticated against your GitHub host, which you can set up once with gh auth login. The skill also needs workflow and repo scopes so it can read check runs and logs.

Does gh-fix-ci work with Buildkite or other external CI checks?

No, it covers GitHub Actions only. For external checks such as Buildkite, the skill reports the details URL and marks those checks as out of scope.

More from composio-community/awesome-codex-skills

All 7

Similar to Gh Fix Ci

More DevOps & Cloud