multi-ai-consultant:consult-gemini

multi-ai-consultant:consult-gemini is a command for Claude Code from secondsky/claude-skills. It costs 43 tokens per session (1,901 once invoked), scanned A, original, MIT.

A command that asks Google Gemini for a second opinion, including web research and checks against current documentation.

In plain words
What is it for?
Use it to investigate the latest documentation, assess architecture, and verify security-related facts.
Why use it?
It helps when an answer depends on recent library guidance, current security information, or a complex design question.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; positional $N argument; mentions Gemini CLI.

Part of the multi-ai-consultant plugin — 1 skill, 4 commands shipped together

Good fit Use it to investigate the latest documentation, assess architecture, and verify security-related facts.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/secondsky/claude-skills/consult-gemini
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/secondsky/claude-skills

Made for: Claude Code.

Or install multi-ai-consultant, the plugin that ships this one along with the rest of its 1 skill, 4 commands.

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 multi-ai-consultant:consult-gemini

README.md
[![agentmods](https://agentmods.dev/badge/commands/secondsky/claude-skills/consult-gemini/github.svg)](https://agentmods.dev/commands/secondsky/claude-skills/consult-gemini)
Your own site
<a href="https://agentmods.dev/commands/secondsky/claude-skills/consult-gemini"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/consult-gemini/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 multi-ai-consultant:consult-gemini

Your own site · 80×15
<a href="https://agentmods.dev/commands/secondsky/claude-skills/consult-gemini"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/consult-gemini.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 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,901 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.00043 $0.01901
Opus 5.5 $0.00017 $0.00760
Sonnet 5.5 $0.00009 $0.00380
Haiku 4.5 $0.00004 $0.00190

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

Security

Grade A, and why

multi-ai-consultant:consult-gemini 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 8d 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.

plugins/multi-ai-consultant/commands/consult-gemini.md · 286 lines

How it starts

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

Consult Gemini 3 Pro

You are being asked to consult Google Gemini 3 Pro for a second opinion on a coding problem or architectural decision.

Your Task

  1. Pre-flight Check: Verify Gemini CLI is working
  2. Gather Context: Determine what context to send (bug vs architecture)
  3. Build Prompt: Create a clear, specific question with context
  4. Execute Consultation: Call Gemini with locked configuration
  5. Parse Response: Extract the analysis from JSON output
  6. Synthesize: Compare Gemini's analysis with your own reasoning
  7. Present: Show 5-part synthesis to user
  8. Log Cost: Track tokens and cost

Step 1: Pre-flight Check

# Test if Gemini CLI is working
if ! gemini -p "test" &>/dev/null 2>&1; then
  echo "❌ Gemini CLI not working"
  echo ""
  echo "Possible issues:"
  echo "1. Gemini CLI not installed: npm install -g @google/generative-ai-cli"
  echo "2. API key not set: export GEMINI_API_KEY='your-key-here'"
  echo "3. API key invalid: Check https://aistudio.google.com/apikey"
  echo ""
  echo "After fixing, try the consultation again."
  exit 1
fi

If pre-flight check fails, stop here and show the error message to the user.


Step 2: Smart Context Selection

For bug/error problems:

  • Include the specific file with the bug
  • Include related files (imports, dependencies)
  • Include error messages and stack traces
  • Use @path/to/file.ts syntax

For architecture decisions:

  • Include relevant source directories
  • Include documentation if available
  • Use @src/ or @path/to/feature/ syntax

For general questions:

  • Use @. for entire codebase (if small)
  • Or use @src/ for source only

Context size guidance:

  • Small bug: 1-3 files
  • Architecture: 1-2 directories
  • Full codebase: Only if <10k tokens estimated

Step 3: Build Prompt

The prompt must include:

  1. Problem statement: What's wrong or what decision is needed
  2. Question: Specific question for Gemini
  3. Your analysis: What you've tried or considered
  4. Context: File paths using @<path> syntax

Read the full file on GitHub · 286 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. 8d ago First seen · 286 lines · 43 tokens per session scan A 405038393800

Subscribe to this mod's changes

multi-ai-consultant:consult-gemini is a command published in the GitHub repository secondsky/claude-skills (257 stars, last pushed 8d ago), licensed MIT. It adds 43 tokens to every session and 1,901 once invoked, about $0.0002 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-11-22.

Related

multi-ai-consultant:consult-gemini compared with commands from other repositories

multi-ai-consultant:consult-gemini next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
multi-ai-consultant:consult-geminisecondsky/claude-skillsCommand2578d agoMITA43Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code
specifygithub/spec-kitCommand153k3d agoMITA13Claude Code
convergegithub/spec-kitCommand153k3d agoMITA35Claude Code
implementgithub/spec-kitCommand153k3d agoMITA14Claude Code