New to Claude Skills? Learn how to install them →

sickn33 on GitHub

Lead Generation

Free

Efficiently scrape leads from various platforms using Apify.

Get this skill

Free · Opens the source repo

What Lead Generation does

The Lead Generation skill enables users to extract leads from multiple online platforms through the use of Apify Actors. This skill is particularly useful for businesses, marketers, and creators looking to gather contact information or potential clients from sources such as Google Maps, social media, and video platforms. By leveraging the capabilities of Apify, users can automate the lead generation process, saving time and improving their outreach efforts.

To utilize this skill, users must first determine their desired lead source and select the appropriate Apify Actor tailored to their needs. The skill supports a variety of Actors, including those for Google Places, Instagram, TikTok, and Facebook, among others. Once the Actor is selected, users can fetch the Actor's schema to understand the required input parameters and available output fields, ensuring they can customize their lead scraping effectively.

After configuring their preferences, users can run the lead finder script to extract the data in their desired format, whether it be CSV or JSON. The skill also provides a summary of the results, including the number of leads found and key fields available, which aids in further processing or segmentation of the data. This structured approach makes it easier for users to manage their lead generation tasks and focus on converting leads into customers.

This skill is ideal for anyone involved in sales, marketing, or outreach who needs to gather leads efficiently from various online sources. By automating the lead scraping process, users can dedicate more time to engaging with potential clients rather than manually searching for leads.

When to use it

Use this skill when you need to gather leads from specific online sources, such as social media or search engines, and require structured data for outreach.

When not to use it

This skill is not suitable for tasks outside the scope of lead generation or when detailed validation of leads is required beyond what is scraped.

What you can build with it

Gathering Local Business Leads

Use the Google Places Actor to scrape contact information for local businesses, such as restaurants and gyms.

Extracting Social Media Contacts

Utilize the Instagram or TikTok Actors to find potential influencers or creators for partnerships.

Collecting Event Networking Opportunities

Leverage Facebook Events Actor to discover networking opportunities by extracting event attendee information.

How to install Lead Generation

View source

1. Install with the skills CLI

npx skills add sickn33/agentic-awesome-skills/apify-lead-generation --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by sickn33

Lead Generation

Scrape leads from multiple platforms using Apify Actors.

When to Use

  • You need business, creator, or contact leads from maps, search, social, or video platforms.
  • The task involves selecting an Apify Actor to discover prospects and extract outreach data.
  • You need exported lead data plus a concise summary of lead quality or segmentation.

Prerequisites

(No need to check it upfront)

  • .env file with APIFY_TOKEN
  • Node.js 20.6+ (for native --env-file support)
  • mcpc CLI tool: npm install -g @apify/mcpc

Workflow

Copy this checklist and track progress:

Task Progress:
- [ ] Step 1: Determine lead source (select Actor)
- [ ] Step 2: Fetch Actor schema via mcpc
- [ ] Step 3: Ask user preferences (format, filename)
- [ ] Step 4: Run the lead finder script
- [ ] Step 5: Summarize results

Step 1: Determine Lead Source

Select the appropriate Actor based on user needs:

User NeedActor IDBest For
Local businessescompass/crawler-google-placesRestaurants, gyms, shops
Contact enrichmentvdrmota/contact-info-scraperEmails, phones from URLs
Instagram profilesapify/instagram-profile-scraperInfluencer discovery
Instagram posts/commentsapify/instagram-scraperPosts, comments, hashtags, places
Instagram searchapify/instagram-search-scraperPlaces, users, hashtags discovery
TikTok videos/hashtagsclockworks/tiktok-scraperComprehensive TikTok data extraction
TikTok hashtags/profilesclockworks/free-tiktok-scraperFree TikTok data extractor
TikTok user searchclockworks/tiktok-user-search-scraperFind users by keywords
TikTok profilesclockworks/tiktok-profile-scraperCreator outreach
TikTok followers/followingclockworks/tiktok-followers-scraperAudience analysis, segmentation
Facebook pagesapify/facebook-pages-scraperBusiness contacts
Facebook page contactsapify/facebook-page-contact-informationExtract emails, phones, addresses
Facebook groupsapify/facebook-groups-scraperBuying intent signals
Facebook eventsapify/facebook-events-scraperEvent networking, partnerships
Google Searchapify/google-search-scraperBroad lead discovery
YouTube channelsstreamers/youtube-scraperCreator partnerships
Google Maps emailspoidata/google-maps-email-extractorDirect email extraction

Step 2: Fetch Actor Schema

Fetch the Actor's input schema and details dynamically using mcpc:

export $(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"

Replace ACTOR_ID with the selected Actor (e.g., compass/crawler-google-places).

This returns:

  • Actor description and README
  • Required and optional input parameters
  • Output fields (if available)

Step 3: Ask User Preferences

Before running, ask:

  1. Output format:
    • Quick answer - Display top few results in chat (no file saved)
    • CSV - Full export with all fields
    • JSON - Full export in JSON format
  2. Number of results: Based on character of use case

Step 4: Run the Script

Quick answer (display in chat, no file):

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT'

CSV:

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.csv \
  --format csv

JSON:

node --env-file=.env ${CLAUDE_PLUGIN_ROOT}/reference/scripts/run_actor.js \
  --actor "ACTOR_ID" \
  --input 'JSON_INPUT' \
  --output YYYY-MM-DD_OUTPUT_FILE.json \
  --format json

Step 5: Summarize Results

After completion, report:

  • Number of leads found
  • File location and name
  • Key fields available
  • Suggested next steps (filtering, enrichment)

Error Handling

APIFY_TOKEN not found - Ask user to create .env with APIFY_TOKEN=your_token mcpc not found - Ask user to install npm install -g @apify/mcpc Actor not found - Check Actor ID spelling Run FAILED - Ask user to check Apify console link in error output Timeout - Reduce input size or increase --timeout

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Frequently asked questions about Lead Generation

Similar skills