mcpbeat

Fetch PR Comments

google/fetch pr comments

Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.

2k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
291
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/ground-android --skill Fetch PR Comments

What comes with it

5 294 bytes besides the instruction
scripts/fetch_comments.py

The instruction itself

5 sections, as written by the author

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.

Usage

To use this skill, run the provided Python script. It requires the GitHub CLI (gh) to be installed and authenticated.

Command

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

Output

The script outputs Markdown text to stdout, containing:

  • PR Title and URL
  • Reviews (Approved/Changes Requested)
  • General Comments (Pull Request level)
  • Code Comments (Grouped by file and line number)

Dependencies

  • gh (GitHub CLI) must be installed and in your PATH.
  • python3 must be available.

How to use it

Copy the folder

Take google/fetch pr comments from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

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.