ask-gemini

ask-gemini is a skill for Claude Code from nyanko3141592/claude-code-ask-gemini-plugin. It costs 85 tokens per session (577 once invoked), scanned A, original, MIT.

A skill that sends a question to Google Gemini CLI to get another AI's opinion. It can pass along code or design details and return Gemini's response for comparison.

In plain words
What is it for?
Use it when asking Gemini to review code, comment on scalability or maintainability, assess a design, or answer a general technical question.
Why use it?
A second opinion can reveal alternative viewpoints in code reviews, architecture discussions, and other technical decisions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Gemini CLI.

Part of the ask-gemini plugin — 1 skill shipped together

Good fit Use it when asking Gemini to review code, comment on scalability or maintainability, assess a design, or answer a general technical question.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nyanko3141592/claude-code-ask-gemini-plugin/ask-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.

Any agent
npx skills add nyanko3141592/claude-code-ask-gemini-plugin --skill ask-gemini
Clone the repo
git clone --depth 1 https://github.com/nyanko3141592/claude-code-ask-gemini-plugin

Made for: Claude Code.

Or install ask-gemini, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nyanko3141592/claude-code-ask-gemini-plugin/ask-gemini.svg)](https://agentmods.dev/skills/nyanko3141592/claude-code-ask-gemini-plugin/ask-gemini)
Your own site
<a href="https://agentmods.dev/skills/nyanko3141592/claude-code-ask-gemini-plugin/ask-gemini"><img src="https://agentmods.dev/badge/skills/nyanko3141592/claude-code-ask-gemini-plugin/ask-gemini.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 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.00085 $0.00577
Opus 5 $0.00043 $0.00289
Sonnet 5 $0.00017 $0.00115
Haiku 4.5 $0.00009 $0.00058

Measured 7d ago against content hash 55fad67f573a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ask-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 7d 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.

skills/ask-gemini/SKILL.md · 77 lines

What it actually says

Ask Gemini - Geminiに意見を聞くスキル

このスキルはGoogle Gemini CLIを使って、別のAIの意見を取得します。

前提条件

Gemini CLIがインストールされている必要があります。

npm install -g @anthropic-ai/gemini-cli
# または
brew install gemini

使い方

基本的な質問の仕方

gemini "質問内容"

出力形式を指定する場合:

gemini -o text "質問内容"

コードレビューの場合

  1. 対象のコードをReadツールで読み取る
  2. 以下の形式でGeminiに質問する:
gemini "以下のコードをレビューしてください。改善点、バグの可能性、ベストプラクティスの観点からコメントをお願いします。

[コードをここに貼り付け]"

設計・アーキテクチャ相談の場合

gemini "以下の設計について意見をください。

[設計の説明や要件]

考慮すべき点:
- スケーラビリティ
- 保守性
- パフォーマンス"

汎用的な質問の場合

gemini "質問内容"

実行手順

  1. ユーザーが質問したい内容を確認する
  2. 必要に応じてコードや設計情報を収集する
  3. 適切なプロンプトを構築してGemini CLIを実行する
  4. Geminiの回答をユーザーに伝える
  5. 必要に応じてClaudeとしての補足意見を追加する

注意事項

  • Gemini CLIはインタラクティブモードではなく、単発のクエリとして実行する
  • 長いコードや複雑な質問の場合、適切に要約してからGeminiに渡す
  • Geminiの回答とClaudeの意見が異なる場合、両方の視点をユーザーに提示する
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. 7d ago First seen · 77 lines · 85 tokens per session scan A 55fad67f573a

Subscribe to this mod's changes

ask-gemini is a skill published in the GitHub repository nyanko3141592/claude-code-ask-gemini-plugin (2 stars, last pushed 7mo ago), licensed MIT. It adds 85 tokens to every session and 577 once invoked, about $0.0004 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-31.