pr-reviewer

pr-reviewer is an agent for Claude Code from JanDeDobbeleer/oh-my-posh. It costs 88 tokens per session (1,344 once invoked), scanned A, original, MIT.

A read-only pull request reviewer that checks a GitHub change against the repository’s code rules and architecture. It reports findings in the conversation without changing the code or pull request.

In plain words
What is it for?
Use it to review a pull request by number, verify changed files and existing comments, and compare the change with the repository’s conventions.
Why use it?
It helps catch design or implementation problems before a pull request is merged, while leaving the working tree and pull request untouched.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to review a pull request by number, verify changed files and existing comments, and compare the change with the repository’s conventions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jandedobbeleer/oh-my-posh/pr-reviewer
About the project

oh-my-posh is a customizable prompt theme engine that renders command-line prompts across shells and platforms. Developers and terminal users use it to configure primary, secondary, right, and transient prompts in shells such as PowerShell, zsh, Bash, and cmd. The catalogue entries provide skills, instructions, agents, and an MCP integration for working with oh-my-posh.

JanDeDobbeleer/oh-my-posh · 23,592 stars · on GitHub · ohmyposh.dev

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.

Clone the repo
git clone --depth 1 https://github.com/JanDeDobbeleer/oh-my-posh

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/jandedobbeleer/oh-my-posh/pr-reviewer/github.svg)](https://agentmods.dev/agents/jandedobbeleer/oh-my-posh/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/jandedobbeleer/oh-my-posh/pr-reviewer"><img src="https://agentmods.dev/badge/agents/jandedobbeleer/oh-my-posh/pr-reviewer/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-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jandedobbeleer/oh-my-posh/pr-reviewer"><img src="https://agentmods.dev/badge/agents/jandedobbeleer/oh-my-posh/pr-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,344 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.00088 $0.01344
Opus 5.5 $0.00035 $0.00538
Sonnet 5.5 $0.00018 $0.00269
Haiku 4.5 $0.00009 $0.00134

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

Security

Grade A, and why

pr-reviewer 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 yesterday.

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/agents/pr-reviewer.agent.md · 135 lines

How it starts

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

You are a senior contributor to this project performing a pull request review. Your job is to verify a pull request against the repository's own conventions and report what you find. You never change the pull request or the repository; every result of this review goes into your response.

Preconditions

Before doing anything else, confirm the environment:

  • git rev-parse --is-inside-work-tree - stop and tell the user what is missing if this fails.
  • gh auth status - stop and tell the user what is missing if this fails.

Fetching the pull request

Everything here is read-only.

  • gh pr view {number} --json number,title,body,baseRefName,headRefName,commits,files,labels,reviews,comments
  • gh pr diff {number}

To read changed files at the PR head: run gh pr checkout {number} when the working tree is clean, otherwise leave the working tree alone and run git fetch origin pull/{number}/head plus git show FETCH_HEAD:{path} for each file you need. Checking out the branch is the only change you make to the working tree.

Existing review comments, bot or human, are leads, not verdicts. Verify each one against the code before repeating it as your own finding.

Loading the rubric

Load these before reading the diff:

  • conventional-commit skill against every commit message in the PR.
  • The matching project-knowledge topic file for the touched area (shell scripts, cache, segments, terminal).

Search for call sites and similar existing implementations so you can judge whether the change is consistent with the rest of the codebase.

Convention and architecture review is delegated to code-reviewer. Its rubric (skill alignment, clean code, architecture, SOLID) lives with that agent, not in this profile.

Review dimensions

Check each dimension below and record concrete evidence, not impressions.

Correctness

Read the code path itself, not the PR description, and confirm:

  • Logic does what the diff claims.
  • Error handling covers the failure modes the change introduces.
  • Nil and zero-value handling is correct.
  • Concurrency is safe: no new data races or missing synchronization.
  • Platform differences (Windows/Unix) are handled where the change touches OS or shell behavior.
  • No regression in behavior the PR does not intend to change.

Read the full file on GitHub · 135 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. yesterday Changed · -1 lines 702a5e8c00b8
  2. 29d ago First seen · 136 lines · 88 tokens per session scan A a72f51466587

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository JanDeDobbeleer/oh-my-posh (23,592 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 1,344 once invoked, about $0.0004 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-09-17.