02 Apify Maps Discover logo

02 Apify Maps Discover

Organization
Zevenue
02-apify-maps-discover

Find local-business (SMB) prospects via Google Maps using the Apify Compass actor. Use for Zevenue Step-2 Discovery (Vertical) when the ICP is Maps-addressable - laundromats, salons, HVAC, yoga studios, gyms, clinics - and you need a normalized list of name, domain, address, phone, rating, and review count ready for enrichment. Estimates cost and prompts before any run over $10. Requires APIFY_API_TOKEN.

Overview

PublisherZevenue
Repositoryheadless-gtm
Skill name02-apify-maps-discover
Stars
30
Forks
7
Bundled files
7
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Zevenue on GitHub. Read the source before you install it.

Installation

Install the 02 Apify Maps Discover AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Zevenue/headless-gtm/tree/main/skills/02-apify-maps-discover
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Zevenue/headless-gtm.git /tmp/headless-gtm
mkdir -p .claude/skills
cp -r /tmp/headless-gtm/skills/02-apify-maps-discover .claude/skills/02-apify-maps-discover
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 02 Apify Maps Discover in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 02 Apify Maps Discover on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 02 Apify Maps Discover is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Apify Maps Discovery

Turn a vertical + a place into a clean prospect list, scraped from Google Maps via the maintained Apify Compass actor (compass~crawler-google-places). We wrap the best existing actor rather than build our own scraper - Compass already handles proxies, anti-bot, and layout drift, and offers built-in email/contact enrichment. Output is the normalized Zevenue ProspectRecord schema (JSON + CSV).

Process

  1. Confirm inputs. Need search_term (the vertical) and geo (the area). Defaults: max_results=200, min_rating=4.0. Ask only if missing/ambiguous.
  2. Estimate cost and gate. The skill prints an estimate before calling the API. If it exceeds $10, it requires explicit confirmation (--yes or an interactive y/N). Never bypass this silently.
  3. Run the actor. Calls the Compass sync endpoint with the built input (searchStringsArray, locationQuery, maxCrawledPlacesPerSearch, placeMinimumStars). Add enrichment only when asked (see flags).
  4. Normalize. Each raw place is mapped to the shared 15-field ProspectRecord so it's comparable with the Outscraper / Google Places skills.
  5. Write the run folder. Writes runs/<run-id>/ per headless-gtm-shared/CONVENTIONS.md: records.jsonl (the shared chain format 03+ consume - company, domain, person, plus the firmographic fields), tracker.json, meta.json (count + spend estimate), prospects.json (all 15 ProspectRecord fields), and records.csv for humans. Report the row count and path; downstream skills read runs/<run-id>/records.jsonl (e.g. 05's collect --records).

Usage

bash
# install deps once (use a venv - system Python is externally-managed)
pip install -r ../headless-gtm-shared/requirements.txt
export APIFY_API_TOKEN=...        # console.apify.com → Settings → Integrations

python discover.py \
  --search-term "yoga studios" \
  --geo "California" \
  --max-results 200 \
  --min-rating 4.0 \
  [--include-emails] [--with-review-dates] \
  [--out DIR] [--estimate-only] [--yes]

Inputs

FlagMaps toDefault
--search-termactor searchStringsArrayrequired
--geoactor locationQueryrequired
--max-resultsmaxCrawledPlacesPerSearch200
--min-ratingplaceMinimumStars4.0
--include-emailsscrapeContacts (+$2/1K)off
--with-review-datesscrapePlaceDetailPage (extra cost)off
--estimate-onlyprint cost, no API call-
--yesskip the >$10 prompt-

Output (normalized ProspectRecord)

name, domain, website, phone, full_address, city, region, rating, reviews_count, latitude, longitude, place_id, category, last_review_date, source → see ../headless-gtm-shared/schema.py.

Cost

ModeFlagsEst. price
Discovery(default)~$2.10 / 1K
Discovery + emails--include-emails~$4.10 / 1K
Typical 2K-record runeither$4–8

last_review_date is off by default - it needs Compass's per-place detail page (--with-review-dates), which adds cost and latency. The cheap default pull leaves it blank. Edit the cost constants at the top of discover.py if your account pricing differs from the doc's $2.10/1K figure.

What good output looks like

  • Every row has at least name + (domain or phone) - usable for outreach.
  • domain is a bare host (no scheme/www) so it dedups cleanly downstream.
  • Closed businesses are skipped (skipClosedPlaces), ratings ≥ min_rating.
  • Row count is in the ballpark of what the geo realistically contains - a tiny count usually means the geo was too narrow or the term too specific.

Scope boundaries (what this skill does NOT do)

  • Not directory-only businesses with no Maps listing → use the extraction skill.
  • Not tech-stack-defined ICPs (e.g. "stores on Shopify") → signal layer.
  • Not qualitative web-observable ICPs → separate ICP discovery.
  • Not email validation or company firmographics → downstream enrichment / validation skills.
  • Outscraper is kept proprietary for client work; Compass is the public/ distributable Maps tool chosen here. Google Places was rejected (60-result per-query cap + Enterprise-tier cost for contact fields).

Reference

Deeper detail lives in the reference/ folder - load the file you need:

  • reference/compass-actor.md - actor ID, sync & async endpoints, the full input schema (every field + type), raw output fields, and limits.
  • reference/output-schema.md - the normalized 15-field ProspectRecord, the raw→normalized field map, domain-extraction and dedup-key rules, and JSON/CSV samples.
  • reference/cost-model.md - pricing per mode, how the $10 gate is computed, worked cost examples, and how to edit the constants.
  • reference/verticals-and-geo.md - recommended search_term phrasings per Zevenue vertical, geo formatting, and how to size max_results / min_rating.
  • reference/examples.md - copy-paste recipes for common jobs (quick test, full 2K list with emails, multi-city, estimate-only dry run).
  • reference/troubleshooting.md - empty results, auth/token errors, timeouts, rate limits, the 300s sync cap, and field-name caveats.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 02 Apify Maps Discover AI skill do?

Find local-business (SMB) prospects via Google Maps using the Apify Compass actor. Use for Zevenue Step-2 Discovery (Vertical) when the ICP is Maps-addressable - laundromats, salons, HVAC, yoga studios, gyms, clinics - and you need a normalized list of name, domain, address, phone, rating, and review count ready for enrichment. Estimates cost and prompts before any run over $10. Requires APIFY_API_TOKEN.

Why use 02 Apify Maps Discover on TypingMind?

Because you install it once and use it with any model. 02 Apify Maps Discover is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 02 Apify Maps Discover in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Zevenue/headless-gtm/tree/main/skills/02-apify-maps-discover. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 02 Apify Maps Discover?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 02 Apify Maps Discover?

As many as you like. As long as a model supports skills, you can use 02 Apify Maps Discover with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 02 Apify Maps Discover AI skill free?

Yes. It is published on GitHub by Zevenue under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇