gh-copilot-review-read

gh-copilot-review-read is a skill for Claude Code, Codex from mir-am/skills-agents-ai-coding. It costs 34 tokens per session (1,817 once invoked), scanned A, original, MIT.

A workflow that reads GitHub Copilot pull-request review comments and saves a formatted Markdown digest locally.

In plain words
What is it for?
Use it with a GitHub pull request URL or number to fetch review data, identify Copilot comments, format their locations, and write the result under .opencode/review/.
Why use it?
It preserves Copilot feedback outside GitHub and pairs each comment with the relevant code-change context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it with a GitHub pull request URL or number to fetch review data, identify Copilot comments, format their locations, and write the result under .opencode/review/.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mir-am/skills-agents-ai-coding/gh-copilot-review-read
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mir-am/skills-agents-ai-coding --skill gh-copilot-review-read
Clone the repo
git clone --depth 1 https://github.com/mir-am/skills-agents-ai-coding

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gh-copilot-review-read

README.md
[![agentmods](https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/gh-copilot-review-read/github.svg)](https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/gh-copilot-review-read)
Your own site
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/gh-copilot-review-read"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/gh-copilot-review-read/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-copilot-review-read

Your own site · 80×15
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/gh-copilot-review-read"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/gh-copilot-review-read.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,817 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01817
Opus 5 $0.00017 $0.00908
Sonnet 5 $0.00007 $0.00363
Haiku 4.5 $0.00003 $0.00182

Measured 11d ago against content hash 92478f137fac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gh-copilot-review-read scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gh-copilot-review-read/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

  • Accept a GitHub pull request URL or PR number
  • Fetch PR metadata, diff, reviews, and review comments via GitHub CLI (gh)
  • Detect comments authored by GitHub Copilot or Copilot-related bot accounts
  • Render a GitHub-style location header for each comment from the API line metadata
  • Write a readable markdown digest to .opencode/review/
  • Return the saved file path to the user

When to use me

Use this skill when:

  • User wants a local markdown summary of Copilot review comments on a PR
  • User wants Copilot feedback preserved outside GitHub for later review
  • User wants AI review feedback exported from GitHub into a clean local markdown file
  • User wants the raw Copilot wording and inline code suggestions copied exactly into a local note

Prerequisites

  • GitHub CLI (gh) must be installed and authenticated
  • If given only a PR number, the current repository must have a GitHub origin remote
  • The target PR must be accessible with the current GitHub credentials
  • If gh not installed -> error: Error: GitHub CLI not found. Install: https://cli.github.com/
  • If not authenticated -> error: Error: Not authenticated with GitHub. Run: gh auth login

Input Handling

Accept either of these forms:

  • Full GitHub PR URL
    • Example: https://github.com/owner/repo/pull/123
  • PR number
    • Example: 123

Resolution Rules

  1. If input is a full PR URL:
    • Use it directly with gh pr view <url> and related gh commands.
  2. If input is a PR number:
    • Resolve repository from git remote get-url origin
    • Derive owner/repo
    • Build the API path from that repository and PR number
  3. If the input is neither a valid URL nor a PR number:
    • Error: Error: Provide a GitHub PR URL or PR number

Workflow

  1. Validate GitHub access

    gh auth status
    
  2. Resolve PR and fetch metadata

    • For PR URL, use:
      gh pr view <pr> --json number,title,url,author,baseRefName,headRefName,changedFiles,additions,deletions
      
    • For PR number in current repo, verify remote:
      git remote get-url origin
      gh pr view <number> --json number,title,url,author,baseRefName,headRefName,changedFiles,additions,deletions
      

Read the full file on GitHub · 207 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 207 lines · 34 tokens per session scan A 92478f137fac

Subscribe to this mod's changes

gh-copilot-review-read is a skill published in the GitHub repository mir-am/skills-agents-ai-coding (2 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 1,817 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

github

GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available)…

understudy-ai/understudy · 101 tokens

git-workflow

Conventional commits, PR creation, and quality gate verification.

andreibesleaga/GABBE · 15 tokens

review-gate

HARD GATE before PR creation - verifies review artifact exists in issue comments, all findings addressed or tracked, blocks PR creation if requirements not met.

troykelly/claude-skills · 33 tokens

hunk-extensions

Maps the hunkdiff/extension authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked panes, alternate file views, commands and key bindings, dialogs, workspace writes, themes, syntax languages, VCS backends, lifecycle events. Use when writing, debugging, or installing a Hunk…

modem-dev/hunk · 105 tokens

hunk-launch-video

Produces Hunk videos by driving the real TUI headlessly in a PTY, compositing captioned 1080p frames in Chromium, and encoding with ffmpeg. Use for feature demos, workflow explainers, announcements, launch videos, and full-release roundups.

modem-dev/hunk · 60 tokens

hunk-release

Prepares, publishes, verifies, and curates Hunk releases. Use for release metadata, benchmarks, tags, publishing, release videos, backports, or recovery.

modem-dev/hunk · 38 tokens