Gh Address Comments skill for Claude
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.
Gh Address Comments SKILL.md
The full skill file from openai/skills.
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.
Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.
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.
How to install Gh Address Comments
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit openai/skills/skills/.curated/gh-address-comments#main ~/.claude/skills/gh-address-commentsCodex
npx degit openai/skills/skills/.curated/gh-address-comments#main ~/.codex/skills/gh-address-commentsClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Gh Address Comments skill do?
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.
+How do I install Gh Address Comments in Claude Code?
Copy the skill folder into ~/.claude/skills/gh-address-comments, for example with "npx degit openai/skills/skills/.curated/gh-address-comments#main ~/.claude/skills/gh-address-comments". Claude Code loads it automatically and uses it when a task matches.
+Does Gh Address Comments work with ChatGPT or Codex?
Yes. Gh Address Comments uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/gh-address-comments. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Gh Address Comments free?
Gh Address Comments is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.