GitHub CI Fix Debugging

GitHub CI Fix Debugging is a skill for Claude Code, Codex from PramodDutta/qaskills. It costs 37 tokens per session (699 once invoked), scanned A, original, MIT.

A skill for investigating failed checks on GitHub pull requests, which are proposed code changes. It uses check results and GitHub Actions logs to explain failures and plan fixes, then applies fixes only after approval.

In plain words
What is it for?
Use it to inspect failing pull-request checks, summarize their errors, propose a repair, and implement the approved fix.
Why use it?
It reduces the time spent searching through build and test logs to find the cause of a failed check. It also separates GitHub Actions failures from checks run by other services.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider.

Good fit Use it to inspect failing pull-request checks, summarize their errors, propose a repair, and implement the approved fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pramoddutta/qaskills/gh-fix-ci
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PramodDutta/qaskills --skill gh-fix-ci
Clone the repo
git clone --depth 1 https://github.com/PramodDutta/qaskills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for GitHub CI Fix Debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/pramoddutta/qaskills/gh-fix-ci/github.svg)](https://agentmods.dev/skills/pramoddutta/qaskills/gh-fix-ci)
Your own site
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/gh-fix-ci"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/gh-fix-ci/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for GitHub CI Fix Debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/gh-fix-ci"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/gh-fix-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00699
Opus 5 $0.00018 $0.00349
Sonnet 5 $0.00007 $0.00140
Haiku 4.5 $0.00004 $0.00070

Measured 6d ago against content hash 356c69f7434e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

GitHub CI Fix Debugging scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

seed-skills/gh-fix-ci/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub CI Fix Debugging

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

Prerequisites

Authenticate with the GitHub CLI:

gh auth login  # Ensure repo + workflow scopes
gh auth status  # Verify authentication

Workflow

1. Verify Authentication

gh auth status

If unauthenticated, ask the user to run gh auth login with repo + workflow scopes.

2. Resolve the PR

# Current branch PR
gh pr view --json number,url

# Or use a specific PR number
gh pr checks <pr-number>

3. Inspect Failing Checks

# List all PR checks with status
gh pr checks <pr> --json name,state,bucket,link,startedAt,completedAt,workflow

# For each failing check, get the run details
gh run view <run_id> --json name,workflowName,conclusion,status,url

# Fetch the logs
gh run view <run_id> --log

4. Scope Non-GitHub Actions Checks

  • If detailsUrl is not a GitHub Actions run, label it as external
  • Only report the URL for external providers (Buildkite, etc.)

5. Summarize Failures

For each failing check, provide:

  • The failing check name
  • The run URL
  • A concise log snippet showing the actual failure
  • Root cause analysis

6. Create a Fix Plan

Draft a concise plan including:

  • What failed and why
  • Proposed fix with specific file changes
  • Impact assessment
  • Request explicit approval before implementing

7. Implement After Approval

  • Apply the approved plan
  • Summarize diffs and changes made
  • Run relevant tests locally if possible

8. Recheck Status

# After fixes, verify checks pass
gh pr checks <pr>

Common CI Failure Patterns

Test Failures

  • Check test output for assertion errors
  • Look for environment-specific issues
  • Verify test data and fixtures

Build Failures

  • Check dependency versions and lockfiles
  • Verify TypeScript/compilation errors
  • Check for missing environment variables

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 116 lines · 37 tokens per session scan A 356c69f7434e

Subscribe to this mod's changes

GitHub CI Fix Debugging is a skill published in the GitHub repository PramodDutta/qaskills (220 stars, last pushed 10d ago), licensed MIT. It adds 37 tokens to every session and 699 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ci-debug

Diagnose a failing CI run against an 11-pattern playbook. Classifies the failure, cites the relevant memory entry, proposes the exact fix command — but NEVER applies without explicit user approval. Use when a specific PR check or GitHub Actions run failed and you want a diagnosis instead of speculation. Don't use for…

yonatangross/orchestkit · 92 tokens

fixing

Diagnose why a PR's CI failed — compare the CI definition against the sandbox, classify the failure, and make the minimal repair. Use when a PR is red and you must work out why before changing anything.

nearform/lastlight · 46 tokens

ci-status-checker

Interprets GitHub Actions run status and logs, diagnoses CI failure patterns, and suggests targeted fixes. Handles dependency install failures, test timeouts, build OOM, flaky tests, and workflow misconfigurations. Activate on: 'CI failing', 'build broken', 'workflow error', 'GitHub Actions debug', 'flaky CI'…

curiositech/windags-skills · 119 tokens

ci-triage

Classify CI failures — distinguish clear regressions from infra flakes and security-test failures. Produces structured failure reports.

cobusgreyling/loop-engineering · 28 tokens

github-actions-debugger

Debug and monitor GitHub Actions workflow runs. Check run status, view failed job logs, and troubleshoot CI failures. Use this when the user needs to investigate GitHub Actions failures, inspect job output, or identify the root cause of a broken workflow run.

opendatahub-io/ai-helpers · 56 tokens

gitlab-pipeline-debugger

Debug and monitor GitLab CI/CD pipelines for merge requests. Check pipeline status, view job logs, and troubleshoot CI failures. Use this when the user needs to investigate GitLab CI pipeline issues, check job statuses, or view specific job logs.

opendatahub-io/ai-helpers · 56 tokens