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.
Best use case
gemini-web-search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using gemini-web-search should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/gemini-web-search/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gemini-web-search Compares
| Feature / Agent | gemini-web-search | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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 "<prompt>"` If `pty:true` still behaves poorly, use a pseudo-tty wrapper: - `script -q -c "~/.npm-global/bin/gemini -p \"<prompt>\"" /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: <topic>. Give 3 bullets + 2 reputable links.` - **Market move**: `Search the web: Why did <TICKER> move today (<date>)? 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)
Related Skills
jinko-flight-search
Search flights and discover travel destinations using the Jinko MCP server. Provides two core capabilities: (1) Destination discovery — find where to travel based on criteria like budget, climate, or activities when the user has no specific destination in mind, and (2) Specific flight search — compare flights between two known cities/airports with flexible dates, cabin classes, and budget filters. Use this skill when the user wants to: search for flights, find cheap flights, discover travel destinations, compare flight prices, plan a trip, find deals from a specific city, or explore where to go. Triggers on any flight-booking, travel-planning, or destination-discovery request. Requires the Jinko MCP server connected at https://mcp.gojinko.com.
academic-deep-research
Transparent, rigorous research with full methodology — not a black-box API wrapper. Conducts exhaustive investigation through mandated 2-cycle research per theme, APA 7th citations, evidence hierarchy, and 3 user checkpoints. Self-contained using native OpenClaw tools (web_search, web_fetch, sessions_spawn). Use for literature reviews, competitive intelligence, or any research requiring academic rigor and reproducibility.
web-searcher
Autonomous web research agent that performs multi-step searches, follows links, extracts data, and synthesizes.
internet-search
How to use the internet_search tool effectively — category routing, query formulation, and multi-search strategies.
research-tracker
Manage autonomous AI research agents with SQLite-based state tracking. Use when spawning long-running research sub-agents, tracking multi-step investigations, coordinating agent handoffs, or monitoring background work. Triggers on: research projects, sub-agent coordination, autonomous investigation, progress tracking, agent oversight.
yutori-web-research
Use Yutori’s Research API and Browsing API (cloud browser) to research topics, collect sources, and extract structured facts from the web. Use when the user asks to “research X”, “monitor/find papers”, or “navigate to a site and extract info” and you have access to YUTORI dev/prod endpoints via YUTORI_API_BASE and an API key in env (YUTORI_API_KEY or ~/.openclaw/openclaw.json env.YUTORI_API_KEY).
literature-search
Find and compile academic literature with citation lists across Google Scholar, PubMed, arXiv, IEEE, ACM, Semantic.
research-library
Local-first multimedia research library for hardware projects.
research-assistant
Organized research and knowledge management for agents.
baidu-scholar-search
Baidu Academic Search Tool enables the retrieval of both Chinese and English literature, covering various types of literature such as academic journals, conference papers, and dissertations.
market-research-2
Conduct structured market research for a solopreneur business.
wechat-search
Search WeChat Official Account articles using OpenClaw's web search, Tavily API, and web fetch capabilities.