← 返回
开发者工具

Gemini Web Search

Use Gemini CLI (@google/gemini-cli) to do web search / fact-finding and return a sourced summary. Use when the user asks “why did X happen today”, “what’s the latest news”, “search the web”, “find sources/links”, or any task requiring up-to-date info. Prefer this over other search tools when Gemini is available but slow; run it with a TTY, wait longer, and verify source quality.
使用 Gemini CLI(@google/gemini-cli)进行网络搜索或事实查找,并返回有来源的摘要。当用户询问“今天X发生了什么”“最新消息是什么”“搜索网页”“查找来源/链接”,或任何需要最新信息的任务时使用。若 Gemini 可用但速度较慢,优先选择此工具;请在 TTY 环境中运行,等待更长时间,并核实来源质量。
fengjiajie
开发者工具 clawhub v1.0.0 1 版本 99162.2 Key: 无需
★ 5
Stars
📥 3,569
下载
💾 258
安装
1
版本
#latest

概述

Gemini Web Search

Use Gemini CLI to search the web and produce a concise, sourced answer.

Quick workflow

1) Formulate a tight query

  • Include: entity + ticker/name + date/time window + what you need (%, $, cause, quotes, links)
  • Example: PayPal (PYPL) fell Feb 4 2026: % change, $ change, main catalyst(s), 3 sources

2) Run Gemini CLI with a TTY and long timeout

Gemini CLI can hang or be slow without a pseudo-TTY.

Preferred (OpenClaw tool call):

  • Use functions.exec with pty: true
  • Use timeout 300–600s (longer for heavy searches)
  • Use yieldMs ~10000 then process.poll until completion

Command template:

  • ~/.npm-global/bin/gemini -p ""

If pty:true still behaves poorly, use a pseudo-tty wrapper:

  • script -q -c "~/.npm-global/bin/gemini -p \"\"" /dev/null

3) Extract the answer in a structured way

Return:

  • The key numeric facts (e.g., % move, $ move, close/intraday)
  • 2–4 bullets of the main catalyst(s)
  • Links (always)

4) Quality control (mandatory)

  • Prefer: company IR/SEC filing, Reuters, Bloomberg, WSJ/FT, CNBC, reputable outlets.
  • Avoid relying on low-quality finance blogs/SEO sites.
  • If sources conflict or look unreliable: say so and ask user for a screenshot/link, or re-run with a stricter prompt.

Prompts that work well

  • Fast triage:

Search the web: . Give 3 bullets + 2 reputable links.

  • Market move:

Search the web: Why did move today ()? Provide exact % and $ move (close + intraday if available) and the main catalyst(s). Cite sources with links.

  • Force better sources:

Search the web and prioritize Reuters/company IR/SEC filing. If you cannot find them, say so. Topic: <...>. Provide links.

Failure modes & fixes

  • Gemini prints “I will search…” then stalls
  • Wait longer (it can be slow).
  • Ensure TTY: run with pty:true or script -q -c ... /dev/null.
  • Output has suspicious claims (e.g., odd CEO news)
  • Re-run with: “use Reuters/company IR/SEC filing only; otherwise say unknown”.
  • Cross-check with at least 2 independent reputable sources.
  • Need numbers but sources don’t show them
  • Ask user for the quote/screenshot from their market data app and reconcile.

Local setup notes

  • Gemini CLI binary: ~/.npm-global/bin/gemini
  • Auth: already completed by Jiajie (should work without re-login)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 12:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,791
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,842