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.
Written by OpenAI and published in openai/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
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.
Notes:
gh auth login, then retry.Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /gh-address-comments in Claude Code or $gh-address-comments in Codex.
Copy the gh-address-comments folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/openai/skills.git /tmp/openai-skills
mkdir -p .claude/skills
cp -r /tmp/openai-skills/skills/.curated/gh-address-comments .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if gh-address-comments does not appear.
git clone --depth 1 https://github.com/openai/skills.git /tmp/openai-skills
mkdir -p .agents/skills
cp -r /tmp/openai-skills/skills/.curated/gh-address-comments .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for gh-address-comments and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
gh-address-comments ships 6 files, 21.6 KB in total. Select a file to load it from GitHub.