[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EAF1WP5KQY1RNS1SR02WZP":3,"skill-same:01M6EAF1WP5KQY1RNS1SR02WZP":122},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6EAF1WP5KQY1RNS1SR02WZP","gmaps-lead-generation",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHarmeet10000\u002Fskills\u002Fgmaps-lead-generation\u002FSKILL.md",[],[18,19,20],"generation","lead generation","gmaps lead generation","2026-11-10 10:12:30",false,"# Google Maps Lead Generation\n\nGenerate high-quality B2B leads from Google Maps with deep contact enrichment.\n\n## Overview\n\nThis pipeline scrapes Google Maps for businesses, then enriches each result by:\n1. Scraping their website (main page + up to 5 contact pages)\n2. Searching DuckDuckGo for additional contact info\n3. Using Claude to extract structured contact data from all sources\n\n**Tested at scale**: 50+ leads per run, 68 total leads across plumbers, electricians, HVAC, and roofing contractors.\n\n## When to Use\n\n- Building outbound sales lists for local service businesses\n- Generating leads for B2B services (contractors, medical, legal, etc.)\n- Researching businesses in a specific geographic area\n- Creating prospecting lists with verified contact info\n\n## Inputs\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `--search` | Yes | Search query (e.g., \"plumbers in Austin TX\") |\n| `--limit` | No | Max results to scrape (default: 10) |\n| `--location` | No | Additional location filter |\n| `--sheet-url` | No | Existing Google Sheet to append to |\n| `--sheet-name` | No | Name for new sheet if creating |\n| `--workers` | No | Parallel workers for enrichment (default: 3) |\n\n## Execution\n\n```bash\n# Basic usage - creates new sheet\npython3 execution\u002Fgmaps_lead_pipeline.py --search \"plumbers in Austin TX\" --limit 10\n\n# Append to existing sheet (recommended for building lead database)\npython3 execution\u002Fgmaps_lead_pipeline.py --search \"dentists in Miami FL\" --limit 25 \\\n  --sheet-url \"https:\u002F\u002Fdocs.google.com\u002Fspreadsheets\u002Fd\u002F...\"\n\n# Higher volume run\npython3 execution\u002Fgmaps_lead_pipeline.py --search \"roofing contractors in Austin TX\" \\\n  --limit 50 --workers 5\n```\n\n## Output Schema (36 fields)\n\n### Business Basics (from Google Maps)\n- `business_name`, `category`, `address`, `city`, `state`, `zip_code`, `country`\n- `phone`, `website`, `google_maps_url`, `place_id`\n- `rating`, `review_count`, `price_level`\n\n### Extracted Contacts (from website + web search + Claude)\n- `emails` - All email addresses found (comma-separated)\n- `additional_phones` - Phone numbers from website\n- `business_hours` - Operating hours\n\n### Social Media\n- `facebook`, `twitter`, `linkedin`, `instagram`, `youtube`, `tiktok`\n\n### Owner\u002FKey Person Info\n- `owner_name`, `owner_title`, `owner_email`, `owner_phone`, `owner_linkedin`\n\n### Team Contacts\n- `team_contacts` - JSON array of team members with name, title, email, phone, linkedin\n\n### Metadata\n- `lead_id` - Unique identifier (MD5 hash of name|address, for deduplication)\n- `scraped_at` - ISO timestamp\n- `search_query` - Original search term used\n- `pages_scraped` - Number of pages fetched (1 main + up to 5 contact pages)\n- `search_enriched` - Whether DuckDuckGo search was used (yes\u002Fno)\n- `enrichment_status` - success\u002Fpartial\u002Ferror\n\n## Pipeline Steps\n\n1. **Google Maps Scrape** - Apify `compass\u002Fcrawler-google-places` actor returns business listings with basic info\n2. **Website Scraping** - Fetches main page + up to 5 prioritized contact pages (\u002Fcontact, \u002Fabout, \u002Fteam, etc.)\n3. **Web Search Enrichment** - DuckDuckGo search for `\"{business}\" owner email contact` + scrapes first relevant result\n4. **Claude Extraction** - Claude 3.5 Haiku extracts structured contacts from all gathered content\n5. **Google Sheet Sync** - Appends new leads, automatically deduplicates by `lead_id`\n\n## Contact Page Patterns (22 total, priority-ordered)\n\nHigh priority: `\u002Fcontact`, `\u002Fabout`, `\u002Fteam`, `\u002Fcontact-us`, `\u002Fabout-us`, `\u002Four-team`\nMedium: `\u002Fstaff`, `\u002Fpeople`, `\u002Fmeet-the-team`, `\u002Fleadership`, `\u002Fmanagement`, `\u002Ffounders`, `\u002Fwho-we-are`\nLower: `\u002Fcompany`, `\u002Fmeet-us`, `\u002Four-story`, `\u002Fthe-team`, `\u002Femployees`, `\u002Fdirectory`, `\u002Flocations`, `\u002Foffices`\n\n## Cost Considerations\n\n| Component | Cost per lead |\n|-----------|---------------|\n| Apify Google Maps | ~$0.01-0.02 |\n| Claude Haiku extraction | ~$0.002 |\n| DuckDuckGo search | Free |\n| HTTP requests (6-7 pages) | Free |\n| Google Sheets | Free |\n| **Total** | **~$0.012-0.022** |\n\n**For 100 leads**: ~$1.50-2.50 total\n\nThe pipeline maximizes value per Apify dollar by scraping 6+ pages + web search per business.\n\n## Dependencies\n\n```\napify-client\nhttpx\nhtml2text\nanthropic\ngspread\ngoogle-auth\ngoogle-auth-oauthlib\npython-dotenv\n```\n\n## Files\n\n- `execution\u002Fgmaps_lead_pipeline.py` - Main orchestration script\n- `execution\u002Fscrape_google_maps.py` - Google Maps scraper (standalone)\n- `execution\u002Fextract_website_contacts.py` - Website contact extractor (standalone)\n\n## Troubleshooting\n\n### \"No businesses found\"\n- Check search query is valid\n- Include location in query (e.g., \"plumbers in Austin, TX\" not just \"plumbers\")\n\n### 403 Forbidden errors\n- ~10-15% of sites block scrapers with 403\u002F503 errors\n- These are handled gracefully and marked as errors in `enrichment_status`\n- The lead is still saved with Google Maps data (phone, address, etc.)\n\n### \"Could not fetch website\"\n- Some sites have broken DNS or are offline\n- Marked as `error` in enrichment_status\n- Reduce `--workers` if seeing many timeouts\n\n### \"APIFY_API_TOKEN not found\"\n- Ensure `.env` file has valid Apify token\n- Check token hasn't expired at apify.com\n\n### Google Sheet auth issues\n- Delete `token.json` and re-authenticate\n- Ensure `credentials.json` is valid OAuth client\n\n### Duplicate detection\n- Pipeline uses `lead_id` (MD5 of name|address) to skip existing leads\n- Running same search twice will show \"No new leads to add (all duplicates)\"\n\n## Learnings\n\n- Google Maps actor returns `website` field directly - no need to scrape for it\n- Contact pages commonly use \u002Fcontact, \u002Fabout, \u002Fteam URL patterns\n- Claude Haiku is sufficient for extraction and costs 10x less than Sonnet\n- ~10-15% of business websites return 403\u002F503 errors - this is normal\n- Facebook URLs always fail with 400 errors (blocks scrapers)\n- Some sites have broken DNS - handled gracefully as errors\n- DuckDuckGo HTML search is free and doesn't block (unlike Google)\n- `stringify_value()` helper needed because Claude sometimes returns dicts instead of strings\n- Deduplication by lead_id prevents re-adding existing businesses across runs\n- 50 leads takes ~3-4 minutes with 3 workers\n\n## Production Sheet\n\nActive lead database: https:\u002F\u002Fdocs.google.com\u002Fspreadsheets\u002Fd\u002F1ATrOiq3wfph8Or5BE8VCybgvqK5gh7hVPWiSlgb3QiU\n\nContains: plumbers, electricians, HVAC contractors, roofing contractors (Austin TX)\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FHarmeet10000\u002Fskills\u002Fgmaps-lead-generation",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill gmaps-lead-generation",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill gmaps-lead-generation",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill gmaps-lead-generation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHarmeet10000\u002Fskills\u002Fgmaps-lead-generation\u002FSKILL.md",true,[48,54,58,64,70,74,78,82,86,90,94,98,102,106,110,114,118],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"BENCHMARK.md","REFERENCE","参考文档",4385,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002FBENCHMARK.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"evals\u002Fconfig.yml",1175,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Fconfig.yml",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"evals\u002Fenvironment\u002FDockerfile","OTHER","其他",1433,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Fenvironment\u002FDockerfile",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"evals\u002Fenvironment\u002Fsetup\u002Fbootstrap.sh","SCRIPT","脚本",1226,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Fenvironment\u002Fsetup\u002Fbootstrap.sh",{"path":71,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fevals.json",2491,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Fevals.json",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Ftargets\u002Feval_1_target.py",6720,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Ftargets\u002Feval_1_target.py",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Ftargets\u002Feval_2_target.py",8484,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Ftargets\u002Feval_2_target.py",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Ftargets\u002Ftest\u002Feval_1_test_target.py",5693,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Ftargets\u002Ftest\u002Feval_1_test_target.py",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Ftargets\u002Ftest\u002Feval_2_test_target.py",6567,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fevals\u002Ftargets\u002Ftest\u002Feval_2_test_target.py",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fmethod-templates.py",12915,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Freferences\u002Fmethod-templates.py",{"path":95,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fpr-body-template.md",2496,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Freferences\u002Fpr-body-template.md",{"path":99,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fpr-comment-template.md",2217,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Freferences\u002Fpr-comment-template.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fskeleton-template.py",15570,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Freferences\u002Fskeleton-template.py",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Ftesting-guide.py",14061,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Freferences\u002Ftesting-guide.py",{"path":111,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fvalidation-guide.md",4935,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Freferences\u002Fvalidation-guide.md",{"path":115,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":116,"sourceHtmlUrl":117},"skill-card.md",2493,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fskill-card.md",{"path":119,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":120,"sourceHtmlUrl":121},"skill.oms.sig",7301,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-prognostic\u002Fskill.oms.sig",[123,132,141,150,156,162],{"skillNo":124,"name":125,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[129,130,131],"model","model hierarchy","model hierarchy skill",{"skillNo":133,"name":134,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[138,139,140],"MCP","zoom","zoom mcp",{"skillNo":142,"name":143,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[147,148,149,139],"sdk","zoom apps sdk","apps",{"skillNo":151,"name":152,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[152],{"skillNo":157,"name":158,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[158],{"skillNo":163,"name":164,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[164]]