@appitlabs/ci-triage0.1.2
One command from "CI is red" to the failing step and the extracted error, for GitHub Actions and GitLab CI.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
ci-triage
CI is red → the failing step and the four lines that matter. GitHub Actions and GitLab.
What it is
ci-triage is a log reader that knows how CI works. Given a repo and branch, it asks the
provider which run failed, finds the job and the step inside it that broke, downloads that job's log,
throws away install noise, ANSI colour and timestamps, and prints the error block with two lines of
context around each hit. For GitLab it takes the same path through pipelines and job traces.
The problem it removes
The expensive part of a red pipeline is not reading the error — it is finding it inside ten thousand lines of package installation, and then not blowing up your context window with the rest. A typical run of this turns a 10,247-line log into four lines plus the name of the failing step.
Install
# any agent, via the skills CLI — this one, or all twelve at once
npx skills add Appit-labs/ci-triage -g -y
npx skills add Appit-labs/appit-skills -g -y
# Claude Code — the whole collection as one marketplace
claude plugin marketplace add Appit-labs/appit-skills
claude plugin install ci-triage@appit-skills
# pi
pi install git:github.com/Appit-labs/ci-triage
# any agent that reads a skills directory
git clone git@github.com:Appit-labs/ci-triage.git
cp -r ci-triage/skills/ci-triage ~/.claude/skills/ # or ~/.codex/skills/, .cursor/skills/, …
npm name.
ci-triageon npm belongs to another author. This skill is published as@appitlabs/ci-triage, and the whole collection as@appitlabs/skills.
Use
- Why is my branch red —
scripts/ci.py failing— resolves repo, branch, newest failed run, failing step, error - One specific job —
scripts/ci.py logs --job <id> - A log you already have —
scripts/ci.py extract path/to/log.txt --lines 60
What it does not do
- It does not fix anything, and it does not re-run the pipeline for you.
- It does not download the full log into the conversation — that is the thing it exists to avoid.
Requires
ghauthenticated (gh auth status) and/orglabauthenticated, whichever host the repo is on.reposcope for private GitHub repos.- Python 3.9+ (stdlib only).
Cost
| tokens | |
|---|---|
| always-on — the description, paid every session | ~85 |
| on invoke | ~0.9k |
The demo above is not a mockup: demos/ci-triage.json holds the captured run and
tools/make_demo.py renders it, so it can be regenerated and audited.
Provenance
Every command in this skill was run against a real target before it was written down: a live
database, a staging host, a failing CI run, a browser session. The repository was created and
published on 2026-11-18; where the workflow itself is older, CHANGELOG.md carries the dates.
Security
SkillSpector: 0/100, SAFE, 0 open findings against the committed baseline. Every accepted
finding is listed with its reason in SECURITY.md. No shell=True, no credential
storage, no network destination chosen at runtime.
Part of the Appit collection
All twelve, one install: npx skills add Appit-labs/appit-skills -g -y.
live-qa— live QA in a real browserci-triage— red CI to the failing line ← this skillpg-inspect— read-only Postgres inspectionrepo-runbook— the verified runbook in AGENTS.mdremote-exec— SSH that cannot hangtrello-tickets— seven ticket types, one cardcloud-browser— hosted browsers that stop billingopen-design— the OpenDesign monorepoblender-pipeline— Blender via MCPcode-scan— Skylos + Fallow, one gaterelease— conventional commits to a taghermes-setup— least-privilege agent wiring
License
MIT, copyright Appit Labs. See LICENSE.