微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔍

实时搜索万物,信息触手可及

Google Serper Search · v0.1.1
效率 安全 B 级 作者 twodogegg 公开目录收录
1.2k 下载 0 安装 3.8k 收藏 22 浏览

简介

通过 Serper API 实现网页与图片搜索,支持多类型、多语言、多地区的高级检索,获取实时信息。

原始描述

This skill should be used when the user asks to "search the web", "search for information", "find information online", "search Google", "search for images",...

通过你的 Agent 添加

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/google-serper-search/
Codex CLI~/.codex/skills/google-serper-search/
DeepSeek Harness~/.agents/skills/google-serper-search/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: google-serper-search description: This skill should be used when the user asks to "search the web", "search for information", "find information online", "search Google", "search for images", "find pictures", or requests any web search or image search functionality.

Google Serper Search

This skill enables you to search the web and find images using the Serper API.

When to Use This Skill

Use this skill when the user:

  • Asks to search for information online
  • Needs current/recent information not in your knowledge base
  • Requests to find images or pictures
  • Wants to verify facts or get latest updates
  • Asks questions that require web search

How to Use

Advanced Search

You can now use advanced parameters to filter results.

python3 scripts/serper_search.py "query" --type news --gl us --hl en --tbs "past week"

Parameters:

  • Type (--type): search, images, videos, places, maps, reviews, news, shopping, lens, scholar, patents, autocomplete.
  • Country (--gl): 2-letter country code (e.g., us, cn, jp, gb).
  • Language (--hl): Google language code (e.g., en, zh-cn, zh-tw, ja).
  • Date range (--tbs): past hour, past 24 hours, past week, past month, past year.

The script returns JSON with:

  • knowledgeGraph: Key facts about the topic
  • organic: Search results with title, link, and snippet
  • peopleAlsoAsk: Related questions
  • relatedSearches: Related search terms

Image Search

When the user needs images, run:

python3 scripts/serper_search.py "search query" --type images

Returns JSON with image URLs, thumbnails, dimensions, and sources.

Response Format

After getting search results:

  1. Parse the JSON response
  2. Present results in a clear, organized format
  3. Include relevant links and sources
  4. For images, describe what was found and provide image URLs

Example Usage

User: "Search for the latest news about AI" You: Use Bash tool to run the search script, then format and present the results.

User: "Find pictures of mountains" You: Use Bash tool to run image search, then present the image URLs and descriptions.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

web-searchimage-searchreal-time-dataapi-integrationinformation-retrieval

同类 Skill