使用 Gemini CLI 執行網絡搜索以獲取最新資訊。
Executes web searches via Gemini CLI to retrieve current information and technical solutions.
/plugin marketplace add wasabeef/claude-code-cookbook/plugin install cook-zh-tw@claude-code-cookbook使用 Gemini CLI 執行網絡搜索以獲取最新資訊。
# 通過 Gemini CLI 進行網絡搜索 (必须)
gemini --prompt "WebSearch: <搜索查询>"
# 使用 Gemini CLI
gemini --prompt "WebSearch: React 19 新功能"
gemini --prompt "WebSearch: TypeError Cannot read property of undefined 解決方法"
# 文檔搜索和摘要
gemini --prompt "WebSearch: Next.js 14 App Router 官方文檔"
「請總結搜索結果並說明主要功能」
# 錯誤調查
cat error.log
gemini --prompt "WebSearch: [錯誤消息] 解決方法"
「請從搜索結果中提出最合適的解決方法」
# 技術比较
gemini --prompt "WebSearch: Rust vs Go performance benchmark 2024"
「請從搜索結果總結性能差異」
# 從多個來源收集資訊
gemini --prompt "WebSearch: GraphQL best practices 2024 multiple sources"
「請從搜索結果整理多個可靠來源的資訊」
# 調查時間序列變化
gemini --prompt "WebSearch: JavaScript ES2015 ES2016 ES2017 ES2018 ES2019 ES2020 ES2021 ES2022 ES2023 ES2024 features"
「請按時間顺序整理各版本的主要變更」
# 限定特定域名搜索
gemini --prompt "WebSearch: site:github.com Rust WebAssembly projects stars:>1000"
「請按星標數量從高到低列出 10 個項目」
# 最新的安全資訊
gemini --prompt "WebSearch: CVE-2024 Node.js vulnerabilities"
「請總結發現的漏洞影響和對策」
gemini --prompt "WebSearch: ..."gemini --prompt "WebSearch: ..."