pair-review: Skill for Claude Code

.pi/skills/review-model-guidance/SKILL.md

review-model-guidance is a skill for Claude Code, Codex from in-the-loop-labs/pair-review. It costs 44 tokens per session (2,957 once invoked), scanned A, original, Apache-2.0.

Guidance for choosing AI models during code reviews and review subtasks. It covers checking available models and matching simpler work with faster models and harder analysis with deeper reasoning.

In plain words
What is it for?
Use it when selecting models for code review, delegated review tasks, and analysis of different levels of difficulty.
Why use it?
It helps avoid using an unsuitable or forbidden model for a review task.

Skill for Claude CodeCodex

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

This is in-the-loop-labs/pair-review's own configuration. It tells Claude Code and Codex how to work on pair-review itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pair-review configures →

Reuse

Borrowing it

Nothing to install: this file belongs to in-the-loop-labs/pair-review. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/in-the-loop-labs/pair-review/main/.pi/skills/review-model-guidance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/in-the-loop-labs/pair-review

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 review-model-guidance

README.md
[![agentmods](https://agentmods.dev/badge/skills/in-the-loop-labs/pair-review/review-model-guidance/github.svg)](https://agentmods.dev/skills/in-the-loop-labs/pair-review/review-model-guidance)
Your own site
<a href="https://agentmods.dev/skills/in-the-loop-labs/pair-review/review-model-guidance"><img src="https://agentmods.dev/badge/skills/in-the-loop-labs/pair-review/review-model-guidance/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 review-model-guidance

Your own site · 80×15
<a href="https://agentmods.dev/skills/in-the-loop-labs/pair-review/review-model-guidance"><img src="https://agentmods.dev/badge/skills/in-the-loop-labs/pair-review/review-model-guidance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,957 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00044 $0.02957
Opus 5 $0.00022 $0.01478
Sonnet 5 $0.00009 $0.00591
Haiku 4.5 $0.00004 $0.00296

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

Security

Grade A, and why

review-model-guidance 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 12d 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.

.pi/skills/review-model-guidance/SKILL.md · 261 lines

How it starts

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

Review Model Guidance

When performing code review analysis, you can switch models at any time to match the demands of the task. This applies both to your own direct work and to subtasks you delegate via the task tool. Use /model to switch your own model, or pass the model parameter when delegating subtasks.

Before switching models, check which models are actually available by running ${PI_CMD:-pi} --list-models via bash. This shows all models with valid API keys configured in provider model columns. Specify models as provider/model. Only switch to models that appear in that list.

Forbidden Models

The following models are never permitted due to extreme cost:

  • openai/o3-pro — Prohibitively expensive. Use openai/o3 instead, which provides strong reasoning at a fraction of the cost.

Do not select these models for your own work, subtasks, or any model parameter. If a forbidden model is the only reasoning model available, fall back to a balanced model with extended thinking enabled instead.

When to Switch Models

Not every task benefits from model switching. Use these heuristics:

  • Same model is fine when you're doing a single focused task, or when the diff is small enough that model choice won't materially affect quality.
  • Switch models when you're delegating subtasks that have clearly different complexity levels, you are reviewing different aspects of the changes, you are reviewing from different perspectives, or when you want a second opinion from a different model family on critical findings.

Model Selection by Task Type

Balanced Models

Use mid-tier models for general code review work:

  • File-context analysis: Understanding how changes fit within a file's existing patterns, checking for consistency with surrounding code
  • API contract review: Verifying that function signatures, types, and interfaces are used correctly
  • Test coverage assessment: Evaluating whether test changes match code changes
  • Most general code review: The default choice when you don't have a strong reason to go deeper
  • Small to medium diffs: The review itself is straightforward

Read the full file on GitHub · 261 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. 12d ago First seen · 261 lines · 44 tokens per session scan A 46b935e6d593

Subscribe to this mod's changes

review-model-guidance is a skill published in the GitHub repository in-the-loop-labs/pair-review (59 stars, last pushed 2d ago), licensed Apache-2.0. It adds 44 tokens to every session and 2,957 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-30.