[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-36e80e19-3ab1-43f5-8438-d0107cf65b2a":3,"$fYut75FoD69DDQOSCM2tQTluyNWrp22U9y5uO02d8Iv8":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"36e80e19-3ab1-43f5-8438-d0107cf65b2a","apify-lead-generation","使用Apify Actors从多个平台抓取线索。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: apify-lead-generation\ndescription: \"Scrape leads from multiple platforms using Apify Actors.\"\nrisk: unknown\nsource: community\n---\n\n# Lead Generation\n\nScrape leads from multiple platforms using Apify Actors.\n\n## When to Use\n- You need business, creator, or contact leads from maps, search, social, or video platforms.\n- The task involves selecting an Apify Actor to discover prospects and extract outreach data.\n- You need exported lead data plus a concise summary of lead quality or segmentation.\n\n## Prerequisites\n(No need to check it upfront)\n\n- `.env` file with `APIFY_TOKEN`\n- Node.js 20.6+ (for native `--env-file` support)\n- `mcpc` CLI tool: `npm install -g @apify\u002Fmcpc`\n\n## Workflow\n\nCopy this checklist and track progress:\n\n```\nTask Progress:\n- [ ] Step 1: Determine lead source (select Actor)\n- [ ] Step 2: Fetch Actor schema via mcpc\n- [ ] Step 3: Ask user preferences (format, filename)\n- [ ] Step 4: Run the lead finder script\n- [ ] Step 5: Summarize results\n```\n\n### Step 1: Determine Lead Source\n\nSelect the appropriate Actor based on user needs:\n\n| User Need | Actor ID | Best For |\n|-----------|----------|----------|\n| Local businesses | `compass\u002Fcrawler-google-places` | Restaurants, gyms, shops |\n| Contact enrichment | `vdrmota\u002Fcontact-info-scraper` | Emails, phones from URLs |\n| Instagram profiles | `apify\u002Finstagram-profile-scraper` | Influencer discovery |\n| Instagram posts\u002Fcomments | `apify\u002Finstagram-scraper` | Posts, comments, hashtags, places |\n| Instagram search | `apify\u002Finstagram-search-scraper` | Places, users, hashtags discovery |\n| TikTok videos\u002Fhashtags | `clockworks\u002Ftiktok-scraper` | Comprehensive TikTok data extraction |\n| TikTok hashtags\u002Fprofiles | `clockworks\u002Ffree-tiktok-scraper` | Free TikTok data extractor |\n| TikTok user search | `clockworks\u002Ftiktok-user-search-scraper` | Find users by keywords |\n| TikTok profiles | `clockworks\u002Ftiktok-profile-scraper` | Creator outreach |\n| TikTok followers\u002Ffollowing | `clockworks\u002Ftiktok-followers-scraper` | Audience analysis, segmentation |\n| Facebook pages | `apify\u002Ffacebook-pages-scraper` | Business contacts |\n| Facebook page contacts | `apify\u002Ffacebook-page-contact-information` | Extract emails, phones, addresses |\n| Facebook groups | `apify\u002Ffacebook-groups-scraper` | Buying intent signals |\n| Facebook events | `apify\u002Ffacebook-events-scraper` | Event networking, partnerships |\n| Google Search | `apify\u002Fgoogle-search-scraper` | Broad lead discovery |\n| YouTube channels | `streamers\u002Fyoutube-scraper` | Creator partnerships |\n| Google Maps emails | `poidata\u002Fgoogle-maps-email-extractor` | Direct email extraction |\n\n### Step 2: Fetch Actor Schema\n\nFetch the Actor's input schema and details dynamically using mcpc:\n\n```bash\nexport $(grep APIFY_TOKEN .env | xargs) && mcpc --json mcp.apify.com --header \"Authorization: Bearer $APIFY_TOKEN\" tools-call fetch-actor-details actor:=\"ACTOR_ID\" | jq -r \".content\"\n```\n\nReplace `ACTOR_ID` with the selected Actor (e.g., `compass\u002Fcrawler-google-places`).\n\nThis returns:\n- Actor description and README\n- Required and optional input parameters\n- Output fields (if available)\n\n### Step 3: Ask User Preferences\n\nBefore running, ask:\n1. **Output format**:\n   - **Quick answer** - Display top few results in chat (no file saved)\n   - **CSV** - Full export with all fields\n   - **JSON** - Full export in JSON format\n2. **Number of results**: Based on character of use case\n\n### Step 4: Run the Script\n\n**Quick answer (display in chat, no file):**\n```bash\nnode --env-file=.env ${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fscripts\u002Frun_actor.js \\\n  --actor \"ACTOR_ID\" \\\n  --input 'JSON_INPUT'\n```\n\n**CSV:**\n```bash\nnode --env-file=.env ${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fscripts\u002Frun_actor.js \\\n  --actor \"ACTOR_ID\" \\\n  --input 'JSON_INPUT' \\\n  --output YYYY-MM-DD_OUTPUT_FILE.csv \\\n  --format csv\n```\n\n**JSON:**\n```bash\nnode --env-file=.env ${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fscripts\u002Frun_actor.js \\\n  --actor \"ACTOR_ID\" \\\n  --input 'JSON_INPUT' \\\n  --output YYYY-MM-DD_OUTPUT_FILE.json \\\n  --format json\n```\n\n### Step 5: Summarize Results\n\nAfter completion, report:\n- Number of leads found\n- File location and name\n- Key fields available\n- Suggested next steps (filtering, enrichment)\n\n## Error Handling\n\n`APIFY_TOKEN not found` - Ask user to create `.env` with `APIFY_TOKEN=your_token`\n`mcpc not found` - Ask user to install `npm install -g @apify\u002Fmcpc`\n`Actor not found` - Check Actor ID spelling\n`Run FAILED` - Ask user to check Apify console link in error output\n`Timeout` - Reduce input size or increase `--timeout`\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,96,1121,"2026-05-16 13:03:51",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"80bbb1ff-af0e-4ca5-8d1d-5c76ae84b545","1.0.0","apify-lead-generation.zip",5753,"uploads\u002Fskills\u002F36e80e19-3ab1-43f5-8438-d0107cf65b2a\u002Fapify-lead-generation.zip","c5ef09e4305180eee450316c6ccb08043f7f382eba71be61ff40a8d095282aaa","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":4854},{\"path\":\"reference\u002Fscripts\u002Frun_actor.js\",\"isDirectory\":false,\"size\":11746}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]