Gemini Web Search
by @fengjiajie
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.
clawhub install gemini-web-search📖 About This Skill
name: gemini-web-search description: 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 Web Search
Use Gemini CLI to search the web and produce a concise, sourced answer.
Quick workflow
1) Formulate a tight query
PayPal (PYPL) fell Feb 4 2026: % change, $ change, main catalyst(s), 3 sources2) Run Gemini CLI with a TTY and long timeout Gemini CLI can hang or be slow without a pseudo-TTY.
Preferred (OpenClaw tool call):
functions.exec with pty: truetimeout 300–600s (longer for heavy searches)yieldMs ~10000 then process.poll until completionCommand 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:
4) Quality control (mandatory)
Prompts that work well
Search the web: . Give 3 bullets + 2 reputable links. Search the web: Why did move today ()? Provide exact % and $ move (close + intraday if available) and the main catalyst(s). Cite sources with links. Search the web and prioritize Reuters/company IR/SEC filing. If you cannot find them, say so. Topic: <...>. Provide links.Failure modes & fixes
pty:true or script -q -c ... /dev/null.Local setup notes
~/.npm-global/bin/gemini