Skip to content
Development
Command

/search-gemini

Execute web searches via Gemini CLI to obtain the latest information.

From plugin
claude-code-cookbook
1.1k39 skills9 agents39 commands8 MCP
Install
> /plugin marketplace add wasabeef/claude-code-cookbook

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/search-gemini

Context preview

What this command does when you run it.

Execute web searches via Gemini CLI to obtain the latest information.

Command definition

search-gemini.md

Web search via Gemini CLI for latest information

Execute web searches via Gemini CLI to obtain the latest information.

Usage

# Web search via Gemini CLI (required)
gemini --prompt "WebSearch: <search_query>"

Basic Examples

# Using Gemini CLI
gemini --prompt "WebSearch: React 19 new features"
gemini --prompt "WebSearch: TypeError Cannot read property of undefined solution"

Collaboration with Claude

# Document search and summarization
gemini --prompt "WebSearch: Next.js 14 App Router official documentation"
"Summarize the search results and explain the main features"

# Error investigation
cat error.log
gemini --prompt "WebSearch: [error_message] solution"
"Propose the most appropriate solution from the search results"

# Technology comparison
gemini --prompt "WebSearch: Rust vs Go performance benchmark 2026"
"Summarize the performance differences from the search results"

Detailed Examples

# Information gathering from multiple sources
gemini --prompt "WebSearch: GraphQL best practices 2026 multiple sources"
"Summarize information from multiple reliable sources in the search results"

# Investigating changes over time
gemini --prompt "WebSearch: JavaScript ES2015 ES2016 ES2017 ES2018 ES2019 ES2020 ES2021 ES2022 ES2023 ES2024 features"
"Summarize the main changes in each version in chronological order"

# Search limited to specific domain
gemini --prompt "WebSearch: site:github.com Rust WebAssembly projects stars:>1000"
"List the top 10 projects by number of stars"

# Latest security information
gemini --prompt "WebSearch: CVE-2024 Node.js vulnerabilities"
"Summarize the impact and countermeasures of found vulnerabilities"

Prohibited Items

  • **Prohibited to use Claude's built-in WebSearch tool**
  • When web search is needed, always use `gemini --prompt "WebSearch: ..."`

Important Notes

  • **When Gemini CLI is available, always use `gemini --prompt "WebSearch: ..."`**
  • Web search results are not always the latest
  • It is recommended to verify important information with official documentation or reliable sources
Read more
Ships withclaude-code-cookbook

A collection of commands, roles, and automation scripts for Claude Code. Automate your workflow without unnecessary confirmations, allowing you to focus on what matters.

Get the whole plugin