I built a CLI that runs your CI locally and fixes failures with Claude Code
Stitch is an open-source CLI that parses your existing GitLab CI / GitHub Actions / Bitbucket Pipelines config, runs the jobs locally in parallel, and when something fails, hands the error to Claude Code or Codex CLI to fix. Re-verifies, commits, pushes. No API keys. MIT.
The loop I wanted to kill
Every push to a branch triggers cloud CI. Cloud CI takes 8β15 minutes. When it fails (and ~30% of pushes fail something), I open the logs in a browser, fix locally, push again, wait another 12 minutes.
On a normal day, that's 30β60 minutes of waiting. On a bad day with a flaky job, it's an afternoon.
I tried the existing tools:
act runs GitHub Actions locally, but only GitHub, and it stops at "failed."
Gitar / Nx Cloud are SaaS platforms that intercept failures in remote CI.β¦