gh-copilot-review

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

A workflow that asks GitHub Copilot, GitHub's AI coding assistant, to review a pull request, which is a proposed set of code changes. It uses the GitHub command-line tool and accepts either a pull-request URL or number.

In plain words
What is it for?
Use it to start a Copilot review for an accessible GitHub pull request from the terminal.
Why use it?
It removes the need to open the pull request and request the standard Copilot review manually. It also checks whether the command-line tool is installed, authenticated, and able to access the pull request.

Skill for Claude CodeCodex

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

Good fit Use it to start a Copilot review for an accessible GitHub pull request from the terminal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mir-am/skills-agents-ai-coding/gh-copilot-review
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
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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/gh-copilot-review/github.svg)](https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/gh-copilot-review)
Your own site
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/gh-copilot-review"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/gh-copilot-review/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/gh-copilot-review"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/gh-copilot-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 849 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.00020 $0.00849
Opus 5 $0.00010 $0.00425
Sonnet 5 $0.00004 $0.00170
Haiku 4.5 $0.00002 $0.00085

Measured 11d ago against content hash 8a30e32b9f2c, 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 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/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 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
  • Validate GitHub CLI (gh) access and PR visibility
  • Request a standard GitHub Copilot review for the whole PR
  • Return a concise result with the PR URL

When to use me

Use this skill when the user wants to request a GitHub Copilot review on a pull request.

Prerequisites

  • GitHub CLI (gh) v2.88.0 or later 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 <pr>.
  2. If input is a PR number, resolve the repository from git remote get-url origin.
  3. If the input is neither a valid URL nor a PR number, error with Error: Provide a GitHub PR URL or PR number.

Workflow

  1. Validate GitHub access

    gh auth status
    
  2. Resolve PR metadata

    • For PR URL:
      gh pr view <pr> --json number,title,url,author,baseRefName,headRefName
      
    • For PR number in current repo:
      git remote get-url origin
      gh pr view <number> --json number,title,url,author,baseRefName,headRefName
      
  3. Request Copilot review for the full PR

    gh pr edit <pr> --add-reviewer @copilot
    
    # or, for PR number in the current repository
    gh pr edit <number> --add-reviewer @copilot
    
  4. Report results

    Requested GitHub Copilot review for PR #123.
    - Mode: Added @copilot as reviewer via gh CLI
    - PR: https://github.com/owner/repo/pull/123
    

Error Handling

Read the full file on GitHub · 96 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 · 96 lines · 20 tokens per session scan A 8a30e32b9f2c

Subscribe to this mod's changes

gh-copilot-review is a skill published in the GitHub repository mir-am/skills-agents-ai-coding (2 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 849 once invoked, about $0.0001 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.