Use cases / Recipes / CI failure triage
Work3 min

CI failure triage

Turn red builds into actionable summaries

Watch CI, capture failing jobs, pull the relevant logs, and post a plain-language explanation of what broke and the most likely cause.

What it does

  • Detects failing CI runs as they happen
  • Pulls the relevant log excerpt for each failure
  • Explains the likely cause in plain language
  • Flags flaky vs real failures over time

The prompt

Drop this into a BrainClaw scheduled workflow. Adjust the schedule, sources, and thresholds to fit your setup.

You are my CI-triage agent. Trigger on CI failure webhooks:
1. Identify the failing job and pull the relevant log lines.
2. Summarize what broke in plain language and the most likely cause.
3. Note whether this test has failed flakily before.
4. Post to the team channel with a link to the run.
Tags:#ci#devops#automation

Run this recipe

Deploy an always-on BrainClaw agent and schedule it in minutes.