Communitygithub.com

aiagentwithdhruv/skills

通过深度网站丰富和联系方式提取,从Google Maps抓取B2B潜在客户。当用户要求查找本地企业、抓取Google Maps、生成承包商列表或构建本地服务业务数据库时使用。

skills 是什么?

该技能专为AI代理设计,用于自动化Google Maps上的B2B潜在客户生成。它通过Apify抓取Google Maps列表,对每个商户网站进行深度爬取和联系人信息提取,并利用Claude 3.5 Haiku模型进行结构化数据抽取,最终将结果同步到Google Sheets。它支持并行处理、现有表格追加、重复数据删除等功能,适用于构建本地服务业务数据库。默认配置下,每个潜在客户的成本约为0.012至0.022美元,非常适合中小规模的营销和销售线索挖掘。该技能可与其他链式技能(如客户分类、名称规范化、营销活动启动)无缝集成,形成完整的潜在客户处理管道。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aiagentwithdhruv/skills/tree/HEAD/gmaps-leads

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Google Maps 潜在客户生成

目标

从Google Maps生成高质量的B2B潜在客户,并通过爬取网站及使用Claude提取结构化联系方式,实现深度联系人丰富。

输入

参数必填描述
--search是搜索查询(例如:"plumbers in Austin TX")
--limit否最大结果数(默认:10)
--sheet-url否要追加到的现有表格
--workers否并行工作线程数(默认:3)

脚本

  • ./scripts/gmaps_lead_pipeline.py - 主编排
  • ./scripts/gmaps_parallel_pipeline.py - 并行版本
  • ./scripts/scrape_google_maps.py - Google Maps 抓取器
  • ./scripts/extract_website_contacts.py - 网站联系人提取器
  • ./scripts/update_sheet.py - Google Sheets 同步

流程

基本用法

# 创建包含10个潜在客户的新表格
python3 ./scripts/gmaps_lead_pipeline.py --search "plumbers in Austin TX" --limit 10

# 追加到现有表格(建议用于构建数据库)
python3 ./scripts/gmaps_lead_pipeline.py --search "dentists in Miami FL" --limit 25 \
  --sheet-url "https://docs.google.com/spreadsheets/d/..."

# 更高数量级
python3 ./scripts/gmaps_lead_pipeline.py --search "roofing contractors in Austin TX" \
  --limit 50 --workers 5

管道步骤

  1. Google Maps 抓取 - Apify 的 compass/crawler-google-places 返回列表
  2. 网站抓取 - 获取主页及最多5个联系页面
  3. 网络搜索丰富 - DuckDuckGo 搜索业主联系信息
  4. Claude 提取 - Claude 3.5 Haiku 提取结构化联系人信息
  5. Google Sheets 同步 - 追加新的潜在客户,通过 lead_id 去重

输出架构(36个字段)

企业基本信息: business_name, category, address, city, state, zip_code, phone, website, rating, review_count

提取的联系信息: emails, additional_phones, business_hours

社交媒体: facebook, twitter, linkedin, instagram, youtube, tiktok

业主信息: owner_name, owner_title, owner_email, owner_phone, owner_linkedin

团队成员: JSON 数组形式的团队成员

元数据: lead_id, scraped_at, search_query, pages_scraped, enrichment_status

成本

组件每个潜在客户
Apify Google Maps~$0.01-0.02
Claude Haiku~$0.002
DuckDuckGo/HTTP免费
总计~$0.012-0.022

100个潜在客户总计:约$1.50-2.50

故障排除

  • "未找到企业":在查询中包含位置信息
  • 403 禁止访问:约10-15%的网站会阻止爬虫(已优雅处理)
  • 认证问题:删除 token.json 并重新进行身份验证
  • 重复数据:使用 lead_id(name|address 的 MD5 哈希)进行去重

环境变量

APIFY_API_TOKEN=your_token
ANTHROPIC_API_KEY=your_key

架构

输入

名称类型必填描述
searchstring是搜索查询(例如:'plumbers in Austin TX')
limitinteger否最大结果数(默认:10)
sheet_urlstring否要追加到的现有表格
workersinteger否并行工作线程数(默认:3)

输出

名称类型描述
sheet_urlstring包含36个字段潜在客户数据的 Google Sheet URL
lead_countinteger抓取的潜在客户数量

凭据

名称来源
APIFY_API_TOKEN.env
ANTHROPIC_API_KEY.env

可链式组合

与此技能良好链式配合的技能:classify-leads、casualize-names、instantly-campaigns、onboarding-kickoff

成本

每个潜在客户 $0.012-0.022

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

aiagentwithdhruv/skills

Add new Modal webhooks for event-driven execution. Use when user asks to create a webhook, add an endpoint, or set up event triggers.

aiagentwithdhruv/skills

Answer Euron Gen AI Bootcamp doubts instantly. Covers Euri API setup across all frameworks (Python, LangChain, OpenAI SDK, TypeScript, n8n, curl), MCP server setup, common errors, model recommendations, and token limits. Use when someone in the bootcamp asks a question.

aiagentwithdhruv/skills

Manage emails across multiple Gmail accounts with unified tooling. Use when user asks to check email, read inbox, label emails, archive messages, or manage Gmail across accounts.

aiagentwithdhruv/skills

Auto-label Gmail emails into Action Required, Waiting On, and Reference categories. Use when user asks to label emails, triage inbox, categorize emails, or organize Gmail.

aiagentwithdhruv/skills

Run Claude orchestrator locally with Cloudflare tunneling. Use when user asks to run locally, start local server, or test webhooks locally.

aiagentwithdhruv/skills

MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard

aiagentwithdhruv/skills

Deploy execution scripts to Modal cloud. Use when user asks to deploy to Modal, push code to cloud, or update Modal functions.

aiagentwithdhruv/skills

Scrape and verify business leads using Apify, classify with LLM, enrich emails, and save to Google Sheets. Use when user asks to find leads, scrape businesses, generate prospect lists, or build lead databases for any industry or location.

aiagentwithdhruv/skills

Query Skool community content using RAG pipeline with vector search. Use when user asks to search Skool knowledge, find community answers, or query Skool content.

aiagentwithdhruv/skills

Scrape Upwork jobs and generate personalized proposals with cover letters. Use when user asks to find Upwork jobs, create Upwork proposals, or apply to Upwork listings.

相关技能