google-web-search
БесплатноБез исполняемых скриптовНе проверенEnables grounded question answering by automatically executing the Google Search tool within Gemini models. Use when the required information is recent (post…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Google Web Search
Overview
This skill provides the capability to perform real-time web searches via the Gemini API's google_search grounding tool. It is designed to fetch the most current information available on the web to provide grounded, citable answers to user queries.
Key Features:
- Real-time web search via Gemini API
- Grounded responses with verifiable citations
- Configurable model selection
- Simple Python API
Usage
This skill exposes the Gemini API's google_search tool. It should be used when the user asks for real-time information, recent events, or requests verifiable citations.
Execution Context
The core logic is in scripts/example.py. This script requires the following environment variables:
- GEMINI_API_KEY (required): Your Gemini API key
- GEMINI_MODEL (optional): Model to use (default:
gemini-2.5-flash-lite)
Supported Models:
gemini-2.5-flash-lite(default) - Fast and cost-effectivegemini-3-flash-preview- Latest flash modelgemini-3-pro-preview- More capable, slowergemini-2.5-flash-lite-preview-09-2025- Specific version
Python Tool Implementation Pattern
When integrating this skill into a larger workflow, the helper script should be executed in an environment where the google-genai library is available and the GEMINI_API_KEY is exposed.
Example Python invocation structure:
from skills.google-web-search.scripts.example import get_grounded_response
# Basic usage (uses default model):
prompt = "What is the latest market trend?"
response_text = get_grounded_response(prompt)
print(response_text)
# Using a specific model:
response_text = get_grounded_response(prompt, model="gemini-3-pro-preview")
print(response_text)
# Or set via environment variable:
import os
os.environ["GEMINI_MODEL"] = "gemini-3-flash-preview"
response_text = get_grounded_response(prompt)
print(response_text)
Troubleshooting
If the script fails:
- Missing API Key: Ensure
GEMINI_API_KEYis set in the execution environment. - Library Missing: Verify that the
google-genailibrary is installed (pip install google-generativeai). - API Limits: Check the API usage limits on the Google AI Studio dashboard.
- Invalid Model: If you set
GEMINI_MODEL, ensure it's a valid Gemini model name. - Model Not Supporting Grounding: Some models may not support the
google_searchtool. Use flash or pro variants.
Установить google-web-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл google-web-search?
Enables grounded question answering by automatically executing the Google Search tool within Gemini models. Use when the required information is recent (post knowledge cutoff) or requires verifiable citation.
Как установить скилл google-web-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл google-web-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub