google/fetch pr comments
Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.
npx skills add https://github.com/google/ground-android --skill Fetch PR Comments
This skill allows you to retrieve comments and reviews from the current GitHub Pull Request (PR) associated with the active branch, or a specific PR by number/URL. It converts the data into a readable Markdown format, including code review comments with file and line context.
To use this skill, run the provided Python script. It requires the GitHub CLI (gh) to be installed and authenticated.
# Fetch comments for the current branch's PR
python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py
# Fetch comments for a specific PR
python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py <PR_NUMBER_OR_URL>
The script outputs Markdown text to stdout, containing:
gh (GitHub CLI) must be installed and in your PATH.python3 must be available.Take google/fetch pr comments from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.