gemini-advisor

Reviewed at commit 0e4c0dd New version, not yet reviewed

Sends data to Google Gemini (generativelanguage.googleapis.com)

Gives the model a Gemini advisor tool it calls by itself: Gemini reads the whole conversation and the model's message and answers with a second opinion. Off…

Made by
Kerem Gok
What we checked

Off until you run /gemini-advisor on. Then it gives Claude an advise tool and a system prompt note telling it to call the tool before plans, when stuck and before finishing. Each call sends the whole conversation, including tool outputs and file contents, plus Claude's message to Google Gemini with your own key and shows the answer to Claude.

Review details

Static review of the source at the pinned commit; not run. Registers session.start, turn.start, classic.SessionStart, command.run (/gemini-advisor status|on|off|reset), prompt.section (appends a stable note to the env_info_simple section only when enabled) and tool.call for mcp__gemini-advisor__advise. The advise handler denies while off, otherwise renders the entire transcript via $.session.messages() (all messages, tool inputs and outputs, clipped to maxInputChars, default 2,000,000, subagent calls send only the message), builds a generateContent body and sends it with $.http.fetch to the endpoint that gemini-core builds (https://generativelanguage.googleapis.com/v1beta/models/<model>:generateContent, key in the x-goog-api-key header). Retries on 503 and rotates keys on 429 or key errors through gemini-core. A toast shows token counts and, on the free tier, warns that data went to the Gemini free tier, where Google may use it. Stores only the on/off flag. Needs the gemini-core dependency for key, tier and model. Reads no files itself. Secrets that appear in tool output would be sent to Gemini; this follows from the disclosed behaviour. gemini-core was reviewed separately.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: yes
  • Stores data: yes
  • Shows something on screen: yes
Hooked events

Gives the model a Gemini advisor tool it calls by itself: Gemini reads the whole conversation and the model's message and answers with a second opinion. Off until /gemini-advisor on; gemini-core holds the key, tier, model and thinking level.

Made this mod? Add a badge to your README

modsforClaude badge for gemini-advisor

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/gemini-advisor.svg)](https://modsforclaude.com/mods/gemini-advisor/)

← All mods