search

A command-line search tool that queries Google, Bing, Amazon, Walmart, YouTube, Google Maps, Google Scholar, and many other search engines through SerpApi.

In plain words
What is it for?
Use it to search the web, products, local businesses, videos, scholarly papers, news, jobs, flights, or prices when a SerpApi key is available.
Why use it?
It provides one search interface for different kinds of web, shopping, video, map, and academic searches.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/serpapi/serpapi-claude-plugin/search
Any agent
npx skills add serpapi/serpapi-claude-plugin --skill search
Clone the repo
git clone --depth 1 https://github.com/serpapi/serpapi-claude-plugin

Made for: Claude Code, Codex.

Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00086 $0.02303
Opus 5 $0.00043 $0.01151
Sonnet 5 $0.00017 $0.00461
Haiku 4.5 $0.00009 $0.00230

Measured 2d ago against content hash 0381625c44cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Search Google, Bing, Amazon, Walmart, YouTube, Google Maps, Google Scholar, and 100+ other engines via the SerpApi REST API. Calls the API using curl. Use when the user wants to search the web, find products
skills/search/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Search any engine via a single REST endpoint. Each API call costs one search credit.

Important: Always use Bash(curl ...) to call the SerpApi REST API. Do not use WebFetch, WebSearch, or any other HTTP tool.

Setup

The API key must be set as an environment variable:

export SERPAPI_API_KEY="your_key_here"

If SERPAPI_API_KEY is not set, tell the user:

Set your SerpApi API key: export SERPAPI_API_KEY="your_key" — get one free at https://serpapi.com/manage-api-key

API Pattern

Every search follows the same pattern regardless of engine:

curl -s "https://serpapi.com/search.json?engine=ENGINE&QUERY_PARAM=QUERY&api_key=$SERPAPI_API_KEY"

The only things that vary per engine are:

  1. The engine value
  2. The query parameter name (q, k, query, etc.)
  3. Engine-specific optional parameters

Engine Selection

Pick the engine based on user intent:

Intent Engine Query param Docs
Web search google_light q https://serpapi.com/google-light-api
Web search (full features) google q https://serpapi.com/search-api
Bing search bing q https://serpapi.com/bing-search-api
DuckDuckGo search duckduckgo q https://serpapi.com/duckduckgo-search-api
Yahoo search yahoo p https://serpapi.com/yahoo-search-api
Yandex search yandex text https://serpapi.com/yandex-search-api
Baidu search baidu q https://serpapi.com/baidu-search-api
AI search google_ai_mode q https://serpapi.com/google-ai-mode-api
AI overview google_ai_overview q https://serpapi.com/google-ai-overview-api
Bing Copilot bing_copilot q https://serpapi.com/bing-copilot-api
Brave AI brave_ai_mode q https://serpapi.com/brave-ai-mode-api
Amazon products amazon k https://serpapi.com/amazon-search-api
Walmart products walmart query https://serpapi.com/walmart-search-api
eBay products ebay _nkw https://serpapi.com/ebay-search-api
Google Shopping google_shopping q https://serpapi.com/google-shopping-api
Home Depot home_depot q https://serpapi.com/home-depot-search-api
Google Maps / local google_maps q https://serpapi.com/google-maps-api
Google Local google_local q https://serpapi.com/google-local-api
Yelp yelp find_desc https://serpapi.com/yelp-search-api
TripAdvisor tripadvisor q https://serpapi.com/tripadvisor-search-api
OpenTable reviews open_table_reviews restaurant_id https://serpapi.com/open-table-reviews-api
Google Scholar google_scholar q https://serpapi.com/google-scholar-api
Google Patents google_patents q https://serpapi.com/google-patents-api
Google News google_news q https://serpapi.com/google-news-api
Google Trends google_trends q https://serpapi.com/google-trends-api
Google Images google_images q https://serpapi.com/google-images-api
Google Videos google_videos q https://serpapi.com/google-videos-api
Google Lens google_lens url https://serpapi.com/google-lens-api
YouTube youtube search_query https://serpapi.com/youtube-search-api
Google Flights google_flights (see params) https://serpapi.com/google-flights-api
Google Hotels google_hotels q https://serpapi.com/google-hotels-api
Google Travel google_travel_explore (see params) https://serpapi.com/google-travel-explore-api
Google Jobs google_jobs q https://serpapi.com/google-jobs-api
Google Finance google_finance q https://serpapi.com/google-finance-api
Google Play google_play q https://serpapi.com/google-play-api
Apple App Store apple_app_store term https://serpapi.com/apple-app-store
Google Autocomplete google_autocomplete q https://serpapi.com/google-autocomplete-api
Naver naver query https://serpapi.com/naver-search-api

Read the full file on GitHub · 155 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 155 lines · 86 tokens per session scan A 0381625c44cb

Subscribe to this mod's changes

search is a skill published in the GitHub repository serpapi/serpapi-claude-plugin (13 stars, last pushed 9d ago), licensed MIT. It adds 86 tokens to every session and 2,303 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

release-notes

Generate user-facing release notes from tickets, PRDs, or changelogs. Creates clear, engaging summaries organized by category (new features, improvements, fixes). Use when writing release notes, creating changelogs, announcing product updates, or summarizing what shipped.

phuryn/pm-skills · 57 tokens

retro

Facilitate a structured sprint retrospective — what went well, what didn't, and prioritized action items with owners and deadlines. Use when running a retrospective, reflecting on a sprint, creating action items from team feedback, or learning how to run effective retros.

phuryn/pm-skills · 52 tokens

ideogram-ultra

Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control.

artokun/comfyui-mcp · 68 tokens

model-compatibility

Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.

artokun/comfyui-mcp · 47 tokens

flux-txt2img

Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.

artokun/comfyui-mcp · 44 tokens

civitai

Discover Civitai models with the BUILT-IN downloadmodel action:"searchcivitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

artokun/comfyui-mcp · 76 tokens