Linkedin Profile Scraper logo

Linkedin Profile Scraper

Community
kevinbadi
linkedin-profile-scraper

Search and scrape LinkedIn profiles using Apify HarvestAPI actor (no cookies needed). Search by keyword, title, company, location. Stores leads in database with full profile details. Trigger when asked to find LinkedIn leads, search LinkedIn profiles, or scrape LinkedIn for prospects.

Overview

Publisherkevinbadi
Repositoryai-os-skills
Skill namelinkedin-profile-scraper
Stars
73
Forks
29
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kevinbadi on GitHub. Read the source before you install it.

Installation

Install the Linkedin Profile Scraper AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kevinbadi/ai-os-skills/tree/main/linkedin-profile-scraper
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinbadi/ai-os-skills.git /tmp/ai-os-skills
mkdir -p .claude/skills
cp -r /tmp/ai-os-skills/linkedin-profile-scraper .claude/skills/linkedin-profile-scraper
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Linkedin Profile Scraper in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Linkedin Profile Scraper on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Linkedin Profile Scraper is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

LinkedIn Profile Search Scraper (Apify)

Search LinkedIn profiles and extract detailed information using the Apify harvestapi/linkedin-profile-search actor (ID: M2FMdjRVeF1HPGFcc). No cookies or LinkedIn account required.

How to Run

bash
# Keyword search (e.g., find agency founders)
node skills/linkedin-profile-scraper/scripts/apify-linkedin-search.js \
    --query "agency founder" --max 100

# Keyword + location filter
node skills/linkedin-profile-scraper/scripts/apify-linkedin-search.js \
    --query "marketing manager" --location "Austin" --max 50

# Full profile mode (more details, $4/1k)
node skills/linkedin-profile-scraper/scripts/apify-linkedin-search.js \
    --query "CEO" --mode full --max 50

# Full profile + email search ($10/1k)
node skills/linkedin-profile-scraper/scripts/apify-linkedin-search.js \
    --query "founder" --mode email --max 25 --campaign "founder_outreach"

# Dry run (no DB writes)
node skills/linkedin-profile-scraper/scripts/apify-linkedin-search.js \
    --query "developer" --dry-run

Arguments

OptionDescriptionDefault
--querySearch keywords (e.g., "agency founder")-
--locationFilter by location (city/country)-
--maxMax profiles to return100
--modeScraping depth (search/full/email)search
--campaignCampaign name for DB trackinglinkedin_search
--dry-runPreview leads without storingfalse

Modes & Pricing

ModeDescriptionCost
searchSearch page results (basic info)$0.10 per page (25 profiles)
fullFull profile details$4 per 1,000 profiles
emailFull profile + email search$10 per 1,000 profiles

Environment Variables

env
APIFY_API_KEY=xxx        # Required - Apify API token
DATABASE_URL=xxx         # Required - PostgreSQL connection string

Apify Actor

ActorIDFeatures
LinkedIn Profile Search ScraperM2FMdjRVeF1HPGFccNo cookies, keyword search, email lookup
DeveloperHarvestAPI

Output Per Profile

json
{
  "publicIdentifier": "john-doe-123",
  "linkedinUrl": "https://www.linkedin.com/in/john-doe-123",
  "firstName": "John",
  "lastName": "Doe",
  "headline": "Founder & CEO at Acme Agency",
  "location": {
    "linkedinText": "San Francisco, CA",
    "parsed": { "city": "San Francisco", "country": "United States" }
  },
  "connectionsCount": 500,
  "premium": false,
  "openToWork": true,
  "currentPosition": [{ "companyName": "Acme Agency", "title": "Founder" }],
  "email": "john@example.com"  // Only in email mode
}

Database

Stores in linkedin_leads table (deduped by public_identifier):

ColumnDescription
public_identifierLinkedIn username (unique)
linkedin_urlFull profile URL
first_name, last_nameName
headlineJob headline
location, location_city, location_countryLocation info
current_company, current_titleCurrent job
connections_count, follower_countNetwork size
is_open_to_work, is_hiringStatus flags
emailFound email (email mode only)
campaign_nameCampaign identifier
contacted, connection_sent, dm_successOutreach tracking

Notes

  • LinkedIn limits search results to ~2,500 per query
  • For larger datasets, split by location or use more specific keywords
  • Email search performs SMTP validation; not guaranteed for every profile
  • Auto-skips own accounts (loaded from onboarding-config.json)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Linkedin Profile Scraper AI skill do?

Search and scrape LinkedIn profiles using Apify HarvestAPI actor (no cookies needed). Search by keyword, title, company, location. Stores leads in database with full profile details. Trigger when asked to find LinkedIn leads, search LinkedIn profiles, or scrape LinkedIn for prospects.

Why use Linkedin Profile Scraper on TypingMind?

Because you install it once and use it with any model. Linkedin Profile Scraper is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Linkedin Profile Scraper in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kevinbadi/ai-os-skills/tree/main/linkedin-profile-scraper. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Linkedin Profile Scraper?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Linkedin Profile Scraper?

As many as you like. As long as a model supports skills, you can use Linkedin Profile Scraper with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Linkedin Profile Scraper AI skill free?

It is published on GitHub by kevinbadi. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇