What it does
Group failed GitHub Actions runs by root cause; separate real regressions from flaky failures.
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 12/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
ci-triage をインストールして。https://mcp.popnx.com/i/wjddidi-1-ci-triage.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月16日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
AI にインストールしてもらう
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server ci-triage を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "ci-triage": { "command": "npx", "args": [ "-y", "ci-triage-cli" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、ci-triage のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "ci-triage": { "command": "npx", "args": [ "-y", "ci-triage-cli" ] } } }Claude を終了してもう一度開く
試してみる
ci-triage を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が ci-triage を使っていると言うか、回答に ci-triage のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ ci-triage につなげません
ci-triage はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · ci-triage につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server ci-triage を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user ci-triage -- npx -y ci-triage-cli 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、ci-triage のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user ci-triage -- npx -y ci-triage-cliClaude Code で /mcp と入力
ci-triage が一覧にあり、接続済みと表示されれば OK です
試してみる
ci-triage を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が ci-triage を使っていると言うか、回答に ci-triage のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server ci-triage を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "ci-triage": { "command": "npx", "args": [ "-y", "ci-triage-cli" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、ci-triage のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
Cursor の AI チャットを Agent モードで開く
試してみる
ci-triage を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が ci-triage を使っていると言うか、回答に ci-triage のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server ci-triage を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "ci-triage": { "type": "stdio", "command": "npx", "args": [ "-y", "ci-triage-cli" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、ci-triage のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
VS Code の AI チャットを Agent モードで開く
試してみる
ci-triage を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が ci-triage を使っていると言うか、回答に ci-triage のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user ci-triage -- npx -y ci-triage-cliClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"ci-triage": {
"command": "npx",
"args": [
"-y",
"ci-triage-cli"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"ci-triage": {
"command": "npx",
"args": [
"-y",
"ci-triage-cli"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"ci-triage": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ci-triage-cli"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- npm/PyPIにない
- 接続方法
- パソコンで動く
- 最新バージョンi
- 0.1.2
- レジストリ公開日i
- 2026年11月16日
- コードの最終更新i
- 2026年11月19日
- 作者
- WJDdidi-1
- パッケージ
npm: ci-triage-cli- ウェブサイト
- github.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント WJDdidi-1 で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:今日
- ✓ 合格
ライセンスがある
Apache-2.0を使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
公開済みの脆弱性(OSV.dev)
まだ確認していません
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/wjddidi-1-ci-triage)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの6182件のうち0%よりスターが多い
- このカテゴリのほかの6182件のうち91%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6182件のうち99%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
ci-triageは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は今日、最新バージョン(0.1.2)がレジストリに届いたのは3 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ ci-triage | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | Apache-2.0 | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
ci-triage
CI is red. Which failure matters, and is it a real regression or just flaky?
ci-triage answers that in one page: it fetches a repo's recent failed GitHub Actions runs, reads the failed job logs, groups failures by root cause, and tells you which ones are real regressions and which are flaky — so you fix the one thing that matters instead of reading thousands of log lines by hand.
Before / after
Before: CI is red on 3 runs. You open each run, find the failed job, scroll through the log, and try to remember whether you saw this error yesterday.
After:
$ ci-triage acme/widgets
ci-triage — acme/widgets Window: 2 recent runs listed, 2 failed examined Root causes: 1 (1 real, 0 flaky)
#1 test · 2 runs · real regression FAIL src/components/Button.test.tsx 3 test-runner failure signals in the error lines. fails on every recent run — looks like a real regression, not flakiness. first seen 2026-11-12 10:00 · last seen 2026-11-12 14:03 runs: #2 (test), #1 (test) evidence: FAIL src/components/Button.test.tsx ● Button › renders the disabled state expect(received).toBe(expected) // Object.is equality
Overall: 1 root cause — 1 real regression, 0 flaky
One root cause, two runs, real regression, with the failing test named. That is the whole triage.
Install
npm install -g ci-triage-cli
Requires Node 18 or newer. No other dependencies — pure Node.js standard library.
Rather not install it by hand? Paste this to your coding agent: "Install ci-triage (npm install -g ci-triage-cli if it's not on PATH), then run ci-triage --skill-generate so you triage red CI before reading any log."
Use
ci-triage <owner/repo> # triage the last 10 failed runs
ci-triage acme/widgets --runs 3 # fewer runs, faster ci-triage acme/widgets --workflow ci.yml --branch main ci-triage acme/widgets --json # machine-readable output ci-triage acme/widgets --top 3 # show only the top 3 root causes ci-triage acme/widgets --report triage.md # Markdown report to paste into a PR, an issue, or an agent chat ci-triage acme/widgets --annotations # also emit ::error:: / ::warning:: annotations for GitHub Actions
--report writes the same Markdown the GitHub Action puts in the Step Summary — the ranked report, not machine JSON — so the file, the summary, and the terminal output never disagree. Under --json the confirmation goes to stderr, so stdout stays parseable. --annotations does the same job for the run's annotations panel: one workflow-command line per root cause (::error:: for a real regression, ::warning:: for flaky or unknown), capped at 10 per level — GitHub's own limit. When the log names the failing file with a line (src/utils/format.ts:18:7, a Jest stack frame), the annotation is pinned to that file and line, so it also shows in the PR's changed-files view, one click from the code; a bare filename, an absolute runner path, or a node_modules frame stays unpinned rather than pointing at the wrong file. Under --json the lines go to stderr, so stdout stays parseable.
Exit codes: 0 when no failed job turned up, or when every failure in the window is a recorded known failure; 1 when failures were found (including failures whose logs could not be read — the repo is not clean), 2 for a usage error or an API error.
Known failures
A failure the team already knows about and is living with should not re-alert as a real regression on every triage — it drowns the new regressions. Record it once, then triage against the record:
ci-triage acme/widgets --write-known .ci-triage-known-failures.json
ci-triage acme/widgets --known .ci-triage-known-failures.json
--write-known records the current clusters and merges with entries already in the file; --known marks the clusters the file covers as known failures instead of new regressions. Matching is by failure signature, so a known failure stays known when it moves to another workflow. The file holds signature hashes and headlines only, so it is safe to commit. A recorded failure that stops appearing is listed as "not seen in this window (possibly fixed)" — remove it from the file if it is fixed. The method is Playwright's test.fail(): a known bug that is still exercised, expected to fail, and noticed when it stops failing. In the Action, a triage with only known failures passes the step instead of failing it.
Shell completion for bash, zsh and fish: ci-triage completion bash prints a completion script generated from the same option list the CLI parses, so it can never suggest a flag the CLI rejects. Install it with, e.g. ci-triage completion bash > ~/.bash_completion.d/ci-triage, or source <(ci-triage completion bash) for a one-off session. Mistyped a flag anyway? The CLI suggests the closest match (Did you mean ...?) instead of a bare error.
Auth — read this first
Set GH_TOKEN (or GITHUB_TOKEN). Without a token the triage can list the failed runs and jobs, but it cannot download their logs: GitHub does not allow anonymous job-log downloads, even for public repos. The first refused download stops the rest — the refusal applies to every job, so the triage lists all the failed jobs with the same reason instead of spending the anonymous budget on downloads known to fail. Without a token you get an honest report instead of a triage:
No clusters: 9 failed jobs found, but their logs could not be read.
Failed jobs #41–#49 · 2026-11-14 12:03 – 2026-11-15 08:41 Reason: downloading this job log needs a GitHub token (403) — GitHub does not allow anonymous log downloads; set GH_TOKEN or run gh auth login Overall: UNKNOWN — 9 failed jobs found, logs unreadable
With a token you get 5,000 API requests per hour. gh auth login works too when the GitHub CLI is logged in.
ci-triage doctor checks the setup itself before you triage anything: Node version, ci-triage on PATH, the home directory --skill-generate writes into, installed skills (and whether their frontmatter is valid — a broken one silently never triggers), whether a token is available, and whether the GitHub API answers (one cheap call, which also reports the rate-limit budget left this hour). It is read-only — it changes nothing — and every failure comes with a copy-paste fix. Warnings are for optional wiring (a missing skill, no token, an unreachable API); only failures make it exit 1. --json gives the same checklist as data. The method is Claude Code's claude doctor: one command that answers "is my setup healthy?" instead of debugging each piece by hand.
How it decides
- Signature: the error lines of a failed job, with timestamps, ANSI codes, file paths, hashes, versions and counts stripped — so the same failure on two runs has the same signature even when the paths and timings differ.
- Clustering: failures with the same signature are one root cause, ranked by how many runs they hit.
- Classification: each cluster is a test failure, a build failure, or an infra failure (timeouts and the like), from the error lines themselves.
- Flaky vs real: a cluster is flaky when the same commit passed on a later run, or when failures and successes alternate in the window. Failing on every recent run is a real regression.
- Known failures: a cluster whose signature is recorded in a known-failures file (
--known) is reported as a known failure, not a new regression. A triage with only known failures exits 0. - Regression window: a real regression names the last green run and the first red one ("broke between #1 (ccc0000) and #2 (aaa0000)");
git log ..lists the suspect commits. The method is git bisect's — the good and bad endpoints — answered from the run history instead of a binary search, since CI already ran every commit's build. The report also lists the files that changed between those two commits (GitHub's compare endpoint, capped at 10 with a count of the rest), so the fix starts from the suspect files, not just the suspect range; a compare that fails leaves the window line as it was. A flaky failure has no window; when no passing run precedes the first failure, the report says the regression predates the runs listed.
Logs expire: GitHub keeps job logs for 90 days. A failed job whose log is gone is recorded, not fatal.
For agents
ci-triage --mcp # stdio MCP server: triage_repo, triage_log
ci-triage --skill-generate # write a SKILL.md for this project (never overwrites) and a short section in AGENTS.md ci-triage --skill-generate --agents # same skill, in .agents/skills/ — the shared location Gemini CLI and Codex discover skills from
triage_log classifies a pasted log without touching the network — useful when you already have the log open. Both tools return the same JSON the CLI's --json produces, as the text block and again as structuredContent, the MCP structured-output channel (each tool declares a loose outputSchema: { type: 'object' }; error results carry none), so a calling application can read the fields typed instead of parsing the text.
The MCP server also serves one prompt, triage_ci (prompts/list / prompts/get): the one-shot "what broke in CI and what do I fix first?" workflow — call triage_repo with the repo (and workflow, if given), report the root causes ranked real regressions first, then flaky, then unknown, then known failures, and do not re-run or fix anything without the user agreeing — for MCP clients that let the user pick a prompt instead of typing a request. The method is FastMCP's: prompts are the third MCP primitive, the user-invoked template next to tools and resources. triage_repo also takes knownFile: a known-failures file to mark recorded clusters as known instead of new regressions.
Claude Code users can install the skill without installing the CLI first: /plugin marketplace add WJDdidi-1/ci-triage, then /plugin install ci-triage@ci-triage. The skill lives in this repo at skills/ci-triage/SKILL.md, so skill indexes can find it too.
Claude Desktop: the repo ships a manifest.json (MCPB, the renamed DXT format) — pack it with npx @anthropic-ai/mcpb pack and drag the .mcpb file onto Settings → Extensions. The bundle is just the server (zero dependencies, so there are no node_modules to bundle), and .mcpbignore keeps tests and tooling out of it.
GitHub Action
Use it from a workflow (it needs a token with actions:read on the repo; the workflow's own GITHUB_TOKEN can read its own repo's runs):
jobs:
triage: runs-on: ubuntu-latest steps:
- uses: WJDdidi-1/ci-triage@main with: repo: ${{ github.repository }} runs: 10
The action fails the job when it finds root causes, so the triage report lands in the log and in the run's Step Summary. Add --annotations to surface each root cause on the run's annotations panel too — one ::error:: per real regression, ::warning:: for flaky, unknown, or known — so the cause is visible without opening the log at all. It needs no token and no file, and it works on fork PRs, where the Checks API cannot write; the same trick reviewdog's github-annotations reporter uses. Locally it is a no-op: the lines only become annotations when a step runs in GitHub Actions.
How fast is it
On a real repo with 3 failed runs and 9 failed jobs, the triage took about 8 seconds wall-clock — against opening 9 job logs by hand and reading them. The clustering and classification themselves run in milliseconds; the time is the GitHub API round-trips.
Development
npm test # node:test, no extra dependencies, run serially
node scripts/bump-version.mjs # bump every version pin at once
Coverage uses Node's built-in runner (Node 22+ only — the suite itself runs on Node 18+): `node --test --test-concurrency=1 --experimental-test-coverage --test-coverage-include='lib/**/*.mjs' --test-coverag