web-search-with-serpapi
由 lsl001006 提供
Web & Frontend Development简介
Search the web using SerpAPI with customizable engines (Google, Google AI Mode, Bing, etc.)
描述
该技能的功能
Fetches web search results through SerpAPI, supporting multiple engines including Google, Google AI Mode, Bing, Yahoo, Google Images, Google Maps, and YouTube. Accepts a query string and optional engine parameter, returning structured text results from the API response.
SerpAPI handles scraping and parsing search result pages, so you get structured data without managing browser automation or getting blocked.
何时使用
- Searching current news or events beyond an LLM's training cutoff
- Finding images via Google Images search
- Looking up local businesses or locations via Google Maps
- Running AI-mode searches for summarized answers
- Automating research queries across multiple search engines
示例工作流
User asks: 'What are the latest AI developments in 2026?'
- 1
Receive query and determine appropriate engine (google_ai_mode for summarized results)
- 2
Call serpapi_search with query='latest AI developments 2026' and engine='google_ai_mode'
- 3
Receive structured text blocks from SerpAPI response
- 4
Return parsed results to user
A list of current search results or AI-summarized answer about recent AI developments
前置要求
- SERPAPI_API_KEY environment variable
- SerpAPI account (serpapi.com)
安装
clawhub install lsl001006/web-search-with-serpapi运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。