pr-review

pr-review is a skill for Claude Code, Codex from IBM/mcp-context-forge. It costs 57 tokens per session (1,821 once invoked), scanned A, original, Apache-2.0.

A procedure for reviewing a pull request, branch, or code difference. A pull request is a proposed change to a repository that others inspect before it is merged.

In plain words
What is it for?
Use it before creating or updating a pull request, when a branch is ready for review, or before posting a GitHub review.
Why use it?
It gives reviewers a consistent way to find security, correctness, scope, and project-rule problems without changing the reviewed files. It also defines finding formats, severity, and when a change should be blocked.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: runs codex exec; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it before creating or updating a pull request, when a branch is ready for review, or before posting a GitHub review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ibm/mcp-context-forge/pr-review
About the project

ContextForge is an open-source gateway and registry that brings MCP, A2A, REST, and gRPC tools, agents, and APIs together behind one endpoint. It helps teams discover, govern, observe, authenticate, and route calls across AI infrastructure. The catalogue add-ons support operating and extending this gateway.

IBM/mcp-context-forge · 4,832 stars · on GitHub · ibm.github.io

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 IBM/mcp-context-forge --skill pr-review
Clone the repo
git clone --depth 1 https://github.com/IBM/mcp-context-forge

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 pr-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/ibm/mcp-context-forge/pr-review/github.svg)](https://agentmods.dev/skills/ibm/mcp-context-forge/pr-review)
Your own site
<a href="https://agentmods.dev/skills/ibm/mcp-context-forge/pr-review"><img src="https://agentmods.dev/badge/skills/ibm/mcp-context-forge/pr-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 pr-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/ibm/mcp-context-forge/pr-review"><img src="https://agentmods.dev/badge/skills/ibm/mcp-context-forge/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,821 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.00057 $0.01821
Opus 5.5 $0.00023 $0.00728
Sonnet 5.5 $0.00011 $0.00364
Haiku 4.5 $0.00006 $0.00182

Measured today against content hash 1c1b0bce434a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-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 today.

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.

.agents/skills/pr-review/SKILL.md · 148 lines

How it starts

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

PR Review

A review reports every issue as a finding the author can act on. A review changes no files.

Rebase on origin/main

  1. Run git fetch origin.
  2. Run git rebase origin/main.

If the rebase hits conflicts, resolve them. When both sides changed the same logic substantively, ask the user which side wins. Resolve .secrets.baseline conflicts with the secret-detection skill.

Gather Context

  1. Diff: Collect all changes between origin/main and HEAD, plus staged and unstaged working-tree changes. Treat them as one unit. Staging status is never a finding.
  2. PR metadata: When a PR exists, read the description, review comments, and linked issues (gh pr view, gh pr view --comments, gh issue view N).
  3. Scope: Compare the PR description against the linked issues. Partial coverage of an issue is acceptable when the PR says so. Unstated gaps and scope drift are findings.
  4. Conventions: Read AGENTS.md and CONTRIBUTING.md. Use their linter and test commands exactly.

Review Order

Review the diff in this order. Severity comes from Blocking Criteria below, not from the category.

  1. Security: injection, leaked secrets, auth gaps, OWASP top 10, Layer 1 / Layer 2 violations.
  2. Correctness: logic errors, edge cases, mismatch with linked issues.
  3. Test coverage: changed code has tests, including deny-path tests for security changes.
  4. Linter compliance: run project linters on touched files and report violations. Do not fix them (see Optional Lint Auto-Fix).
  5. Performance: N+1 queries, unnecessary allocations, bottlenecks.
  6. Redundancy: duplicated logic, copy-paste patterns, shared-utility opportunities.
  7. Design: structural quality (see Design Guidance).
  8. Consistency: adherence to documented conventions.
  9. Alembic migrations (conditional): idempotence, reversibility, cross-database compatibility, batch_alter_table for SQLite. Apply the alembic-migrations skill.

Optional Lint Auto-Fix

Never auto-fix formatting during a review. A reviewer who edits the reviewed code changes the PR under review. Report black, isort, autoflake, pylint, bandit, and mypy findings for the author to address. Include the exact command and output.

Read the full file on GitHub · 148 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. today First seen · 148 lines · 57 tokens per session scan A 1c1b0bce434a

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository IBM/mcp-context-forge (4,832 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 1,821 once invoked, about $0.0002 per session on Opus 5.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-11-17.

Related

pr-review compared with skills from other repositories

pr-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-reviewIBM/mcp-context-forgeSkill4.8ktodayApache-2.0A57Claude Code, Codex
migration-reviewrohitg00/ai-engineering-from-scratchSkill79kyesterdayMITA35Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill11ktodayApache-2.0A17Claude Code, Codex
adk-go-self-reviewgoogle/adk-goSkill9.0ktodayApache-2.0A87Claude Code, Codex
learn-from-sagekirodotdev/KiroCrewSkill5.0ktodayApache-2.0A56Claude Code, Codex
factory-gitlab-rereviewmastra-ai/mastraSkill30ktodaynoneA23Claude Code, Codex
code-standardsmastra-ai/mastraSkill30ktodaynoneA15Claude Code, Codex