google-maps-scraper-kit: Command for Claude Code

.claude/commands/scrape-batch.md

scrape-batch is a command for Claude Code from Mahanaicoach/google-maps-scraper-kit. It costs 18 tokens per session (460 once invoked), scanned A, original, MIT.

A command for running many Google Maps searches at once from a list of keywords.

In plain words
What is it for?
Use it for batch searches across several business categories or keywords.
Why use it?
It removes the need to start each search separately when collecting results for multiple search terms.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is Mahanaicoach/google-maps-scraper-kit's own configuration. It tells Claude Code how to work on google-maps-scraper-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything google-maps-scraper-kit configures →

About the project

Google Maps Scraper Kit is a local tool that collects business listings from Google Maps and saves selected contact and business details as CSV files. It is for lead generation and can be operated through Claude Code, with optional website email and social-profile collection.

Mahanaicoach/google-maps-scraper-kit · 1,942 stars · on GitHub · skills.sh

Reuse

Borrowing it

Nothing to install: this file belongs to Mahanaicoach/google-maps-scraper-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Mahanaicoach/google-maps-scraper-kit/master/.claude/commands/scrape-batch.md
Clone the repo
git clone --depth 1 https://github.com/Mahanaicoach/google-maps-scraper-kit

Made for: Claude Code.

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 scrape-batch

README.md
[![agentmods](https://agentmods.dev/badge/commands/mahanaicoach/google-maps-scraper-kit/scrape-batch/github.svg)](https://agentmods.dev/commands/mahanaicoach/google-maps-scraper-kit/scrape-batch)
Your own site
<a href="https://agentmods.dev/commands/mahanaicoach/google-maps-scraper-kit/scrape-batch"><img src="https://agentmods.dev/badge/commands/mahanaicoach/google-maps-scraper-kit/scrape-batch/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 scrape-batch

Your own site · 80×15
<a href="https://agentmods.dev/commands/mahanaicoach/google-maps-scraper-kit/scrape-batch"><img src="https://agentmods.dev/badge/commands/mahanaicoach/google-maps-scraper-kit/scrape-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 460 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.
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.00018 $0.00460
Opus 5.5 $0.00007 $0.00184
Sonnet 5.5 $0.00004 $0.00092
Haiku 4.5 $0.00002 $0.00046

Measured 13d ago against content hash b37979e73490, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scrape-batch 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 13d 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.

1. Check the engine is up (`curl -s http://localhost:8080/api/v1/jobs`; `docker compose up -d` if not).
.claude/commands/scrape-batch.md · 24 lines

What it actually says

The user wants a batch Google Maps scrape. Input: $ARGUMENTS (a keywords file, and optionally a city).

Use the google-maps-scraper skill. The API scrapes many keywords in ONE job through the keywords array, so a batch is one job with all the terms.

  1. Check the engine is up (curl -s http://localhost:8080/api/v1/jobs; docker compose up -d if not).
  2. Read the keyword list (one per line; ignore blank and # lines). If a --city was given, geocode it once for lat/lon. Otherwise expect the location baked into each keyword, and geocode the first one.
  3. Ask about social profiles first. Skip only if the user already said yes or no: "Also grab social profiles (Instagram / Facebook / LinkedIn) for these? Emails are already included. (yes / no)". If yes, add --socials.
  4. Warn, don't block: a batch with many keywords is high-volume. Print ONE short warning that it can get the IP temporarily rate-limited and suggest proxies for large or repeated runs, then proceed.
  5. POST a single job with the full keywords array, the required fields (max_time seconds, string lat/lon) and "email": true (emails are the key lead field). Use a generous max_time (e.g. 900), because many keywords plus email extraction take longer. Poll in the background, then download.
  6. Present the 8 lead fields in a clean table and save the full file to disk.

Tip: scripts/scrape.py --keywords-file <file> --city "<City, ST>" already does all of this, with emails on by default. Append --socials if the user said yes in step 3.

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. 13d ago Changed · +2 tokens per session b37979e73490
  2. 1mo ago First seen · 24 lines · 16 tokens per session scan A 434f705999b1

Subscribe to this mod's changes

scrape-batch is a command published in the GitHub repository Mahanaicoach/google-maps-scraper-kit (1,942 stars, last pushed 14d ago), licensed MIT. It adds 18 tokens to every session and 460 once invoked, about $0.0001 per session on Opus 5.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.