greploop

Iteratively fixes PRs, MRs, and changelists until Greptile review reports 5/5 confidence.

1|Updated Sep 16, 2026
One-click install
npx skills add https://github.com/dsatpm/factory-skills --skill greploop-dsatpm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: greploop
Source: https://github.com/dsatpm/factory-skills/tree/main/plugins/greploop/skills/greploop
Command: npx skills add https://github.com/dsatpm/factory-skills --skill greploop-dsatpm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Manually cycling through AI code review feedback—reading Greptile comments, fixing issues, pushing changes, and re-triggering reviews—consumes significant developer time across GitHub, GitLab, and Perforce workflows. ## Core Features & Use Cases - Automated Review-Fix Loop: Triggers Greptile reviews, polls check runs or pipelines for completion, fixes actionable comments, resolves threads, and re-pushes until a 5/5 confidence score with zero unresolved comments is reached. - Multi-Platform Support: Works with GitHub (gh CLI), GitLab (glab CLI), and Perforce (p4 CLI with shelved changelists), auto-detecting the platform from the environment. - Bounded Iteration: Caps cycles with a configurable --max-iterations flag (default 10) and reports remaining issues when the cap is hit. - Use Case: A developer opens a large PR that Greptile flags with 12 comments and a 3/5 score; greploop fixes each comment, resolves threads via GraphQL or the GitLab API, and repeats until the review is clean. ## Quick Start Run greploop on my current pull request and keep fixing Greptile's comments until it reaches a 5/5 confidence score.

Frequently Asked Questions about greploop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix Greptile review comments on a pull request?▼

Run greploop on the PR branch; it triggers a Greptile review, fetches unresolved inline comments, applies fixes, resolves threads, pushes, and repeats until the confidence score reaches 5/5 or the iteration cap is hit.

Does greploop work with GitLab merge requests and Perforce changelists?▼

Yes, greploop supports GitHub via the gh CLI, GitLab via the glab CLI, and Perforce via the p4 CLI with shelved changelists. It auto-detects the platform, or you can override with --vcs gitlab or --vcs perforce.

How do I limit the number of review-fix iterations?▼

Pass --max-iterations N to cap the review-fix-push cycles; the default is 10. When the cap is reached, the loop stops and reports the current confidence score plus any remaining unresolved comments.

What happens if the Greptile check run times out?▼

The workflow polls the Greptile check run or pipeline job for up to roughly 10 minutes (60 attempts at 10-second intervals). On timeout it stops the loop and reports the timeout rather than continuing with stale review results.

What tools must be installed before running greploop?▼

You need git plus an authenticated gh CLI for GitHub or glab CLI for GitLab, or an authenticated p4 CLI for Perforce. Greptile must also be installed on the target repository so reviews can be triggered.