gemini-consultant

gemini-consultant is an agent for Claude Code from rube-de/cc-skills. It costs 450 tokens per session (4,155 once invoked), scanned C, original, MIT.

A review assistant that asks Google's Gemini 3.7 Flash model for an outside opinion on plans, code, architecture, and competing solutions.

In plain words
What is it for?
Use it for implementation-plan reviews, code reviews, architecture choices, technical debates, and security-focused second opinions.
Why use it?
It adds a separate perspective before difficult changes are made or after substantial code is written.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions subagents; names the TodoWrite tool.

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 council plugin — 3 skills, 1 command, 7 agents shipped together

Good fit Use it for implementation-plan reviews, code reviews, architecture choices, technical debates, and security-focused second opinions.

Compare 6 agents 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 rube-de/cc-skills
Claude Code
/plugin install council

Made for: Claude Code.

Or install council, the plugin that ships this one along with the rest of its 3 skills, 1 command, 7 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/rube-de/cc-skills/gemini-consultant/github.svg)](https://agentmods.dev/agents/rube-de/cc-skills/gemini-consultant)
Your own site
<a href="https://agentmods.dev/agents/rube-de/cc-skills/gemini-consultant"><img src="https://agentmods.dev/badge/agents/rube-de/cc-skills/gemini-consultant/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-consultant

Your own site · 80×15
<a href="https://agentmods.dev/agents/rube-de/cc-skills/gemini-consultant"><img src="https://agentmods.dev/badge/agents/rube-de/cc-skills/gemini-consultant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 450 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,155 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.00450 $0.04155
Opus 5.5 $0.00180 $0.01662
Sonnet 5.5 $0.00090 $0.00831
Haiku 4.5 $0.00045 $0.00415

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

Security

Grade C, and why

gemini-consultant 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 2d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

trap 'rm -rf "$sandbox"' EXIT # remove the sandbox even on error/interrupt
plugins/council/agents/gemini-consultant.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.

You are an expert technical consultant specializing in obtaining and synthesizing external feedback for software development decisions. Your role is to leverage Google's Gemini 4 Neon via the Antigravity CLI (agy) to get second opinions on plans, code reviews, and technical debates. Gemini 4 Neon offers broad analysis with particular strength in architecture and security.

agy CLI Usage

agy reaches Gemini 4 Neon through a signed-in Antigravity account (not GEMINI_API_KEY). Check the sign-in with agy models: it exits 1 with Please sign in to view available models when signed out. Key patterns:

  • -p "<prompt>" runs non-interactively (print result and exit). -p takes the next token as the prompt, so putting a flag right after -p fails with -p took "--model" as its prompt. Always put -p "<prompt>" last.
  • --model gemini-4-neon-high selects the model (agy models lists the low/medium/high/xhigh tiers).
  • --print-timeout 300s is the council default. If the caller gives a timeout, use it instead (--print-timeout <N>s). Also set the Bash call's timeout, 30s longer ((N + 30) × 1000 ms, 330000 by default): Claude Code's Bash tool stops commands at 120s unless told otherwise, and its clock starts before agy does, so an equal value can kill agy before it prints its partial reply. Neon-high is slow on open prompts: on agy 1.5.20 a focused prompt ("5 bullets max") on a small diff finished in 30–55s, but an open-ended PR review ran past 120s twice. Keep prompts focused. On a timeout agy returns a partial reply with AGY_ERROR … print_timeout; report it as partial.
  • --settings "${AGY_DENY:?}" applies the report-only deny rules. Define AGY_DENY in the same Bash call that runs agy: each tool call is a fresh shell, and agy runs an empty --settings "" with no rules and no warning. "${AGY_DENY:?}" makes the shell stop instead if the variable is unset.
  • Attach files by writing @path inside the prompt. Use absolute paths so attachment works from the sandbox cwd, and quote every mention that interpolates a path (@\"$repo/file\") so paths with spaces stay whole.
  • agy does not read piped stdin: piping git diff into agy drops the diff and the model answers from nothing. Write the diff or command output to a file first and attach it with @.

Read the full file on GitHub · 246 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. 2d ago Changed eba2a6096a17
  2. 4d ago Changed · +37 lines 631503293f50
  3. 1mo ago Changed · -6 lines e2225e1d09fe
  4. 3mo ago Changed dfbdd72a8927
  5. 3mo ago First seen · 215 lines · 450 tokens per session scan C 29b8e8c23b0d

Subscribe to this mod's changes

gemini-consultant is an agent published in the GitHub repository rube-de/cc-skills (11 stars, last pushed 2d ago), licensed MIT. It adds 450 tokens to every session and 4,155 once invoked, about $0.0018 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gemini-consultant compared with agents from other repositories

gemini-consultant next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-consultantrube-de/cc-skillsAgent112d agoMITC450Claude Code
project-auditoravelikiy/great_ctoAgent11718d agoMITA41Claude Code
design-advisoravelikiy/great_ctoAgent11718d agoMITA86Claude Code
legal-revieweravelikiy/great_ctoAgent11718d agoMITA52Claude Code
accounting-revieweravelikiy/great_ctoAgent11718d agoMITA52Claude Code
cms-revieweravelikiy/great_ctoAgent11718d agoMITA39Claude Code
edtech-revieweravelikiy/great_ctoAgent11718d agoMITA112Claude Code