google-search

google-search is a skill for Claude Code from fetcher-sh/fetcher-skills. It costs 111 tokens per session (1,210 once invoked), scanned A, original, MIT.

An HTTP service that returns Google web search results as JSON, including support for search operators such as site:, filetype:, and exact phrases.

In plain words
What is it for?
Use it to search the web from code, restrict results to sites or file types, and find pages matching exact terms or titles.
Why use it?
It avoids setting up a Google Custom Search Engine, daily query quotas, and a billing account for programmatic searches.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the fetcher-skills plugin — 13 skills, 4 commands shipped together

Good fit Use it to search the web from code, restrict results to sites or file types, and find pages matching exact terms or titles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fetcher-sh/fetcher-skills/google-search
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.

Any agent
npx skills add fetcher-sh/fetcher-skills --skill google-search
Clone the repo
git clone --depth 1 https://github.com/fetcher-sh/fetcher-skills

Made for: Claude Code.

Or install fetcher-skills, the plugin that ships this one along with the rest of its 13 skills, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/fetcher-sh/fetcher-skills/google-search/github.svg)](https://agentmods.dev/skills/fetcher-sh/fetcher-skills/google-search)
Your own site
<a href="https://agentmods.dev/skills/fetcher-sh/fetcher-skills/google-search"><img src="https://agentmods.dev/badge/skills/fetcher-sh/fetcher-skills/google-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/fetcher-sh/fetcher-skills/google-search"><img src="https://agentmods.dev/badge/skills/fetcher-sh/fetcher-skills/google-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,210 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 14 Aug 2026
  • Snyk warn 14 Aug 2026
How audits are shown
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.1 $0.00111 $0.01210
Opus 5 $0.00056 $0.00605
Sonnet 5 $0.00022 $0.00242
Haiku 4.5 $0.00011 $0.00121

Measured 10d ago against content hash 3f2eca7aa8a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

google-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 10d 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.

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
skills/google-search/SKILL.md · 144 lines

How it starts

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

Google Search API

Google's own search results as clean JSON — one plain HTTP GET per call, paid as you go. Google's search operators pass straight through: site:, filetype:, intitle:, and quoted exact phrases all work exactly as they do in the browser. No Custom Search Engine setup, no per-day query quota, no billing account.

Base URL: https://google.fetcher.sh

Authentication

Two ways to pay, same data — full mechanics in the fetcher skill:

# 1. Prepaid credits (recommended — get a key at https://fetcher.sh/topup
#    or via POST /api/credits/topup, see the fetcher skill)
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://google.fetcher.sh/api/search?query=hello"

# 2. x402 pay-per-call — omit the header; a GET with no payment returns 402
#    with machine-readable payment requirements (USDC on Base, Polygon,
#    Arbitrum, Monad, or Solana). @x402/fetch signs and retries automatically.

Every response is { "status": number, "message": string, "data": ... }; the HTTP status mirrors status.

Endpoint ($0.005/call)

Endpoint What it returns
/api/search Google web search results for a query

Required: query. Optional: safe (SafeSearch), page (pagination), hl (UI language, e.g. en), country (region scope), count (results per page — currently 10), noEncode (skip query re-encoding for pre-formatted operator strings).

Scenarios

Restrict to one site:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "query=site:github.com x402 payments" -G \
  "https://google.fetcher.sh/api/search"

PDFs only:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "query=agentic commerce filetype:pdf" -G \
  "https://google.fetcher.sh/api/search"

Exact phrase:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode 'query="pay per call api"' -G \
  "https://google.fetcher.sh/api/search"

Read the full file on GitHub · 144 lines

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. 10d ago First seen · 144 lines · 111 tokens per session scan A 3f2eca7aa8a9

Subscribe to this mod's changes

google-search is a skill published in the GitHub repository fetcher-sh/fetcher-skills (1 stars, last pushed 5d ago), licensed MIT. It adds 111 tokens to every session and 1,210 once invoked, about $0.0006 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-09-01.

Related

Other skills, from other repositories

web-search-agent

Search the live web via a verified x402 pay-per-request endpoint. Use when the user asks the agent to find recent information online, look up current events, research a topic, or fetch search results — without an API key for Exa, Serper, Brave, or Bing.

entroute/web-search-agent · 61 tokens

image-prompting

Use when generating or editing images via blockrunimage — especially with GPT Image 2, Nano Banana, or Grok Imagine for posters, UI mockups, marketing assets, product shots, or anything with on-image text. Turns vague user requests ("make me a cool poster") into structured, text-accurate prompts that actually render…

BlockRunAI/blockrun-mcp · 79 tokens

blockrun

Pay-per-call access to AI models, real-time data, media generation and multi-chain RPC over x402 micropayments (USDC on Base or Solana). No API keys, no accounts, no subscriptions. Start here when you have the BlockRun MCP installed and need to know WHICH tool answers a question, how the wallet works, or how to make a…

BlockRunAI/blockrun-mcp · 241 tokens

gentech-blockrun

GenTech Labs' integration patterns for BlockRun MCP from Hermes Agent. Covers daily usage patterns, cost-optimized workflows, multi-tool pipelines, and reliable error handling for BlockRun's full toolset.

BlockRunAI/blockrun-mcp · 46 tokens

surf

Surf (asksurf.ai) is RETIRED on BlockRun and the blockrunsurf tool was REMOVED in 0.49.0 — the gateway has answered every /v1/surf/ path with HTTP 410 endpointretired since 2026-09-06. Use this skill to route a former Surf question (on-chain SQL, wallet labels and net worth, CEX order books, social mindshare, news) to…

BlockRunAI/blockrun-mcp · 110 tokens

search

Use when the user wants real-time web or news results with AI-summarized answers and citations — Grok Live Search via BlockRun. Cheapest path for "what just happened" questions where freshness beats neural-semantic ranking.

BlockRunAI/blockrun-mcp · 47 tokens