github-pr-reviewer
Set up a cron-based automation that watches your GitHub repository for pull requests with a configurable label, initiates an AI review conversation for each labeled PR, and posts the analysis back as a GitHub comment. The skill handles polling, state tracking, and comment posting deterministically in Python, invoking the LLM only for the review itself.
GitHub PR Reviewer automates code review of pull requests by monitoring for a label trigger and posting AI-generated feedback as comments.
AI-generated summary based on this skill's SKILL.md
Install
OpenHands/extensions/github-pr-reviewer · repository language: Python
git clone https://github.com/OpenHands/extensions
cp -r extensions/skills/github-pr-reviewer ~/.claude/skills/github-pr-reviewerFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does github-pr-reviewer do?
github-pr-reviewer sets up a cron-based automation that watches your GitHub repository for pull requests with a configurable label, initiates an AI review conversation for each labeled PR, and posts the analysis back as a GitHub comment. The skill handles polling, state tracking, and comment posting deterministically in Python, invoking the LLM only for the review itself.
How do I set up a github pull request automatic reviewer?
github-pr-reviewer automates code review by running on a schedule (cron) to detect PRs bearing your chosen label. Once detected, it triggers an AI review conversation and posts feedback as a GitHub comment. You configure the label, polling frequency, and repository details; the skill manages state tracking and deterministic polling logic.
Can I auto review github PRs with a label?
Yes. github-pr-reviewer supports label-triggered automation—configure which label marks PRs for review, and the skill polls your repository on a schedule, identifies labeled PRs, runs AI analysis via OpenHands, and comments the results directly on each pull request.
What is the github pr reviewer openhands integration?
github-pr-reviewer deploys a GitHub PR reviewer bot powered by OpenHands. It combines scheduled polling with OpenHands' AI capabilities to conduct code reviews. The skill orchestrates repository monitoring, PR detection, AI conversation initiation, and automated comment posting—all without manual intervention.
How does automated pr feedback work with github-pr-reviewer?
github-pr-reviewer automates pull request feedback by running a cron job that checks for labeled PRs at intervals you define. When it finds a PR matching your label, it invokes an AI review conversation, collects the analysis, and posts it as a comment on the pull request automatically.
Is github-pr-reviewer open source?
Yes, github-pr-reviewer is released under the MIT license, making it free to use, modify, and distribute for both personal and commercial projects.
SKILL.md
rendered from the published skill — quoted content, verbatim
GitHub PR Reviewer Automation
Create a cron automation that watches a GitHub repository for pull requests
with a review trigger label, starts an OpenHands review conversation once per
label event, and posts the AI review as a GitHub comment.
Windows PowerShell equivalents for the setup, packaging, upload, and API-check shell snippets are in references/windows.md.
The automation script is deterministic: PR discovery, label-event tracking, state persistence, stale-result suppression, and GitHub comment posting are handled in Python. The LLM is invoked only for the review itself.
Prerequisites
Required secret
Verify that the following secret is set in OpenHands Settings -> Secrets:
| Secret name | Token type | Minimum permissions |
|---|---|---|
GITHUB_PERSONAL_ACCESS_TOKEN |
Classic PAT |
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 9 files
skills/github-pr-reviewer/.claude-plugin
skills/github-pr-reviewer/.codex-plugin
skills/github-pr-reviewer/.plugin/plugin.json
skills/github-pr-reviewer/README.md
skills/github-pr-reviewer/SKILL.md
skills/github-pr-reviewer/commands/pr-reviewer-setup.md
skills/github-pr-reviewer/references/state-schema.md
skills/github-pr-reviewer/references/windows.md
skills/github-pr-reviewer/scripts/main.py