Install
openclaw skills install google-search-serperGoogle Search powered by Serper.dev API — 9 search types: web, news, images, videos, places, shopping, scholar, patents, autocomplete. Returns Knowledge Graph, Answer Box, People Also Ask, and Related Searches. Use when asked to Google something, search the web for current info, find news, look up images, research academic papers, find local places, or when the user needs richer search results than basic web search. Also use when Brave Search results are insufficient or the user explicitly wants Google results.
openclaw skills install google-search-serperGoogle Search powered by Serper.dev API. Replaces Brave Search with richer results including Knowledge Graph, Answer Box, People Also Ask, and specialized search types.
Use this skill for any Google search request. Auto-detect intent:
searchnewsimagesvideosplacesshopping (⚠️ 2 credits — only when explicitly requested)scholarpatentssuggestSCRIPT_DIR="~/.openclaw/workspace/skills/google-search/scripts"
# Web search (default)
npx tsx $SCRIPT_DIR/google-search.ts search "query" [--num 10] [--time day|week|month|year] [--country us] [--lang en]
# Specialized
npx tsx $SCRIPT_DIR/google-search.ts news "query" [--num 10]
npx tsx $SCRIPT_DIR/google-search.ts images "query"
npx tsx $SCRIPT_DIR/google-search.ts videos "query"
npx tsx $SCRIPT_DIR/google-search.ts places "query"
npx tsx $SCRIPT_DIR/google-search.ts shopping "query"
npx tsx $SCRIPT_DIR/google-search.ts scholar "query" [--year 2023]
npx tsx $SCRIPT_DIR/google-search.ts patents "query"
npx tsx $SCRIPT_DIR/google-search.ts suggest "query"
npx tsx $SCRIPT_DIR/google-search.ts credits
Add --json to any command for raw JSON output.
Requires a free API key from Serper.dev:
export SERPER_API_KEY=your_key_hereIf the key is missing, remind the user to sign up at serper.dev — it's free and takes 30 seconds.
web_fetch on promising links--time accepts: hour, day, week, month, year (or h, d, w, m, y)