About this template
Find the flake. Keep the merge button.
If GitHub Actions keeps going red for reasons that are not real bugs, this template earns its keep in recovered attention.
Flaky tests do two kinds of damage. They burn hours on reruns, and they train your team to ignore red, which is exactly how a real failure slips through. This fork works the problem the way an engineer would: pull the recent failed runs, group them by test name, and score each one flake versus product failure.
Then it drafts a small quarantine or fix PR. You merge. Nothing force-pushes main.
How the flaky test detection works
- Fork the template, sign in to Claude Code, and export a
GH_TOKEN. - Put your workflow name in
~/vault/ci.md. - Paste:
Last 20 failed runs of workflow CI. Report flakes. Draft only. - Read the report. Open the draft PR only if you agree with it.
That is the whole loop. Draft-only by default.
What you get when you fork
- The
flaky-test-hunterskill, tuned for GitHub Actions failure triage - A vault stub at
~/vault/ci.mdwhere you name your workflow - A demo prompt you can paste in your first five minutes
- Your own copy in an isolated Firecracker microVM on your subdomain, still hunting after you close your laptop
What you connect
Bring your own keys. Both stay inside your VM and never leave it:
- Claude login or
ANTHROPIC_API_KEY - A
GH_TOKENwith access to Actions logs and draft PRs
Secrets are scrubbed from the template. You supply your own.
Who it's for
You, if CI red noise is drowning out real bug signal and reruns have become a ritual.
Not you, if you want unattended merges into main. This agent drafts; it never merges.
Fork it
$25+/mo, 30-day money-back, no free trial. Fork it - your copy boots in about 3 minutes, and the first flake report is one pasted prompt away.
Part of the Software Factory collection.