Sweep Reds (CI Failure Sweep)
A discipline skill for repairing confirmed CI failures base-first, then preparing affected PRs one at a time with exact-SHA evidence.
Dev & CodingAdvanced★ 85,858⑂ 13,013AI score 7/10Last updated: Nov 9, 2026
What it does
- Base health first: resolves live main/release refs and freeze state read-only, reproduces each failure signature on a pinned base, separates setup/install failures from assertion failures, and opens one owned branch per reviewable repair with RED-to-GREEN proof.
- PR queue triage: inventories requested open PRs and classifies required failures, advisory failures, pending, stale, cancelled and approval-needed separately, working one PR at a time with ownership checks before each mutation.
- Exact-candidate evidence: PASS only from current applicable executions on the exact SHA; closed or missing incidents and inherited labels count as UNKNOWN.
- Hard boundaries: never merges, closes PRs, changes freeze state, weakens assertions, widens tolerances or suppresses failures; missing access is a HOLD, not a PASS.
- Structured report: base and PR SHAs, failure signatures and counts, causal confidence, commits, run/attempt/artifact evidence, full vs partial validation, and outstanding holds.
Who it's for
- Maintainers of busy monorepos or OSS repos who regularly clear red CI and PR backlogs
- Platform/release engineers restoring the merge queue before a cut
- Teams that want to stop agents from faking green by loosening tests
Examples
- Ask "sweep reds" and the agent first reproduces failures on main's current SHA, reporting install failures separately from assertion failures.
- Once the base is green, it inventories 12 failing PRs, splits required vs advisory vs stale evidence, and prepares a minimal fix for the first one.
- When five iterations fail to converge, it reports the evidence and the owner decision needed, then moves to the next independent item instead of relabeling red as green.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/cheaper-inference/OmniRoute/HEAD/config/quality/skill-templates/sweep-reds/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the config/quality/skill-templates/sweep-reds folder from the GitHub repo cheaper-inference/OmniRoute into my ~/.claude/skills/sweep-reds/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/cheaper-inference/OmniRoute.git && mkdir -p ~/.claude/skills && cp -r OmniRoute/config/quality/skill-templates/sweep-reds OmniRoute/config/quality/skill-templates/_shared ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/cheaper-inference/OmniRoute.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill together with its shared docs:
cp -r OmniRoute/config/quality/skill-templates/sweep-reds OmniRoute/config/quality/skill-templates/_shared ~/.claude/skills/ - Verify that
~/.claude/skills/sweep-reds/SKILL.mdexists and that_shared/base-green.mdand_shared/validation-gate.mdare actually present; if not, locate them in the repo and copy them too. - Restart Claude Code, then ask it to "sweep reds" or "restore the queue".
- Remember the skill never merges anything — you still perform the final merge of the prepared PRs yourself.
View source on GitHub ↗License: MIT