Skip to content
Back to skills

Google Search Serper

ASecurity

Google Search powered by Serper.dev API. Replaces Brave Search with

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
toolsgobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill google-search-serper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Google Search Serper?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Google Search Serper
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-google-search-serper/badge)](https://www.skillsdirectory.com/skills/modbender-google-search-serper)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Google Search Skill
description: Google Search powered by Serper.dev API. Replaces Brave Search with
  richer results including Knowledge Graph, Answer Box, People Also Ask, and
  specialized search types.
---

# Google Search Skill

Google Search powered by Serper.dev API. Replaces Brave Search with richer results including Knowledge Graph, Answer Box, People Also Ask, and specialized search types.

## When to Use
Use this skill for any Google search request. Auto-detect intent:
- Default → `search`
- "news about X" / "latest X" → `news`
- "images of X" / "pictures of X" → `images`
- "videos of X" / "how to X video" → `videos`
- "restaurants near X" / "X near me" → `places`
- "how much does X cost" / "buy X" → `shopping` (⚠️ 2 credits — only when explicitly requested)
- "papers on X" / "research about X" → `scholar`
- "patents for X" → `patents`
- "suggestions for X" → `suggest`

## Usage

```bash
SCRIPT_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.

## Setup
Requires a free API key from Serper.dev:
1. Sign up at https://serper.dev (2,500 free searches included)
2. Copy your API key from the dashboard
3. Add to your environment: `export SERPER_API_KEY=your_key_here`

If the key is missing, remind the user to sign up at serper.dev — it's free and takes 30 seconds.

## Workflow
1. Run the appropriate search command
2. Parse the formatted output
3. If deeper content is needed, use `web_fetch` on promising links
4. Credit balance is shown in every response — monitor usage
5. Shopping costs 2 credits — only use when user explicitly asks for prices/shopping

## Time Filters
`--time` accepts: `hour`, `day`, `week`, `month`, `year` (or `h`, `d`, `w`, `m`, `y`)

## Notes
- Rate limit: 5 req/sec on free tier
- All searches cost 1 credit except shopping (2 credits)
- Results include rich data: Knowledge Graph, Answer Box, People Also Ask, Related Searches

Files in this skill

  • README.md4.8 KB
  • SKILL.md2.6 KB
  • assets/banner.svg774 B
  • package.json339 B
  • references/serper-api.md1.3 KB
  • scripts/google-search.ts2.9 KB
  • scripts/lib/format.ts7.5 KB
  • scripts/lib/serper.ts1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…