gerrit

gerrit is a skill for Claude Code, Codex from odyssey4me/agent-skills. It costs 49 tokens per session (1,808 once invoked), scanned C, original, Apache-2.0.

A guide for submitting and reviewing code changes in Gerrit, a code-review system where proposed commits are checked before they are merged.

In plain words
What is it for?
Use it to submit or amend patch sets, download changes, rebase requests, check review status, and submit, review, or abandon changes.
Why use it?
It explains the required command-line setup, authentication, and review workflow for Gerrit repositories.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to submit or amend patch sets, download changes, rebase requests, check review status, and submit, review, or abandon changes.

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

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 gerrit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/odyssey4me/agent-skills/gerrit"><img src="https://agentmods.dev/badge/skills/odyssey4me/agent-skills/gerrit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,808 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00049 $0.01808
Opus 5.5 $0.00020 $0.00723
Sonnet 5.5 $0.00010 $0.00362
Haiku 4.5 $0.00005 $0.00181

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

Security

Grade C, and why

gerrit scanned grade C with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gerrit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

# 2. Copy public key: cat ~/.ssh/id_ed25519.pub
skills/gerrit/SKILL.md · 246 lines

How it starts

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

Gerrit Skill

This skill provides Gerrit code review integration using git-review with a Python wrapper for markdown-formatted query output on read/view operations. Action commands (submit, review, abandon) should use git-review or SSH commands directly.

Network access

Gerrit commands require outbound HTTPS to the configured Gerrit REST API. Git fetch/push and git-review require HTTPS or SSH to the configured review and repository hosts. Remote operations require outbound network access. If the agent environment restricts it, obtain access through that environment's approval or network controls before the first remote command, reusing authorization already granted. Local help and file processing do not need network access. Skill instructions do not grant network permission. Report DNS, connection, and timeout failures as network errors; do not reset credentials to resolve them. If approved access also fails, stop and report it. Authentication and permission errors require user action.

Resolving script paths

SKILL_DIR in the examples is the directory containing this loaded SKILL.md. Set it to that absolute path before running commands; do not assume the agent sets this shell variable. Quote the script path if it contains spaces.

Prerequisites

Install git-review: pip install git-review — docs

Authentication

git-review uses SSH for authentication with Gerrit servers.

# Configure Gerrit username (if different from local user)
git config --global gitreview.username yourgerrituser

# Test SSH connection
ssh -p 29418 [email protected] gerrit version

# Add SSH key to Gerrit
# 1. Generate SSH key if needed: ssh-keygen -t ed25519
# 2. Copy public key: cat ~/.ssh/id_ed25519.pub
# 3. Add to Gerrit: Settings > SSH Keys

Gerrit supports multiple authentication methods:

  • SSH (recommended): Used by git-review for all operations
  • HTTP/HTTPS: For web UI and REST API access (set password in Settings > HTTP Password)

Read the full file on GitHub · 246 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +9 lines e72ebd43b3c5
  2. 2mo ago First seen · 237 lines · 49 tokens per session scan C 3c83d10f433e

Subscribe to this mod's changes

gerrit is a skill published in the GitHub repository odyssey4me/agent-skills (13 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 1,808 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gerrit compared with skills from other repositories

gerrit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gerritodyssey4me/agent-skillsSkill13yesterdayApache-2.0C49Claude Code, Codex
prYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA47Claude Code
merge-batchdiegosouzapw/OmniRouteSkill83k6d agoMITA46Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill11kyesterdayApache-2.0A17Claude Code, Codex
engram-branch-prGentleman-Programming/engramSkill7.8kyesterdayMITA37Claude Code, Codex
github-contributordaymade/claude-code-skillsSkill1.5kyesterdayMITA105Claude Code, Codex
revdiffumputun/revdiffSkill9452d agoMITA250Claude Code