Gh fix ci

From OutlineDriven/odin-codex-plugin · View interactive version

Gh fix ci is an AI agent skill from the GitHub repository OutlineDriven/odin-codex-plugin. Inspect GitHub PR checks with gh, pull failing GitHub Actions logs, summarize the failure, then plan and implement the fix after user approval. Use when the user asks to debug or fix failing PR CI on GitHub Actions; external checks (Buildkite, etc.) are reported as URLs only.

How to use this skill

Skill file

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.

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

Quick start

Workflow

  1. Verify gh authentication.
  1. Resolve the PR.
  1. Inspect failing checks (GitHub Actions only).
  1. Scope non-GitHub Actions checks.
  1. Summarize failures for the user.
  1. Create a plan.
  1. Implement after approval.
  1. Recheck status.

Bundled Resources

scripts/inspect_pr_checks.py

Fetch failing PR checks, pull GitHub Actions logs, and extract a failure snippet. Exits non-zero when failures remain so it can be used in automation.

Usage examples:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.