CI Failure Triage and Repair
Chachamaru127/claude-code-harness
Diagnoses failing CI pipelines and tests, deciding first whether the test or the implementation is at fault, and hands hard cases to a dedicated fixer subagent.
Diagnose a PR, branch, run, or GitHub Actions URL from CI evidence and produce a fix plan without changing code.
$ npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Terry-Mao/AICodingFlow diagnose-ci-failures --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Terry-Mao/AICodingFlow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/diagnose-ci-failures .claude/skills/diagnose-ci-failures && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "diagnose-ci-failures" agent skill from https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/diagnose-ci-failures into .claude/skills/diagnose-ci-failures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-ci-failures", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/diagnose-ci-failuresType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Terry-Mao/AICodingFlow diagnose-ci-failures --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Terry-Mao/AICodingFlow.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/diagnose-ci-failures .agents/skills/diagnose-ci-failures && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "diagnose-ci-failures" agent skill from https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/diagnose-ci-failures into .agents/skills/diagnose-ci-failures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-ci-failures", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Terry-Mao/AICodingFlow diagnose-ci-failures --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Terry-Mao/AICodingFlow.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/diagnose-ci-failures .cursor/skills/diagnose-ci-failures && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "diagnose-ci-failures" agent skill from https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/diagnose-ci-failures into .cursor/skills/diagnose-ci-failures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-ci-failures", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Terry-Mao/AICodingFlow.git --path .agents/skills/diagnose-ci-failures--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Terry-Mao/AICodingFlow diagnose-ci-failures --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Terry-Mao/AICodingFlow.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/diagnose-ci-failures .gemini/skills/diagnose-ci-failures && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "diagnose-ci-failures" agent skill from https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/diagnose-ci-failures into .gemini/skills/diagnose-ci-failures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-ci-failures", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Terry-Mao/AICodingFlow diagnose-ci-failuresInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Terry-Mao/AICodingFlow.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/diagnose-ci-failures .github/skills/diagnose-ci-failures && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "diagnose-ci-failures" agent skill from https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/diagnose-ci-failures into .github/skills/diagnose-ci-failures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-ci-failures", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Terry-Mao/AICodingFlow diagnose-ci-failures --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Terry-Mao/AICodingFlow.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/diagnose-ci-failures .opencode/skills/diagnose-ci-failures && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "diagnose-ci-failures" agent skill from https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/diagnose-ci-failures into .opencode/skills/diagnose-ci-failures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagnose-ci-failures", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
diagnose-ci-failuresDiagnose a PR, branch, run, or GitHub Actions URL from CI evidence and produce a fix plan without changing code.
Diagnose CI Failures is an agent skill from Terry-Mao/AICodingFlow. Diagnose a PR, branch, run, or GitHub Actions URL from CI evidence and produce a fix plan without changing code.
Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Failing and flaky tests and CI/CD. It works with GitHub Actions. The repository describes itself as: Setup a AI Coding Flow. The licence is MIT.
Read from SKILL.md and the folder at commit 7703e16. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Diagnose CI Failures loads about 447 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 207 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Terry-Mao/AICodingFlow at commit 7703e16, republished under its MIT licence (© Terry-Mao). 207 words, ~447 tokens.
.claude/skills/diagnose-ci-failures/SKILL.md (or your agent's skills folder).Use this when the user asks to inspect failing CI. This skill is diagnosis-only: it produces a reviewable plan and does not edit, commit, push, or create PRs.
Use the user's run URL, run ID, or branch when provided. Otherwise inspect the current branch's PR and failed checks, then fall back to recent failed runs for that branch. If no failing target exists, report that and stop.
gh run view <run-id> --verbose
gh run list --branch <branch> --status failure --limit 5
gh pr view --json number,title,url,state,statusCheckRollupFor the selected PR/run, identify completed, pending, passed, and failed checks. If checks are still running, report the partial state instead of guessing. Pull failed-step logs first:
gh run view <run-id> --log-failedInspect a specific job or download artifacts only when the failed-step output is insufficient. Extract observed paths, line numbers, error messages, failing tests, stack traces, and environment/permission failures.
Group evidence into build/compile, test, lint/format, and environment/setup failures. Do not assume a language, tool, or root cause before repository files or logs establish it. Write a plan containing:
Prefer CI evidence over local guesses. Treat multiple unrelated failures as separate categories and recommend resolving them one category at a time.
© Terry-Mao, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/diagnose-ci-failures of Terry-Mao/AICodingFlow.
Open the folder on GitHubat commit 7703e16
Diagnose CI Failures next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Diagnose CI Failures this skillTerry-Mao/AICodingFlow | 167 | — | ~447 | Automated safety check: Pass | MIT | |
| CI Failure Triage and RepairChachamaru127/claude-code-harness | 3.2k | 1 repos | ~1.1k | Automated safety check: Notes | MIT | |
| CI Watchdoglatitude-dev/latitude-llm | 4.7k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Megatron-LM CI Failure TriageNVIDIA/Megatron-LM | 18k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| CI Triagefair-acc/gnuradio4 | 115 | — | ~548 | Automated safety check: Pass | LGPL-3.0 | |
| CI Failure Triagen1m21n/Infinite | 272 | — | ~1.5k | Automated safety check: Pass | Custom licence |
Chachamaru127/claude-code-harness
Diagnoses failing CI pipelines and tests, deciding first whether the test or the implementation is at fault, and hands hard cases to a dedicated fixer subagent.
latitude-dev/latitude-llm
Continuously monitor GitHub PR CI checks and automatically fix failures until all checks pass.
NVIDIA/Megatron-LM
Investigates a failing GitHub Actions run or job for Megatron-LM, finds the root cause plus the PR and test author involved, and files a structured bug issue.
fair-acc/gnuradio4
Fetch and classify a failed GitHub Actions job for this repo — distinguish out-of-memory kills, six-hour timeouts, configure errors and genuine test failures, and identify what was in flight.
n1m21n/Infinite
Diagnose a failed GitHub Actions run (Windows MSVC crash, Linux clang/sanitizer, link errors) from the logs in one pass, and fix every candidate at once instead of one CI round-trip at a time.
citypaul/.dotfiles
Systematic CI/CD failure diagnosis using hypothesis-first investigation, local reproduction, and environment delta analysis.
Terry-Mao/AICodingFlow
Generate a local static interactive D3 walkthrough of a pull request.
Terry-Mao/AICodingFlow
Improve repo-local PR review companion skills from human feedback on bot reviews.
Terry-Mao/AICodingFlow
Implement a GitHub issue in this repository by applying the local shared implement-specs workflow with repository-specific issue, spec-context, and summary-file handling.
Terry-Mao/AICodingFlow
Implement an approved feature from the repository's product and tech specs, keeping specs and code aligned in the same change as implementation evolves.
Terry-Mao/AICodingFlow
Review a GitHub pull request from pinned prdescription.txt, prdiff.txt, and optional speccontext.md snapshots, then write and validate review.json.
Terry-Mao/AICodingFlow
Learn repo-local duplicate issue guidance from recent maintainer duplicate closures and propose updates to the dedupe companion skill.
Works with
Categories
Diagnose a PR, branch, run, or GitHub Actions URL from CI evidence and produce a fix plan without changing code. Diagnose CI Failures is an agent skill from Terry-Mao/AICodingFlow. Diagnose a PR, branch, run, or GitHub Actions URL from CI evidence and produce a fix plan without changing code.
Diagnose CI Failures fits situations like: tasks that involve Failing and flaky tests; tasks that involve CI/CD.
Run `npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a claude-code`. Or copy the skill folder (.agents/skills/diagnose-ci-failures in Terry-Mao/AICodingFlow) into .claude/skills/diagnose-ci-failures in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a codex`. Or copy the skill folder (.agents/skills/diagnose-ci-failures in Terry-Mao/AICodingFlow) into .agents/skills/diagnose-ci-failures in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Terry-Mao/AICodingFlow --skill diagnose-ci-failures -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diagnose-ci-failures, .gemini/skills/diagnose-ci-failures, .github/skills/diagnose-ci-failures and .opencode/skills/diagnose-ci-failures in your project.
Going by SKILL.md and its folder, Diagnose CI Failures needs the command-line tools its instructions call (gh).
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Diagnose CI Failures is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 447 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Diagnose CI Failures: CI Failure Triage and Repair (Chachamaru127/claude-code-harness, 3.2k stars), CI Watchdog (latitude-dev/latitude-llm, 4.7k stars), Megatron-LM CI Failure Triage (NVIDIA/Megatron-LM, 18k stars) and CI Triage (fair-acc/gnuradio4, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Terry-Mao (a GitHub user) maintains it in Terry-Mao/AICodingFlow, which has 167 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 3, 2026.
Source: Terry-Mao/AICodingFlow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.