Agent skill

Setup PR Review

by OpenHands in OpenHands/extensions

Set up the OpenHands automated PR review workflow in a GitHub repository.

MITAuto-check passedDevelopment

Install Setup PR Review

skills CLI
$ npx skills add OpenHands/extensions --skill setup-pr-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenHands/extensions setup-pr-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/onboarding/skills/setup-pr-review .claude/skills/setup-pr-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup-pr-review
GitHub stars
157
Token cost
~730 tokens
SKILL.md length
328 words
Files
2
Skills in repo
78
Repo updated
First seen
Licence
MIT

At a glance

Set up the OpenHands automated PR review workflow in a GitHub repository.

  • Works in 3 steps: Create the workflow file → Configure the LLM → Ask the user for preferences
  • A user wants AI code review on their pull requests
  • SKILL.md covers Step 1: Create the workflow file, Step 2: Configure the LLM and Step 3: Ask the user for…
  • Needs LLM_API_KEY

What it does

Setup PR Review is an agent skill from OpenHands/extensions. Set up the OpenHands automated PR review workflow in a GitHub repository. Creates the workflow file and asks the user for configuration preferences. Use when a user wants AI code review on their pull requests.

Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Development, covering Pull requests. It works with GitHub. The repository describes itself as: Public registry for OpenHands extensions. The licence is MIT.

When your agent uses it

  • A user wants AI code review on their pull requests
  • Tasks that involve Pull requests

Example prompts

  • “/setup-pr-review”

Requirements

  • A credential in LLM_API_KEY

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Create the workflow file
  2. Configure the LLM
  3. Ask the user for preferences

What it can do on your machine

Read from SKILL.md and the folder at commit d008b81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.all-hands.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LLM_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Setup PR Review loads about 730 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 328 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~730

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OpenHands/extensions at commit d008b81, republished under its MIT licence (© OpenHands). 328 words, ~730 tokens.

Download SKILL.mdSave it as .claude/skills/setup-pr-review/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
setup-pr-review
description
Set up the OpenHands automated PR review workflow in a GitHub repository. Creates the workflow file and asks the user for configuration preferences. Use when a user wants AI code review on their pull requests.
triggers
setup-pr-review, set up pr review, add code review workflow, openhands pr review

Set Up OpenHands PR Review

Add the PR review workflow to a GitHub repository so an OpenHands agent can review pull requests and post inline comments.

Docs: https://docs.all-hands.dev/sdk/guides/github-workflows/pr-review

Step 1: Create the workflow file

Create .github/workflows/pr-review.yml in the target repo. Fetch the latest example from https://docs.all-hands.dev/sdk/guides/github-workflows/pr-review and use it as the starting template. The workflow calls the OpenHands/extensions/plugins/pr-review composite action directly.

Step 2: Configure the LLM

Ask the user whether they are using the OpenHands app (app.all-hands.dev) or their own LLM provider (e.g. Anthropic, OpenAI directly).

OpenHands app (default)

OpenHands app users already have access to an LLM API key through the OpenHands litellm proxy. Tell them:

Go to https://app.all-hands.dev → Account → API Keys → OpenHands LLM Key, and copy your key. Then add it as a GitHub repository secret: Settings → Secrets and variables → Actions → New repository secret. Name it LLM_API_KEY.

Set these inputs in the workflow with: block:

  • llm-model: litellm_proxy/claude-sonnet-4-5-20250929
  • llm-base-url: https://llm-proxy.app.all-hands.dev
Own LLM provider

If the user has their own API key (e.g. from Anthropic or OpenAI), tell them to add it as a repository secret named LLM_API_KEY using the same path above. Leave llm-base-url unset and set llm-model to the provider-prefixed model name (e.g. anthropic/claude-sonnet-4-5-20250929).

You cannot create secrets — the user must do it manually. Do not ask for the key value. Just tell them where to put it.

Step 3: Ask the user for preferences

Present these options and apply any requested changes to the workflow file:

Review style (default: roasted)

  • roasted — Linus Torvalds-style, blunt, focuses on data structures and simplicity.
  • standard — balanced, covers style/readability/security.

When to trigger (default: on-demand only)

  • On-demand: add review-this label or request openhands-agent as reviewer.
  • Automatic: review every new PR. Add opened and ready_for_review to on.pull_request.types and matching conditions to the if: block.

After applying these, ask the user if they want to explore additional options (model selection, evidence requirements, custom review skills, observability). If yes, walk them through it — use the docs as a reference: https://docs.all-hands.dev/sdk/guides/github-workflows/pr-review If not, you're done.

© OpenHands, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/onboarding/skills/setup-pr-review of OpenHands/extensions.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit d008b81

Compare with similar skills

Setup PR Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Setup PR Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup PR Review this skillOpenHands/extensions157—~730Automated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from OpenHands/extensions

All 78 skills in this repo
  • Agent Readiness Report

    OpenHands/extensions

    Evaluate how well a codebase supports autonomous AI-assisted development.

    157 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Discord

    OpenHands/extensions

    Build and automate Discord integrations (bots, webhooks, slash commands, and REST API workflows).

    157 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • GitHub

    OpenHands/extensions

    Interact with GitHub repositories, pull requests, issues, and workflows using the GITHUBTOKEN environment variable and GitHub CLI.

    157 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • GitHub Issue To PR

    OpenHands/extensions

    Create an automation that implements GitHub issues when a configurable trigger label is applied.

    157 GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • GitHub Repo Monitor

    OpenHands/extensions

    This skill should be used when the user asks to "monitor a GitHub repository", "watch GitHub for issues or PRs", "respond to @OpenHands mentions on GitHub", "set up an OpenHands GitHub integration"…

    157 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • GitLab Issue To Mr

    OpenHands/extensions

    Create an automation that implements GitLab issues when a configurable trigger label is applied.

    157 GitHub stars~4.9k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Setup PR Review

What does Setup PR Review do?

Set up the OpenHands automated PR review workflow in a GitHub repository. Setup PR Review is an agent skill from OpenHands/extensions. Set up the OpenHands automated PR review workflow in a GitHub repository.

When should I use Setup PR Review?

Setup PR Review fits situations like: A user wants AI code review on their pull requests; tasks that involve Pull requests.

How do I install Setup PR Review in Claude Code?

Run `npx skills add OpenHands/extensions --skill setup-pr-review -a claude-code`. Or copy the skill folder (plugins/onboarding/skills/setup-pr-review in OpenHands/extensions) into .claude/skills/setup-pr-review in your project. Claude Code loads it when a task matches its description.

How do I install Setup PR Review in Codex?

Run `npx skills add OpenHands/extensions --skill setup-pr-review -a codex`. Or copy the skill folder (plugins/onboarding/skills/setup-pr-review in OpenHands/extensions) into .agents/skills/setup-pr-review in your project. Codex loads it when a task matches its description.

Can I use Setup PR Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenHands/extensions --skill setup-pr-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-pr-review, .gemini/skills/setup-pr-review, .github/skills/setup-pr-review and .opencode/skills/setup-pr-review in your project.

What does Setup PR Review need to run?

Going by SKILL.md and its folder, Setup PR Review needs credentials named LLM_API_KEY. Our summary lists: A credential in LLM_API_KEY.

Does Setup PR Review access the network?

SKILL.md names 1 domain. As links in the text: docs.all-hands.dev. This is read from the text; nothing was executed.

Is Setup PR Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Setup PR Review use?

Setup PR Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Setup PR Review use?

About 730 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Setup PR Review?

Skills that share tags, products or a category with Setup PR Review: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup PR Review?

OpenHands (a GitHub organization) maintains it in OpenHands/extensions, which has 157 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 6, 2026.

Source: OpenHands/extensions on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.