ci loops

16 loops in this category.

Wait for CI so you don't have to

/loopnew

Poll gh pr checks every 10 minutes and get told when the PR is ready to merge, or a summary of which checks failed and why.

prompt
→ Claude
/loop 10m run `gh pr checks 1234`; if all pass, tell me it's ready to merge; if any fail, summarize which and why
cilow risk

Ship a PR through CI and reviews

/loopnew

Draft a PR, run CI, collect reviews, merge, and release—repeat every 30 minutes until land criteria are met.

prompt
→ Claude
/loop 30m /flow-next:land # ship loop: draft PR → CI green → reviews converged → merged → released
cihigh risk

Watch PR checks pass

/loopnew

Poll GitHub PR checks every 5 minutes until all status checks pass.

prompt
→ Claude
/loop 5m gh pr checks 1234
cilow risk

"check the PR every 15 min" |

/schedulenew

Community schedule loop for ci, sourced from github. Verified exit condition, evaluator-gated.

prompt
→ Claude
/schedule "check the PR every 15 min" |
cihigh risk

Ship specs through code review

/loopnew

Run spec-driven workflow loop every 10 minutes: plan work, collect reviews, execute tasks, open pull requests.

prompt
→ Claude
/loop 10m /flow-next:pilot # build loop: ready spec → plan → reviews → work → draft PR
cimedium risk

Re-run PR review on schedule

/schedulenew

Re-invoke a specific PR review skill every 20 minutes until the review completes or you stop it.

prompt
→ Claude
/loop 20m /review-pr 1234 , to re-run that skill each iteration. {/ min-version: 2.1.196 /}As of v2.1.196, a scheduled fire only runs skills that Claude is [allowed to invoke on its own](/en/skills#control-who-invokes-a-skill). The following reach Claude as plain text instead of executing
cimedium risk

Ship when checks pass

/loopnew

Poll GitHub PR checks every minute and merge once all required status checks pass.

prompt
→ Claude
/loop 1m with gh pr checks if available
cilow risk

Continuous Claude — PR-gated Ralph loop

/ralphnew

The Ralph loop for teams: every iteration ships as a pull request that must pass CI before merging, giving each cycle a verifiable checkpoint. Keep branch protection and human PR approval enabled rather than letting it auto-merge to main unattended.

prompt
→ Claude
Run Claude Code in a continuous loop that opens a PR per iteration, waits for CI checks, and merges when green, then starts the next iteration.
cimedium risk

Codex CI Autofix Loop (Fix Failing GitHub Actions)

/ralph★ OpenAInew

An event-triggered loop where a red GitHub Actions build invokes `codex exec` non-interactively with the failing logs and repo, and Codex proposes a fix as a PR or patch artifact — one bounded iteration per CI failure.

prompt
→ Claude
CI job: on workflow failure, run `codex exec` non-interactively with the failing logs + repo, have it generate and propose a fix (PR or patch artifact) automatically. `codex exec` runs one task and exits, so each CI failure is one bounded iteration.
cimedium risk

Get the build green

/goalnew

Run the build, fix the first error, and repeat until npm run build exits 0, with a 10-turn cap.

prompt
→ Claude
/goal `npm run build` exits 0 — run the build, fix the first error, repeat until it succeeds; stop after 10 turns
cilow risk
Sponsored · ConnectMyEmail

Loops that read your inbox.

Email is the missing tool in your harness. ConnectMyEmail gives Claude Code and Codex a clean MCP into Gmail, Outlook, iCloud and IMAP — triage, drafts, follow-ups, on a loop.

connectmyemail.com →

Flaky CI quarantine watch

/looploopreponew

Watch CI runs on main every 20 minutes and quarantine any test that fails then passes on retry, filing an issue for each one it benches.

prompt
→ Claude
/loop 20m check the last CI runs on main with `gh run list`; if a test failed and then passed on retry, mark it skipped with a link to a new tracking issue you open via `gh issue create`, and report what you quarantined
cimedium risk

Get lint and E2E tests passing

/goalnew

Execute work from PLAN.md until npm run lint and npm run test:e2e pass, scoping changes per AGENTS.md.

prompt
→ Claude
/goal Implement the work described in PLAN.md. Stop only when npm run lint and npm run test:e2e pass. Follow AGENTS.md, keep changes scoped, and report verification evidence
cimedium risk

Issue-to-Merge GitHub-Native Loop (Engineer the Reload)

/ralphnew

A full-lifecycle loop where every piece of workflow state lives in GitHub — issues, labels, PR comments — and repo files, so each cold-start session rehydrates from GitHub rather than a conversation. Built on the official claude-code-action.

prompt
→ Claude
Run Claude Code across the full lifecycle — issue intake → branch → implement → PR → review fixes → merge — with ALL workflow state externalized to GitHub (issues, labels, PR comments) and repo files. Each session starts cold and rehydrates from GitHub state; "the chat being gone doesn't cost you anything."
cimedium risk

Babysit many PRs at once

/loopnew

Keep every PR labeled codex-watch healthy: fix CI failures, rebase behind-main branches, and nudge pending reviewers on a 15-minute cadence.

prompt
→ Claude
/loop 15m check every open PR labeled `codex-watch` and keep each healthy: fix CI failures, rebase when behind main, and nudge if a review is pending
cihigh risk

CI pipeline speedup

/goalloopreponew

Profile the CI pipeline and cut wall-clock time under a target by improving caching, splitting slow jobs, and removing redundant steps, verifying every run stays green.

prompt
→ Claude
/goal the CI pipeline completes in under 10 minutes on a typical PR — analyze the slowest recent runs with `gh run view`, apply one speedup per turn (better dependency caching, job parallelization, removing duplicated steps, trimming artifacts), push to a test branch, and confirm the workflow still passes; stop at the target or after 10 turns
cimedium risk

Keep the build green between tasks

/goalnew

Run tests and fix broken messages until all checks pass, then move to the next task.

prompt
→ Claude
/goal messages; this minimal edit keeps it green between tasks
cilow risk