
PR Check Loop
Repeatedly fix a GitHub PR's CI checks until they pass or a clear blocker is named.
- Repository
- paperclipai/paperclip
- Stars
- 110,078
- Licence
- MIT
- Files
- 1 file
What it does
Once installed, the agent takes a GitHub pull request and keeps working on it until every automated check on the latest commit is green, or until it can explain exactly what is blocking it. It reads the check results, looks at logs for failed checks, fixes problems in the code when it can, pushes the changes, and waits for the checks to run again. If a problem needs something outside the code, such as a missing secret, a third-party outage, or permissions it lacks, it stops and writes a clear report for the person who can fix it.
Great for
- Developers who have a PR with red or stuck CI checks after review fixes
- Teams using GitHub Actions who want an agent to handle routine check failures such as lint, type, or build errors
- People who already use a review-focused skill like greploop and need CI cleaned up afterward
Skip it if
- GitLab or non-GitHub repositories, which the skill says to stop on and redirect to check-pr
- Repositories where the agent should not push commits or rerun CI without review, since the skill pushes changes and reruns failed jobs once
- Cases where the user only wants review-comment cleanup, which is outside this skill's scope
Try asking
- “Get PR 123 green, the checks are failing after my review fixes”
- “Check the latest head commit on this branch and fix any failing CI”
- “Keep iterating on this PR until the checks pass or tell me what is blocking it”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the MIT licence and an attribution note.
prcheckloop.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip prcheckloop.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip prcheckloop.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Give the PR number explicitly to avoid the agent guessing from the current branch.
- Set a lower max iteration count if you want to limit how many commits and pushes the agent makes.
- Review the commits it pushes, since it commits and pushes fixes to the PR branch without asking at each step.
What's inside
- SKILL.md
Redistributed unmodified from paperclipai/paperclip under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.