搜索

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 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install fengjiajie/gemini-web-search

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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
github
Repository
openclaw/skills
Path
skills/fengjiajie/gemini-web-search
Version
—
Commit
7593de4f0b52a286dc9d8e11b284e4e417652541
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

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

相关技能

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.