Search

PythonReactSEOPDF
OpenClaw

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.

fengjiajie0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install fengjiajie/gemini-web-search

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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
  1. 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
  1. 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)
  1. 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:...

Source information

Source
github
Repository
openclaw/skills
Path
skills/fengjiajie/gemini-web-search
Version
—
Commit
7593de4f0b52a286dc9d8e11b284e4e417652541
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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:...

Related skills

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.