Skip to main content
skill CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add trailofbits/skills-curated
/plugin install openai-gh-address-comments@skills-curated
Open on GitHub

What 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-curated

This 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-code

3Manually: put the files in place

~/.claude/skills/openai-gh-address-comments/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/openai-gh-address-comments/

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

Similar skills

All skills for Code review and refactoring →

From the same set51

The whole set →
ghidra-headless ghidra-headless is a Claude Code skill that runs Ghidra analysis on compiled binaries without its GUI. It kicks in for decompilation, string and symbol extraction, or call-graph inspection. CX Codex +1 614installs status status reads task_plan.md to display phase milestones and summarizes notes from findings.md. CX Codex +1 ★ 540repo stars plan Creates task_plan.md, findings.md and progress.md in the project root, so the goal, research and session log sit next to the code. CX Codex +1 ★ 540repo stars grilling The grilling skill questions a plan or design one decision at a time, surfacing unresolved choices and dependencies. Use it before implementation when the details still need agreement. CX Codex +1 ★ 540repo stars openai-yeet openai-yeet takes your changes from a dirty working tree to a draft pull request in one run through GitHub CLI. Handy when the whole chain has to happen at once. CX Codex +1 ★ 540repo stars openai-sentry The openai-sentry Claude Code skill reads Sentry issues and events through the API and summarizes production errors in a compact report. CX Codex +1 ★ 540repo stars python-code-simplifier python-code-simplifier refines recently modified Python code for clarity and maintainability without altering existing program logic or outputs. CX Codex ★ 540repo stars openai-playwright openai-playwright is a Claude Code skill that controls a real browser from the terminal. It runs for page navigation, form entry, data collection, screenshots, and UI debugging. CX Codex +1 ★ 540repo stars

Project sponsors

Companies that keep this analytics open