plugins/onboarding/skills/setup-pr-review/SKILL.md
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.
npx skillsauth add openhands/skills setup-pr-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
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.
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 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-20250929llm-base-url: https://llm-proxy.app.all-hands.devIf 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.
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)
review-this label or request openhands-agent as reviewer.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.
tools
Create an automation that reviews GitHub pull requests when a configurable trigger label is applied. Polls GitHub deterministically, starts one OpenHands review conversation per label event, inspects full repository and PR context, and posts the final review comment back to GitHub.
tools
This skill should be used when the user asks to "monitor a Slack channel", "watch Slack for messages", "create a Slack bot that responds to mentions", "set up an OpenHands Slack integration", "trigger OpenHands from Slack", "respond to @openhands in Slack", or "poll Slack channels for a trigger phrase". Guides the user through creating a cron automation that watches up to 10 Slack channels and starts an OpenHands conversation whenever a configurable trigger phrase is detected.
tools
Reference skill for the OpenHands Software Agent SDK - the Python framework for building AI agents that write software. Use when you need to build agents with the SDK, create custom tools, configure LLMs, manage conversations, delegate to sub-agents, or deploy agents locally or remotely.
tools
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", "trigger OpenHands from a GitHub comment", or "poll a GitHub repo for a trigger phrase". Guides the user through creating a cron automation that polls a single repository and starts an OpenHands conversation whenever a configurable trigger phrase is detected in an issue or PR comment.