greploop
Skill by haseeb-heaven
Iteratively fixes a GitHub PR, GitLab MR, or Perforce shelved changelist until Greptile gives a 5/5 confidence score with no unresolved comments. Built for developers who want a change optimized against Greptile's code review standards.
Install greploop
Built from the published package, never by AI.
git clone --depth 1 https://github.com/haseeb-heaven/gworkspace-agent /tmp/gworkspace-agent && mkdir -p ~/.claude/skills && cp -r /tmp/gworkspace-agent/skills/greploop ~/.claude/skills/greploopRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/haseeb-heaven/gworkspace-agent /tmp/gworkspace-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gworkspace-agent/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 improves a pull request, merge request, or shelved Perforce changelist until Greptile gives it a 5/5 confidence score with zero unresolved comments. It supports GitHub through the gh CLI, GitLab through the glab CLI, and Perforce through the p4 CLI. The skill detects the platform, identifies the review, and triggers Greptile by posting "@greptile review" on GitHub or GitLab, or by waiting for a webhook after a shelve on Perforce.
Each loop fetches Greptile's score and inline comments, fixes the actionable ones, resolves the threads, then commits and pushes or re-shelves. It stops at 5/5 with no unresolved comments or after 5 iterations, then reports a summary. It is aimed at developers who want to fully optimize a change against Greptile's code review standards.
Written from the project's SKILL.md and checked against it.
What it can do
- Detect platformChecks for a Perforce environment, then falls back to GitHub or GitLab based on the git remote URL.
- Identify reviewFinds the PR, MR, or pending changelist for the current branch or workspace.
- Trigger Greptile reviewPushes or re-shelves changes and posts a review request if Greptile is not already running.
- Fetch review resultsReads the Greptile confidence score and unresolved inline comments from descriptions, reviews, or notes.
- Fix actionable commentsReads each unresolved comment in context and makes code changes where a fix is needed.
- Resolve threadsMarks addressed review threads or discussions as resolved on GitHub or GitLab.
- Commit and pushCommits the fixes with an iteration message and pushes, or re-shelves the changelist for the next round.
- Report summarySummarizes platform, iterations, final confidence, resolved count, and any 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 PR until Greptile gives it 5/5
- Address all unresolved Greptile comments on GitLab MR 42
- Re-shelve my pending changelist and rerun Greptile review
Good to know
- Stops after a maximum of 5 iterations.
- Self-hosted GitLab whose hostname lacks "gitlab" needs a --vcs gitlab override.
- Perforce review polling depends on the Greptile installation and any review tool such as Helix Swarm.
- The GitLab Greptile bot username may vary per installation and should be verified on first run.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: 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:*)
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
Which platforms does greploop support?
The skill supports GitHub PRs through gh, GitLab MRs through glab, and Perforce shelved changelists through p4.
When does the greploop loop stop?
It stops when Greptile gives 5/5 with zero unresolved comments, or after reaching the maximum of 5 iterations.
Does greploop need Greptile set up on the repository?
Yes. The source lists Greptile being installed on the repo as a requirement, along with an authenticated git host CLI.
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 75 of 100. Grades: maintenance A, licence A, quality B. 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.
