@shuliuzhenhua-sys/google-serper-search

Search the web, news, and images through the Serper API. Use when the user asks to search the web, find current information online, verify recent facts, search Google, find images, or gather search results with source links.

View in AI SkillSafe app
3 scan findings
0 downloads
0 stars
0 demos
SKILL.md
namegoogle-serper-search
descriptionSearch the web, news, and images through the Serper API. Use when the user asks to search the web, find current information online, verify recent facts, search Google, find images, or gather search results with source links.

Google Serper Search

Use scripts/serper_search.py to call the Serper API and return JSON search results.

Check configuration

Confirm SERPER_API_KEY is available before searching.

Run:

printenv SERPER_API_KEY

If the variable is empty, read references/configuration.md and set it in the current shell or shell profile before continuing.

Run searches

Use:

python3 scripts/serper_search.py "query"

Use filters when the request needs them:

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

Supported --type values:

  • search
  • images
  • videos
  • places
  • maps
  • reviews
  • news
  • shopping
  • lens
  • scholar
  • patents
  • autocomplete

Aliases:

  • web -> search
  • image -> images
  • img -> images

Supported --tbs shortcuts:

  • past hour
  • past 24 hours
  • past week
  • past month
  • past year

Use --gl for country and --hl for language when the request needs regional or language-specific results.

Interpret results

Read references/api_response.md when you need the result schema.

For web and news results, prioritize:

  • knowledgeGraph
  • organic
  • peopleAlsoAsk
  • relatedSearches

For image results, prioritize:

  • image title
  • imageUrl
  • thumbnailUrl
  • dimensions
  • source page

Present the answer

Summarize the most relevant results instead of dumping raw JSON unless the user asks for the raw response.

Include source links in the final answer.

Call out missing configuration or API errors explicitly when the script returns an error field.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@shuliuzhenhua-sys/google-serper-search/verified)](https://skillsafe.ai/skill/@shuliuzhenhua-sys/google-serper-search/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@shuliuzhenhua-sys/google-serper-search/installs)](https://skillsafe.ai/skill/@shuliuzhenhua-sys/google-serper-search/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@shuliuzhenhua-sys/google-serper-search/scan)](https://skillsafe.ai/skill/@shuliuzhenhua-sys/google-serper-search/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@shuliuzhenhua-sys/google-serper-search/eval)](https://skillsafe.ai/skill/@shuliuzhenhua-sys/google-serper-search/)