openai-gh-address-comments — Claude Code skill: handle PR comments
openai-gh-address-comments — a Claude Code skill that collects and addresses reviewer comments on an open PR for the current branch using gh CLI. It fetches all review threads, summarises each one, and lets you pick which to fix.
Apache-2.0 ★ 540 updated 2026-07-14
/plugin marketplace add trailofbits/skills-curated
/plugin install openai-gh-address-comments@skills-curatedWhat openai-gh-address-comments does
The skill runs fetch_comments.py to pull all comments and review threads from the PR. It lists them with numbers, describes what each fix would entail, and asks which ones to address. Once you select, it applies the fixes.
If gh encounters auth or rate-limit issues, it prompts you to re-authenticate with gh auth login and retries.
Requires gh CLI installed and internet access to reach GitHub API.
What it helps with
- fetch all review comments and threads from the open PR
- prioritise which comments to address
- apply fixes for selected review feedback
Example prompts for the agent
- Review all comments on the current PR and suggest how to fix them
- Collect and summarise all reviewer feedback on the open PR for this branch
- Show me which comments need attention and help me apply fixes
How to install openai-gh-address-comments
1Plugin marketplace
/plugin marketplace add trailofbits/skills-curated/plugin install openai-gh-address-comments@skills-curatedThis installs the whole openai-gh-address-comments plugin with all its skills
2Skills CLI (Vercel)
npx skills add trailofbits/skills-curated --skill openai-gh-address-comments -a claude-code3Manually: put the files in place
~/.claude/skills/openai-gh-address-comments/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/openai-gh-address-comments/
1Skills CLI (Vercel)
npx skills add trailofbits/skills-curated --skill openai-gh-address-comments -a codex2Manually: put the files in place
.agents/skills/openai-gh-address-comments/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add trailofbits/skills-curated --skill openai-gh-address-comments -a cursor2Manually: put the files in place
.cursor/skills/openai-gh-address-comments/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install trailofbits/skills-curated plugins/openai-gh-address-comments/skills/openai-gh-address-comments2Manually: put the files in place
.github/skills/openai-gh-address-comments/SKILL.md1Skills CLI (Vercel)
npx skills add trailofbits/skills-curated --skill openai-gh-address-comments -a gemini-cli2Platform CLI
gemini skills install https://github.com/trailofbits/skills-curated --path plugins/openai-gh-address-comments/skills/openai-gh-address-commentsManually: put the files in place
.devin/skills/openai-gh-address-comments/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about openai-gh-address-comments
How do I install openai-gh-address-comments in Claude Code?
Run /plugin marketplace add trailofbits/skills-curated, then /plugin install openai-gh-address-comments@skills-curated. Alternatively, use npx skills add trailofbits/skills-curated --skill openai-gh-address-comments -a claude-code. The skill file opens at ~/.claude/skills/openai-gh-address-comments/SKILL.md.
What does openai-gh-address-comments do?
It finds the open PR for your current branch, collects all reviewer and issue comments, lets you select which to address, and helps you apply fixes via gh CLI.
What do I need to use this skill?
You need gh CLI installed, GitHub authentication (the skill checks and prompts you to log in if needed), and internet access to communicate with GitHub API.
Source text
SKILL.md · Apache-2.0
--- name: openai-gh-address-comments description: Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in. Originally from OpenAI's curated skills catalog. allowed-tools: - Bash - Read - Grep - Glob --- # PR Comment Handler Guide to find the open PR for the current branch and address its comments with gh CLI. Run all `gh` commands with elevated network access. ## 1) Inspect comments needing attention - Run scripts/fetch_comments.py which will print out all the comments and review threads on the PR ## 2) Ask the user for clarification - Number all the review threads and comments and provide a short summary of what would be required to apply a fix for it - Ask the user which numbered comments should be addressed ## 3) If user chooses comments - Apply fixes for the selected comments Notes: - If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with `gh auth login`, then retry. ## When to Use <!-- TODO: review --> ## When NOT to Use <!-- TODO: review -->
© OpenAI · Apache-2.0 · trailofbits/skills-curated