What problem does it solve? Reading a failing CI run by hand means listing jobs, fetching each log through the API, stripping ANSI escape codes and carriage returns, then searching for the lines that actually identify the failure. This Skill turns that six-step manual process into one command that prints only the failure-relevant lines per failing job. ## Core Features & Use Cases - Failure extraction, not full logs: Prints panics with following lines, test-suite Failed: summaries, test result: FAILED, GitHub ##[error] annotations, and repository-specific FAIL/portability: findings per failing job. - Dual-forge support: Detects GitHub vs. GitLab from the git remote (or CI_FAILURES_FORGE override) and uses gh api or glab api against documented REST endpoints, naming the chosen forge on the first output line. - Flexible targeting: Resolves a run/pipeline from an id, a PR/MR number, pr/N, a branch name, or nothing (current branch), with a stated magnitude heuristic disambiguating bare numbers. - Use Case: A pull request's checks went red. Run the script with the PR number and immediately see which job failed and the exact panic or test failure line, instead of scrolling through thousands of log lines in the web UI. ## Quick Start Ask the agent to run scripts/ci-failures.sh with your PR number, branch, or run id to show what actually failed in the red CI run.