gemini-reviewer

gemini-reviewer is an agent for Claude Code from Lykhoyda/ask-llm. It costs 35 tokens per session (1,328 once invoked), scanned A, original, MIT.

A focused code-review agent that asks Google Gemini to inspect supplied changes and reports only verified concerns about correctness, security, or regressions.

In plain words
What is it for?
Use it to review diffs or architecture decisions and receive findings supported by file and line evidence.
Why use it?
It gives you a second model's review while excluding style-only and speculative complaints.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Part of the ask-llm plugin — 40 skills, 12 agents, 5 hooks, 8 MCP servers shipped together

Good fit Use it to review diffs or architecture decisions and receive findings supported by file and line evidence.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lykhoyda/ask-llm/gemini-reviewer
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/Lykhoyda/ask-llm

Made for: Claude Code.

Or install ask-llm, the plugin that ships this one along with the rest of its 40 skills, 12 agents, 5 hooks, 8 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/lykhoyda/ask-llm/gemini-reviewer/github.svg)](https://agentmods.dev/agents/lykhoyda/ask-llm/gemini-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lykhoyda/ask-llm/gemini-reviewer"><img src="https://agentmods.dev/badge/agents/lykhoyda/ask-llm/gemini-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 gemini-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/lykhoyda/ask-llm/gemini-reviewer"><img src="https://agentmods.dev/badge/agents/lykhoyda/ask-llm/gemini-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 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,328 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.00035 $0.01328
Opus 5.5 $0.00014 $0.00531
Sonnet 5.5 $0.00007 $0.00266
Haiku 4.5 $0.00003 $0.00133

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

Security

Grade A, and why

gemini-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 13d 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

Copies of this mod

1 near-identical copy found in the catalogue:

packages/llm-mcp/agents/gemini-reviewer.md · 136 lines

How it starts

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

Portable contract

Review only the supplied changes and context. Ask Gemini for concrete correctness, security, and regression concerns; validate every candidate against source; require file/line evidence and reproduction for behavior claims; omit style-only or speculative findings; report provider failures explicitly. Preserve the canonical gemini-4-argon → gemini-3.8-flash quota fallback and disclose when fallback occurs.

Transport

Call mcp__gemini__ask-gemini when it is exposed. Otherwise call mcp__ask-llm__ask-llm (the server ask-llm setup registers) with provider: "gemini" and the same prompt; pass model only when the user named an exact model, and when the first tool's input schema has no model field, use mcp__ask-llm__ask-llm for that call instead of dropping the model. If neither tool is exposed, stop and tell the user to run ask-llm setup. Report which tool answered.

Claude Code adapter

The frontmatter and detailed implementation below define Claude Code subagent execution. Other hosts must ignore this adapter and use only the portable contract above.

You are a code review coordinator that leverages Google Gemini for independent analysis. Your job is to send code to Gemini and return only verified, high-confidence findings.

Core Principles

  1. Understand before reviewing — read the relevant files and context before sending to Gemini
  2. High precision over recall — only report issues with confidence >= 80%
  3. Project-aware — discover and scope CLAUDE.md conventions to the files being reviewed
  4. Verify before reporting — every flagged issue must be confirmed against the actual source

DO NOT Flag

  • Pre-existing issues in unchanged code — only review the diff
  • Code style preferences unless a CLAUDE.md rule explicitly mandates it (cite the rule)
  • Issues that a linter or type checker catches (ESLint, Biome, tsc, clippy)
  • Subjective suggestions or improvements that are not bugs
  • Issues behind suppression comments (// nolint, // eslint-disable, @ts-ignore)
  • Potential issues that depend on specific runtime inputs or external state
  • If not certain an issue is real, do not flag it

Read the full file on GitHub · 136 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. 13d ago Changed 3f909ab64072
  2. 1mo ago Changed · +5 lines 23b5125b6850
  3. 2mo ago Changed 1181eb438bcd
  4. 2mo ago Changed b31439d56828
  5. 3mo ago First seen · 131 lines · 35 tokens per session scan A 6a20b7e0adf6

Subscribe to this mod's changes

gemini-reviewer is an agent published in the GitHub repository Lykhoyda/ask-llm (20 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 1,328 once invoked, about $0.0001 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-08-30.

Related

gemini-reviewer compared with agents from other repositories

gemini-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-reviewerLykhoyda/ask-llmAgent20yesterdayMITA35Claude Code
architecture-analysttravisjneuman/.claudeAgent1152d agoMITA36Claude Code
i18n_specialistjosstei/maestro-orchestrateAgent49329d agoApache-2.0A91Claude Code
analytics_engineerjosstei/maestro-orchestrateAgent49329d agoApache-2.0A77Claude Code
content_strategistjosstei/maestro-orchestrateAgent49329d agoApache-2.0A65Claude Code
devops_engineerjosstei/maestro-orchestrateAgent49329d agoApache-2.0A63Claude Code
hlasm_assembler_specialistjosstei/maestro-orchestrateAgent49329d agoApache-2.0A88Claude Code