Gh Ci Triage logo

Gh Ci Triage

Community
jpoehnelt
gh-ci-triage

Diagnose failing GitHub Actions CI from log evidence and choose a fix, rerun, merge-forward, or escalation. Use when a PR or default-branch run is red, cancelled, or flaky, or a visual baseline or artifact is missing.

Overview

Publisherjpoehnelt
Repositoryskills
Skill namegh-ci-triage
Stars
23
Forks
1
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jpoehnelt on GitHub. Read the source before you install it.

Installation

Install the Gh Ci Triage AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jpoehnelt/skills/tree/main/gh-ci-triage
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoehnelt/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/gh-ci-triage .claude/skills/gh-ci-triage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gh Ci Triage in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gh Ci Triage on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gh Ci Triage is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CI triage

Diagnose from log evidence before acting.

Repo facts (from AGENTS.md or CLAUDE.md): the main CI workflow file and its jobs, the local command that reproduces each job, path filters or affected-selection rules, required checks, and which failures need a human (secrets, approvals, hardware). If AGENTS.md has no job map, read .github/workflows/.

Snapshot the current head

  1. Run scripts/ci-snapshot.sh [-R owner/repo] [-w workflow] <pr-number>. It prints the PR head, check runs and commit statuses on that head, workflow runs for that head, and recent runs on the base branch. With no PR it shows recent runs on the default branch.
  2. Read the first failing step's log (gh run view <run-id> --log-failed, adding -R owner/repo when the snapshot used it), not the job title. Later skipped steps are not independent failures. Save long logs to a scratch file and read the relevant excerpt.
  3. Compare with the base branch: is the same job or step red there? Pass -w <workflow-file> to narrow the comparison.
  4. Check the workflow definition when the job map in AGENTS.md may have drifted. An aggregate job (for example a ci-success gate) fails because a lane failed or was cancelled; find that lane.

Classify

Assign exactly one class and cite the log line or run URL that proves it.

  • real: a specific assertion, type, lint, build, or code-generation failure, including merge conflicts with the base. Reproduce with the narrowest local command that mirrors the CI job (same filter and flags), fix, push.
  • base-red: the same step is red on the latest base-branch run. Cite that run. Port an existing fix if one exists; otherwise comment once on the PR naming the step and the failing base run. Do not expand an unrelated PR to fix it unless asked.
  • flake: a known transient (network fetch, runner loss, browser or package download). Rerun the failed jobs once (gh run rerun <run-id> --failed, with the same -R); a second failure is real.
  • infra-not-published: a baseline or artifact the job compares against has not been published for the base SHA yet. Merge the base forward to a commit that has it; do not rerun. If the comparison was skipped for missing credentials, it is human-only.
  • cancelled: superseded by a newer push (PR concurrency cancels older runs). Inspect the newest head.
  • human-only: missing secrets (common on fork PRs), rotated tokens, screenshot or deploy approval, hardware. Report the exact blocker.

Classify before rerunning. Route deploy, runtime-config, or secret drift failures to the repo's deploy guidance (for Alchemy stacks, alchemy-infra).

Reproduce narrowly

  • Use the repo's task runner filter for the failing package (for Turborepo, turbo run <task> --filter=<pkg>); add the runner's force or no-cache flag when a cache hit may hide the failure.
  • For generated-code drift, regenerate with the repo's generate command and check git diff --exit-code on the generated paths.
  • For visual diffs, rebuild the catalog and rerun the visual test locally; only a human approves new screenshots.

Never skip, disable, or quarantine a test, edit a workflow to pass, push an empty commit to rerun, or use --no-verify.

Continue

Re-check the current head until checks are green, the PR merges, or a human is needed. Delivery continues in gh-pr-feedback-loop.

Verify

  • The failing step's log was read, not only the job title.
  • Exactly one class, with evidence; a base-red claim cites the base run.
  • The base branch was checked before calling a failure real.
  • No rerun before classification.
  • The local reproduction used the same filter and flags as CI.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Gh Ci Triage AI skill do?

Diagnose failing GitHub Actions CI from log evidence and choose a fix, rerun, merge-forward, or escalation. Use when a PR or default-branch run is red, cancelled, or flaky, or a visual baseline or artifact is missing.

Why use Gh Ci Triage on TypingMind?

Because you install it once and use it with any model. Gh Ci Triage is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gh Ci Triage in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jpoehnelt/skills/tree/main/gh-ci-triage. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Gh Ci Triage?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gh Ci Triage?

As many as you like. As long as a model supports skills, you can use Gh Ci Triage with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gh Ci Triage AI skill free?

Yes. It is published on GitHub by jpoehnelt under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇