Software DevelopmentOfficial · openai

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-comments

Codex

npx degit openai/skills/skills/.curated/gh-address-comments#main ~/.codex/skills/gh-address-comments

Claude.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.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Gh Fix Ci

    Official

    Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions;

    openai/skills★ 29k
  5. Linear

    Official

    Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.

    openai/skills★ 29k
  6. Migrate To Codex

    Official

    Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files.

    openai/skills★ 29k
  7. Plugin Creator

    Official

    Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, and baseline…

    openai/skills★ 29k
  8. Skill Creator

    Official

    Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that…

    openai/skills★ 29k
  9. Speech

    Official

    Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the…

    openai/skills★ 29k

See all software development skills →

More skills from openai

  1. Hatch Pet

    Official

    Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated…

    openai/skills★ 29k
  2. Imagegen

    Official

    Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites,…

    openai/skills★ 29k

All skills by openai →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.