gerrit-review

gerrit-review is a skill for Claude Code from openshift-online/agent-control-plane. It costs 62 tokens per session (797 once invoked), scanned A, a copy of gerrit-review, MIT.

A workflow for reviewing changes in Gerrit, a web-based code-review system. It covers retrieving a change, reading its differences between versions, adding inline comments, and voting on review labels.

In plain words
What is it for?
Use it to review a Gerrit change or patch set, inspect its author and status, compare revisions, check existing comments and votes, and submit review feedback.
Why use it?
It gives code reviews a consistent process and helps reviewers focus on the files and revisions that matter. Gerrit access and configured credentials are required.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Good fit Use it to review a Gerrit change or patch set, inspect its author and status, compare revisions, check existing comments and votes, and submit review feedback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openshift-online/agent-control-plane/gerrit-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 openshift-online/agent-control-plane --skill gerrit-review
Clone the repo
git clone --depth 1 https://github.com/openshift-online/agent-control-plane

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift-online/agent-control-plane/gerrit-review/github.svg)](https://agentmods.dev/skills/openshift-online/agent-control-plane/gerrit-review)
Your own site
<a href="https://agentmods.dev/skills/openshift-online/agent-control-plane/gerrit-review"><img src="https://agentmods.dev/badge/skills/openshift-online/agent-control-plane/gerrit-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 gerrit-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-online/agent-control-plane/gerrit-review"><img src="https://agentmods.dev/badge/skills/openshift-online/agent-control-plane/gerrit-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 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 100% copy Near-identical to another mod 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.00062 $0.00797
Opus 5 $0.00031 $0.00398
Sonnet 5 $0.00012 $0.00159
Haiku 4.5 $0.00006 $0.00080

Measured 10d ago against content hash 3efc5a92ad43, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gerrit-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 10d 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.

Origin

This is a copy

100% identical to gerrit-review — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/plugins/gerrit-skills/skills/gerrit-review/SKILL.md · 71 lines

How it starts

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

Gerrit Code Review

Guide for reviewing changes on a Gerrit instance using the Gerrit MCP server tools.

Prerequisites

The Gerrit MCP server must be available (credentials configured via Integrations page). If mcp__gerrit__* tools are not listed, the user needs to connect their Gerrit instance first.

Workflow

1. Fetch the change

Use mcp__gerrit__fetch_gerrit_change with the change ID (numeric or change-Id).

Extract from the response:

  • Subject and commit message — understand what the change does
  • Owner — who authored it
  • Status — NEW (open), MERGED, ABANDONED
  • Current patch set number — the latest revision
  • Files changed — list of modified files with insertions/deletions
  • Existing comments — what reviewers have already said
  • Labels — current votes (Code-Review, Verified, etc.)

2. Read the diffs

Use mcp__gerrit__fetch_patchset_diff to compare patch sets or view the current diff.

  • To see the full change: compare patch set 1 vs current (or base vs current)
  • To see what changed between review rounds: compare two specific patch sets
  • Filter by file path if the change is large — focus on the most impactful files first

3. Analyze and form review feedback

Apply standard code review principles:

  • Correctness — does the logic do what the commit message claims?
  • Edge cases — missing null checks, boundary conditions, error handling
  • Style — follows project conventions (check CLAUDE.md if available)
  • Security — no credentials in code, proper input validation, no injection vectors
  • Performance — unnecessary allocations, N+1 queries, missing caching

4. Post the review

Use mcp__gerrit__submit_gerrit_review to post feedback:

  • message: A summary of your review findings (top-level comment)
  • labels: Vote appropriately:
    • Code-Review +1 — looks good but someone else should also review
    • Code-Review +2 — approved, ready to submit (only if you have authority)
    • Code-Review -1 — needs changes before merging
    • Code-Review -2 — blocks submission (serious issues)
    • Verified +1 — tests pass, builds clean
  • comments: Inline comments on specific files and lines

Read the full file on GitHub · 71 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. 10d ago First seen · 71 lines · 62 tokens per session scan A 3efc5a92ad43

Subscribe to this mod's changes

gerrit-review is a skill published in the GitHub repository openshift-online/agent-control-plane (11 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 797 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gerrit-review, differing in 0 lines, and is treated as a copy.