greploop
Skill by tmoroney
Iteratively improves a GitHub PR, GitLab MR, or Perforce shelved changelist until Greptile gives it a 5/5 confidence score with zero unresolved comments. Built for developers who want to meet Greptile's review standards.
Install greploop
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tmoroney/auto-subs /tmp/auto-subs && mkdir -p ~/.claude/skills && cp -r /tmp/auto-subs/.agents/skills/greploop ~/.claude/skills/greploopRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tmoroney/auto-subs /tmp/auto-subs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/auto-subs/.agents/skills/greploop ~/.gemini/antigravity-cli/skills/greploopAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Greploop is an agent skill that repeatedly runs a Greptile code review loop on a pull request, merge request, or Perforce changelist. It detects the platform, triggers a Greptile review, reads the score and inline comments, fixes actionable items, resolves threads, then pushes or re-shelves and repeats. The loop stops at a 5/5 confidence score with no unresolved comments, or after 5 iterations.
The skill is for developers who use Greptile for code review and want to fully address its feedback before merging. It relies on the git, gh, glab, and p4 command line tools, and the source says Greptile must be installed on the repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Platform detectionChecks for Perforce first, then detects GitHub or GitLab from the git remote URL.
- Review triggerPosts a Greptile review request comment when no Greptile run is already in progress.
- Review pollingWaits for the Greptile check or pipeline job to finish before reading results.
- Score and comment parsingReads confidence scores and inline comments from PR descriptions, comments, and reviews.
- Automated fixesMakes code changes for actionable Greptile comments and notes informational or false positives.
- Thread resolutionResolves addressed review threads on GitHub and GitLab discussions.
- Commit and push or re-shelveCommits and pushes changes on Git platforms, or re-shelves the changelist on Perforce.
- Final reportSummarizes platform, iterations, final confidence, resolved comments, and remaining comments.
What you need
- git
- gh (GitHub CLI) authenticated, or glab (GitLab CLI) authenticated
- Greptile installed on the repository
- p4 CLI authenticated for Perforce
Try asking
- Run greploop on my current branch's pull request
- Optimize merge request 42 against Greptile's review standards
- Use greploop to get my shelved changelist to 5/5 confidence
Good to know
- Stops after a maximum of 5 iterations.
- Perforce has no native check runs, so review status must be checked through the Greptile webhook or dashboard.
- The GitLab bot username may vary by installation and must be verified on first run.
- Self-hosted GitLab hosts without 'gitlab' in the name need the --vcs gitlab override.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/greploop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(gh:*) Bash(glab:*) Bash(git:*) Bash(p4:*)
-
SKILL.md12 KB -
references/gitlab-api.md3 KB -
references/graphql-queries.md1 KB
Alternatives to greploop
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
greploop: common questions
Does greploop work with Perforce?
Yes. The source describes a Perforce workflow that re-shelves the changelist for each review round. It says Perforce has no native check runs and that review status must be checked through the Greptile webhook or dashboard.
When does greploop stop?
It stops when the confidence score is 5/5 with zero unresolved comments, or after 5 iterations. If it stops at the limit, it reports remaining comments and suggests next steps.
Does greploop need Greptile to be installed?
Yes. The compatibility note says Greptile must be installed on the repository, and the skill relies on Greptile's review score and comments.
How do I install greploop?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is greploop free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is greploop safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to greploop?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
