gemini-review

gemini-review is a skill for Claude Code from Lykhoyda/ask-llm. It costs 55 tokens per session (399 once invoked), scanned A, original, MIT.

A code-review workflow that asks Google's Gemini model for a second opinion on current code changes, then checks its findings against the source.

In plain words
What is it for?
It helps review a Git diff, identify prioritized correctness or regression issues, and report when the review provider cannot be used.
Why use it?
It provides an independent review of staged, unstaged, and selected untracked changes while filtering out unsupported concerns.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ask-llm plugin — 18 skills, 9 agents, 5 hooks, 1 MCP server shipped together

Good fit It helps review a Git diff, identify prioritized correctness or regression issues, and report when the review provider cannot be used.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Lykhoyda/ask-llm
Claude Code
/plugin install ask-llm

Made for: Claude Code.

Or install ask-llm, the plugin that ships this one along with the rest of its 18 skills, 9 agents, 5 hooks, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/gemini-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/gemini-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 399 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.00055 $0.00399
Opus 5 $0.00028 $0.00199
Sonnet 5 $0.00011 $0.00080
Haiku 4.5 $0.00006 $0.00040

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

Security

Grade A, and why

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

packages/claude-plugin/skills/gemini-review/SKILL.md · 41 lines

What it actually says

Portable contract

Gather the relevant staged, unstaged, and untracked code changes; build a bounded context brief; request a Gemini review; verify each reported finding against source; and return only prioritized, source-supported findings. Preserve the canonical gemini-3.1-pro-previewgemini-3.8-flash quota fallback, timeout, and explicit failure disclosure.

Host adapters

Pi adapter

Call the native ask-gemini tool and apply only the Portable contract section of ../../agents/gemini-reviewer.md; ignore that file's frontmatter and Claude Code adapter.

Claude Code adapter

The existing detailed workflow below is the Claude Code adapter. Its Agent, MCP, hook, CLAUDE_PLUGIN_ROOT, and AskUserQuestion mechanics apply only on Claude Code; they do not override the Pi adapter above.

Gemini Code Review

Review current code changes by delegating to the gemini-reviewer agent.

Instructions

  1. Gather the diff to review:

    • Run git diff to get unstaged changes
    • Run git diff --cached to get staged changes
    • Combine both into a single diff
  2. If the diff is empty, inform the user there are no changes to review.

  3. Launch the gemini-reviewer agent with the diff content. The agent handles the Gemini prompt structure and output formatting.

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 f0981b87f446
  2. 7d ago Changed b7e2b40c86bf
  3. 10d ago First seen · 41 lines · 55 tokens per session scan A 6a6748631d74

Subscribe to this mod's changes

gemini-review is a skill published in the GitHub repository Lykhoyda/ask-llm (18 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 399 once invoked, about $0.0003 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.

Related

Other skills, from other repositories