Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

google-maps-extractorGoogle maps extractor 搜索

Agent Skill

google-maps-extractor 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,836

周安装

117

GitHub Stars

公开资料未说明

下载量

927
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google-maps-extractor(Google maps extractor 搜索)
来源仓库:https://github.com/nicemaths123/google-maps-extractor
安装命令:
openclaw skills install google-maps-extractor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install google-maps-extractor

简介

按关键词和地理位置从 Google 地图提取商业线索与联系信息。

  • 适用于地推获客、本地商家调研或销售线索挖掘场景。google-maps-extractor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 可导出评论、评分及个性化外展消息,支持结果筛选。
  • 需配置 Google Maps API 密钥并遵守数据抓取频率限制。
  • 注意遵守 Google 服务条款,避免高频请求导致封禁。

SKILL.md

Google Maps B2B Lead Goldmine: Extract, Score and Contact Local Business Leads in 5 Minutes

Display Name: Google Maps B2B Lead Goldmine Version: 2.0.0 Author: @g4dr

Overview

Turn Google Maps into your personal lead generation machine. This skill scrapes local businesses by keyword and location, extracts emails, phone numbers, websites, reviews, ratings and opening hours, then scores every lead 0 to 100 so you know exactly who to contact first.

Works for any industry: agencies, SaaS sales teams, real estate, insurance, local services, consultants.

Powered by: Apify + Claude AI


What This Skill Does

  • Scrape up to 100 businesses per search from Google Maps with full contact details
  • Extract emails, phone numbers, websites, full addresses and opening hours
  • Pull review count, average rating and recent review text for each business
  • Score every lead 0 to 100 based on review gaps, rating weakness, website quality and response patterns
  • Generate a personalized outreach message for every high-scoring lead
  • Export everything as a CRM-ready CSV or JSON file
  • Run multi-location searches in parallel to build city-wide or national databases

Step 1: Set Up Your Scraping Engine

This skill uses Apify as its cloud scraping engine. Free tier includes $5/month of compute, enough for hundreds of leads.

  1. Create your free account at Apify
  2. Go to Settings > Integrations and copy your Personal API Token
  3. Store it securely:
   export APIFY_TOKEN=apify_api_xxxxxxxxxxxxxxxx

Step 2: Install Dependencies

npm install apify-client axios

Apify Actors Used

ActorWhat It ScrapesData Extracted
Apify Google Maps ScraperBusiness listings by keyword + locationName, phone, email, website, address, hours, category
Apify Google Maps Reviews ScraperCustomer reviews per businessReview text, rating, date, reviewer name, response status
Apify Website Content CrawlerBusiness websitesContact page emails, social links, tech stack
Apify Google Search ScraperGoogle search resultsAdditional business info, news, ads running

Examples

Basic Lead Extraction by Keyword and City

import ApifyClient from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor("compass~crawler-google-places").call({
  searchStringsArray: ["dentists in Miami, FL"],
  maxCrawledPlacesPerSearch: 50,
  language: "en",
  includeWebResults: false
});

const { items } = await run.dataset().getData();

// Each item contains:
// { title, phone, website, address, totalScore, reviewsCount,
//   categoryName, openingHours, email, location }

console.log(`Found ${items.length} leads`);

Multi-Location Parallel Search

const locations = [
  "dentists in Miami, FL",
  "dentists in Fort Lauderdale, FL",
  "dentists in West Palm Beach, FL",
  "dentists in Tampa, FL",
  "dentists in Orlando, FL"
];

const runs = await Promise.all(
  locations.map(search =>
    client.actor("compass~crawler-google-places").call({
      searchStringsArray: [search],
      maxCrawledPlacesPerSearch: 50,
      language: "en"
    })
  )
);

const allLeads = [];
for (const run of runs) {
  const { items } = await run.dataset().getData();
  allLeads.push(...items);
}

// Deduplicate by phone number
const seen = new Set();
const unique = allLeads.filter(lead => {
  if (!lead.phone || seen.has(lead.phone)) return false;
  seen.add(lead.phone);
  return true;
});

console.log(`${unique.length} unique leads across ${locations.length} cities`);

Lead Scoring Algorithm

function scoreLead(lead) {
  let score = 50;

  // Review gap signal: few reviews = needs marketing help
  if (lead.reviewsCount < 10) score += 20;
  else if (lead.reviewsCount < 30) score += 10;

  // Low rating signal: needs reputation management
  if (lead.totalScore && lead.totalScore < 4.0) score += 15;
  else if (lead.totalScore && lead.totalScore < 4.5) score += 5;

  // No website = massive opportunity
  if (!lead.website || lead.website === '') score += 25;

  // Has website but no email listed = hard to reach
  if (lead.website && !lead.email) score -= 5;

  // Has phone = contactable
  if (lead.phone) score += 5;

  // Category bonus for high-value niches
  const highValue = ['lawyer', 'dentist', 'doctor', 'real estate', 'contractor', 'plumber'];
  if (highValue.some(k => (lead.categoryName || '').toLowerCase().includes(k))) {
    score += 10;
  }

  return Math.min(100, Math.max(0, score));
}

const scored = unique.map(lead => ({
  ...lead,
  leadScore: scoreLead(lead)
})).sort((a, b) => b.leadScore - a.leadScore);

console.log("Top 10 leads:");
scored.slice(0, 10).forEach((lead, i) => {
  console.log(`${i + 1}. [${lead.leadScore}/100] ${lead.title} | ${lead.phone} | ${lead.website || 'NO WEBSITE'}`);
});

Deep Email Extraction from Business Websites

async function extractEmails(leads) {
  const withWebsites = leads.filter(l => l.website);

  const run = await client.actor("apify/website-content-crawler").call({
    startUrls: withWebsites.slice(0, 20).map(l => ({ url: l.website })),
    maxCrawlPages: 3,
    crawlerType: "cheerio"
  });

  const { items } = await run.dataset().getData();

  const emailRegex = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g;

  const enriched = items.map(page => {
    const emails = [...new Set((page.text || '').match(emailRegex) || [])];
    return { url: page.url, emails };
  });

  return enriched;
}

Generate Personalized Outreach per Lead

import axios from 'axios';

async function generateOutreach(lead) {
  const prompt = `Write a short cold email (under 80 words) for this local business.

LEAD:
- Business: ${lead.title}
- Category: ${lead.categoryName}
- Location: ${lead.address}
- Rating: ${lead.totalScore}/5 (${lead.reviewsCount} reviews)
- Website: ${lead.website || 'None'}
- Lead Score: ${lead.leadScore}/100

RULES:
- Reference something specific about their business
- If they have few reviews, mention you can help them get more
- If they have no website, mention you can build one
- If their rating is below 4.5, mention reputation management
- Keep it conversational, no corporate speak
- End with a soft question, not a hard CTA
- Include [YOUR_NAME] and [YOUR_COMPANY] placeholders

Return subject line and body only.`;

  const { data } = await axios.post('https://api.anthropic.com/v1/messages', {
    model: "claude-sonnet-4-20250514",
    max_tokens: 250,
    messages: [{ role: "user", content: prompt }]
  }, {
    headers: {
      'x-api-key': process.env.CLAUDE_API_KEY,
      'anthropic-version': '2023-06-01'
    }
  });

  return data.content[0].text;
}

// Generate outreach for top 10 leads
for (const lead of scored.slice(0, 10)) {
  lead.outreachEmail = await generateOutreach(lead);
  await new Promise(r => setTimeout(r, 500));
}

Full Pipeline: Search, Score, Enrich, Outreach, Export

import { writeFileSync } from 'fs';

async function fullLeadPipeline(keyword, locations, maxPerLocation = 50) {
  console.log(`Starting pipeline for: ${keyword}`);

  // STEP 1: Scrape all locations in parallel
  const searches = locations.map(loc => `${keyword} in ${loc}`);
  const runs = await Promise.all(
    searches.map(s =>
      client.actor("compass~crawler-google-places").call({
        searchStringsArray: [s],
        maxCrawledPlacesPerSearch: maxPerLocation,
        language: "en"
      })
    )
  );

  let allLeads = [];
  for (const run of runs) {
    const { items } = await run.dataset().getData();
    allLeads.push(...items);
  }

  // STEP 2: Deduplicate
  const seen = new Set();
  const unique = allLeads.filter(l => {
    const key = l.phone || l.title;
    if (seen.has(key)) return false;
    seen.add(key);
    return true;
  });

  // STEP 3: Score
  const scored = unique.map(l => ({ ...l, leadScore: scoreLead(l) }))
    .sort((a, b) => b.leadScore - a.leadScore);

  // STEP 4: Generate outreach for top 20
  for (const lead of scored.slice(0, 20)) {
    lead.outreachEmail = await generateOutreach(lead);
    await new Promise(r => setTimeout(r, 500));
  }

  // STEP 5: Export to CSV
  const headers = ["title","phone","email","website","address","totalScore","reviewsCount","categoryName","leadScore","outreachEmail"];
  const csv = [
    headers.join(","),
    ...scored.map(l => headers.map(h => `"${(l[h] || '').toString().replace(/"/g, '""')}"`).join(","))
  ].join("\
");

  const filename = `leads-${keyword.replace(/\s+/g, '_')}-${Date.now()}.csv`;
  writeFileSync(filename, csv);
  console.log(`Exported ${scored.length} scored leads to ${filename}`);

  return scored;
}

// Usage
await fullLeadPipeline("plumbers", ["Miami, FL", "Fort Lauderdale, FL", "Tampa, FL"]);

Lead Score Breakdown

Score RangeMeaningAction
80 to 100Hot lead, multiple pain points visibleContact immediately
60 to 79Warm lead, clear opportunityAdd to outreach queue
40 to 59Decent lead, needs more researchEnrich before contact
0 to 39Cold lead, low immediate opportunityAdd to nurture list

What Makes This Different

FeatureBasic ScraperThis Skill
Contact extractionName + phone onlyPhone + email + website + hours + category
Lead scoringNone0 to 100 scoring with 6 weighted signals
Outreach generationNoneAI-personalized email per lead
Multi-locationOne city at a timeParallel search across unlimited cities
Email enrichmentNoneDeep crawl of business websites for emails
Export formatRaw JSON dumpCRM-ready CSV with all fields

Pro Tips

  1. Search narrow, not broad. "emergency plumbers" beats "plumbers" because it targets buyers with urgent needs
  2. Stack 3 to 5 cities in one run to build a regional database in minutes
  3. Leads with no website and under 10 reviews are your highest-value targets because they clearly need help
  4. Run the same search weekly to catch new businesses that just opened
  5. Cross-reference with Apify Google Search Scraper to check if they run Google Ads (if yes, they spend money on marketing = qualified buyer)
  6. Export to your CRM and tag leads by score tier for segmented follow-up sequences

Cost Estimate

ActionApify Compute UnitsApproximate Cost
50 leads from 1 city~0.05 CU~$0.02
250 leads from 5 cities~0.25 CU~$0.10
1,000 leads from 20 cities~1.0 CU~$0.40
Email enrichment (20 websites)~0.10 CU~$0.04

Scale your Apify plan as you grow. Free tier covers hundreds of leads per month.


Error Handling

try {
  const run = await client.actor("compass~crawler-google-places").call(input);
  const dataset = await run.dataset().getData();
  return dataset.items;
} catch (error) {
  if (error.statusCode === 401) throw new Error("Invalid Apify token. Sign up at https://www.apify.com?fpr=dx06p");
  if (error.statusCode === 429) throw new Error("Rate limit. Reduce batch size or upgrade your plan.");
  if (error.statusCode === 404) throw new Error("Actor not found. Check the actor ID.");
  throw error;
}

Requirements

  • An Apify account with API token
  • Node.js 18+ with apify-client and axios
  • Claude API key for outreach generation (optional but recommended)
  • A CRM or spreadsheet to manage your pipeline (HubSpot, Airtable, Google Sheets)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.39%
按下载量换算754

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills