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.
npx agentmods add skills/mh4gf/claude-code/pr-feedback-fetchnpx skills add MH4GF/claude-code --skill pr-feedback-fetchgit clone --depth 1 https://github.com/MH4GF/claude-codeWrote 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.
[](https://agentmods.dev/skills/mh4gf/claude-code/pr-feedback-fetch)<a href="https://agentmods.dev/skills/mh4gf/claude-code/pr-feedback-fetch"><img src="https://agentmods.dev/badge/skills/mh4gf/claude-code/pr-feedback-fetch.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00074 | $0.02309 |
| Opus 5 | $0.00037 | $0.01154 |
| Sonnet 5 | $0.00015 | $0.00462 |
| Haiku 4.5 | $0.00007 | $0.00231 |
Grade A, and why
pr-feedback-fetch 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pr-feedback-fetch
指定された PR について、GitHub の 3 channel (top-level comment / inline review comment / review summary) を順序固定で取得する。出力は 1 つの structured markdown としてまとめる。
gh pr view --comments は top-level comment しか返さないため、inline review comment と review summary を独立に取得する必要がある。本 skill は 3 エンドポイントを不可分に呼び、取得 channel: 3/3 を必ず明示する。
前提
ghCLI が認証済み (gh auth statusでLogged inになっている)- 現 branch (引数なし時) または引数から PR 番号と repo (owner/repo) を解決できる
- 出力は structured markdown。呼び出し元が workpad / レポート / 判断材料に直接転記できる形
スコープ外
- feedback への返信 / 対応コミット / push。本 skill は「取得して並べる」までで止める
- bot コメント (Actions / dependabot 等) のフィルタ判定。actionable かどうかの判断は呼び出し側に委ねる
- 過去の feedback 履歴の差分管理。常に最新 snapshot を全件取得する
- CI ステータス確認。
gh pr checksは別経路で扱う
手順
1. 引数を解決する
呼び出し時の引数は 0 〜 1 個。次のいずれか。
- 引数なし — 現 branch をそのまま対象に
gh pr view --json number,url,headRefName,baseRepositoryで PR 番号を解決する - 数字 (例
200) — PR 番号として扱う。repo はgh repo view --json nameWithOwnerで現 repo を採用する - URL (例
https://github.com/MH4GF/claude-code/pull/10) — URL から<owner>/<repo>と PR 番号を分解する
引数を解決できない場合 (現 branch の PR が無い等) は即停止し、「PR 未解決」と書いた出力を返す。
2. 3 channel を順に取得する
解決した <owner>/<repo> と <pr> を使い、次の 3 コマンドを順に実行する。順序は固定。途中で止めない。
# 2-1. top-level の PR comment (issue comment と等価)
gh api repos/<owner>/<repo>/issues/<pr>/comments \
--jq '.[] | {id, user: .user.login, type: .user.type, created_at, updated_at, body}'
# 2-2. inline review comment (diff 上の行コメント)
gh api repos/<owner>/<repo>/pulls/<pr>/comments \
--jq '.[] | {id, user: .user.login, type: .user.type, path, line, original_line, side, created_at, updated_at, body, in_reply_to_id, pull_request_review_id}'
# 2-3. review summary (Approve / Request changes / Comment レビュー単位)
gh api repos/<owner>/<repo>/pulls/<pr>/reviews \
--jq '.[] | {id, user: .user.login, type: .user.type, state, submitted_at, body}'
3 channel すべてが空でも 3 コマンドとも実行する。1 つでも省略すると本 skill の意味が失われる。
gh api が失敗した channel は、> ERROR: <message> として出力へ残し、呼び出し側に明示する。残り channel の取得は続行する。
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.
- 4d ago First seen · 152 lines · 74 tokens per session scan A a8df6ee8d97b
pr-feedback-fetch is a skill published in the GitHub repository MH4GF/claude-code (2 stars, last pushed 2d ago), licensed MIT. It adds 74 tokens to every session and 2,309 once invoked, about $0.0004 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…