New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Extract commenters from LinkedIn posts via Apify

Linkedin commenter extractor

by gooseworks-ai · MIT license · ★ 1,220 on GitHub · updated Sep 21

Linkedin commenter extractor cover

Extract commenters from LinkedIn posts via Apify. Returns commenter names, titles, LinkedIn profile URLs, and comment text.

---
name: linkedin-commenter-extractor
description: >
  Extract commenters from LinkedIn posts via Apify. Returns commenter names, titles,
  LinkedIn profile URLs, and comment text. Use to find warm leads engaging with
  relevant discussions. No LinkedIn cookies required.
---

# LinkedIn Commenter Extractor

Extract names, titles, companies, LinkedIn URLs, and comment text from people who commented on specific LinkedIn posts. Uses Apify — no LinkedIn cookies required.

## Quick Start

Requires `requests` and `APIFY_API_TOKEN` environment variable.

```bash
# Extract commenters from a single post

Overview

Extract names, titles, companies, LinkedIn URLs, and comment text from people who commented on specific LinkedIn posts. Uses Apify — no LinkedIn cookies required.

Manual install (npx, ZIP)
Claude Codenpx skills add gooseworks-ai/goose-skills --skill linkedin-commenter-extractor -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/gooseworks-ai/goose-skills/tar.gz/615c685f34f8 \ | tar -xz -C ~/.claude/skills --strip-components=4 goose-skills-615c685f34f8/skills/lead-generation/capabilities/linkedin-commenter-extractor
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/e3d1e47e8b1f33083000/linkedin-commenter-extractor.zip" -OutFile "$env:TEMP\linkedin-commenter-extractor.zip"; Expand-Archive "$env:TEMP\linkedin-commenter-extractor.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md2.8 KB
  • skill.meta.json279 B
  • scripts/1 file · 10.5 KB
Read the files here
gooseworks-ai/615c6853 files
SKILL.md
Show the full text77 lines
linkedin-commenter-extractor/SKILL.md77 lines · 2.8 KB

LinkedIn Commenter Extractor

Extract names, titles, companies, LinkedIn URLs, and comment text from people who commented on specific LinkedIn posts. Uses Apify — no LinkedIn cookies required.

Quick Start

Requires requests and APIFY_API_TOKEN environment variable.

# Extract commenters from a single post
python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
  --post-url "https://www.linkedin.com/posts/someone_topic-activity-123456789"

# Multiple posts
python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
  --post-url URL1 --post-url URL2

# Limit comments per post
python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
  --post-url URL --max-comments 50

# Output formats
python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py --post-url URL --output json
python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py --post-url URL --output csv
python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py --post-url URL --output summary

# Deduplicate across multiple posts
python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
  --post-url URL1 --post-url URL2 --dedup

How It Works

  1. Takes one or more LinkedIn post URLs
  2. Calls the harvestapi~linkedin-post-comments Apify actor (no cookies needed)
  3. Extracts commenter name, headline (title + company), LinkedIn profile URL, and comment text
  4. Parses headline into separate title and company fields where possible
  5. Optionally deduplicates across multiple posts by LinkedIn profile URL

CLI Reference

Flag Default Description
--post-url required LinkedIn post URL (can be repeated for multiple posts)
--max-comments 100 Max comments to extract per post
--output json Output format: json, csv, summary
--dedup false Deduplicate commenters across multiple posts
--token env var Apify API token (overrides APIFY_API_TOKEN env var)
--timeout 120 Max seconds to wait for Apify run

Output Schema

{
  "name": "Jane Smith",
  "headline": "VP of Finance at Acme Corp",
  "title": "VP of Finance",
  "company": "Acme Corp",
  "linkedin_url": "https://www.linkedin.com/in/janesmith",
  "comment_text": "Great insights on AI in accounting...",
  "post_url": "https://www.linkedin.com/posts/...",
  "profile_image_url": "https://..."
}

Cost

Uses harvestapi~linkedin-post-comments Apify actor — ~$2 per 1,000 comments. No LinkedIn cookies or login required.

1---
2name: linkedin-commenter-extractor
3description: >
4 Extract commenters from LinkedIn posts via Apify. Returns commenter names, titles,
5 LinkedIn profile URLs, and comment text. Use to find warm leads engaging with
6 relevant discussions. No LinkedIn cookies required.
7---
8 
9# LinkedIn Commenter Extractor
10 
11Extract names, titles, companies, LinkedIn URLs, and comment text from people who commented on specific LinkedIn posts. Uses Apify — no LinkedIn cookies required.
12 
13## Quick Start
14 
15Requires `requests` and `APIFY_API_TOKEN` environment variable.
16 
17```bash
18# Extract commenters from a single post
19python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
20 --post-url "https://www.linkedin.com/posts/someone_topic-activity-123456789"
21 
22# Multiple posts
23python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
24 --post-url URL1 --post-url URL2
25 
26# Limit comments per post
27python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
28 --post-url URL --max-comments 50
29 
30# Output formats
31python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py --post-url URL --output json
32python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py --post-url URL --output csv
33python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py --post-url URL --output summary
34 
35# Deduplicate across multiple posts
36python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py \
37 --post-url URL1 --post-url URL2 --dedup
38```
39 
40## How It Works
41 
421. Takes one or more LinkedIn post URLs
432. Calls the `harvestapi~linkedin-post-comments` Apify actor (no cookies needed)
443. Extracts commenter name, headline (title + company), LinkedIn profile URL, and comment text
454. Parses headline into separate title and company fields where possible
465. Optionally deduplicates across multiple posts by LinkedIn profile URL
47 
48## CLI Reference
49 
50| Flag | Default | Description |
51|------|---------|-------------|
52| `--post-url` | *required* | LinkedIn post URL (can be repeated for multiple posts) |
53| `--max-comments` | 100 | Max comments to extract per post |
54| `--output` | json | Output format: `json`, `csv`, `summary` |
55| `--dedup` | false | Deduplicate commenters across multiple posts |
56| `--token` | env var | Apify API token (overrides APIFY_API_TOKEN env var) |
57| `--timeout` | 120 | Max seconds to wait for Apify run |
58 
59## Output Schema
60 
61```json
62{
63 "name": "Jane Smith",
64 "headline": "VP of Finance at Acme Corp",
65 "title": "VP of Finance",
66 "company": "Acme Corp",
67 "linkedin_url": "https://www.linkedin.com/in/janesmith",
68 "comment_text": "Great insights on AI in accounting...",
69 "post_url": "https://www.linkedin.com/posts/...",
70 "profile_image_url": "https://..."
71}
72```
73 
74## Cost
75 
76Uses `harvestapi~linkedin-post-comments` Apify actor — ~$2 per 1,000 comments. No LinkedIn cookies or login required.
77 
View all files on GitHub →

Details

Updated
Sep 21, 2026
License
MIT
Stars on the repo
★ 1,220
Checked
Source
gooseworks-ai/goose-skills ↗
Creator
gooseworks-ai · 206 listings
View creator

Made with linkedin-commenter-extractor

Linkedin commenter extractor — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)
Linkedin commenter extractor — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)

by gooseworks-ai

Similar skills

See all →
SkillAct as the company research engine for /sales research <urlCompany Research & Firmographic Analysiszubair-trabzada/ai-sales-team-claude · by zubair-trabzadaYou are the company research engine for /sales research <url>. You produce deep, structured intelligence on a prospect company covering 8…★ 1.4k GitHub starsSkillEthical people-finding and identity verificationPrivateinvestigatordanielmiessler/LifeOS · by danielmiesslerEthical people-finding and identity verification via parallel research agents across people-search sites, social media, public records, and reverse phone/email/image/username lookups, with confidence-scored results requiring 3+ matching identifiers. USE WHEN find person, locate person, reconnect, lost contact, old friend, reverse phone lookup, who owns this email, reverse image search, find by username, verify identity, people search, public-data background check, who is this caller. NOT FOR structured due-diligence or company/entity intelligence investigations, or general web research synthesis (use Research).★ 19.3k GitHub starsSkillFree People Search to discover ICP-matching leadsApollo lead findergooseworks-ai/goose-skills · by gooseworks-aiTwo-phase Apollo.io prospecting: free People Search to discover ICP-matching leads, then selective enrichment to reveal emails/phones (credits per contact). Creates Apollo lists. Deduplicates against existing contacts by LinkedIn URL.★ 1.2k GitHub starsSkillFind decision-makers at a specific company using ApolloCompany contact findergooseworks-ai/goose-skills · by gooseworks-aiFind decision-makers at a specific company using Apollo, Crustdata, Fiber, and PDL people search via Gooseworks MCP. Given a company name and target titles, returns a list of contacts with name, title, LinkedIn URL, and location.★ 1.2k GitHub starsSkillFind company funding history, investorsCompany funding searchgooseworks-ai/goose-skills · by gooseworks-aiFind company funding history, investors, and investment details★ 1.2k GitHub starsSkillFull company intelligence reportCompany Intelligence - Comprehensive Company Reportsgooseworks-ai/goose-skills · by gooseworks-aiFull company intelligence report - overview, team, funding, products, news★ 1.2k GitHub stars

More from gooseworks-ai

SkillMine the highest-converting ad angles from customer reviewsAd angle minergooseworks-ai/goose-skills · by gooseworks-aiMine the highest-converting ad angles from customer reviews, Reddit complaints, support tickets, and competitor ads. Extracts actual pain language, competitor weaknesses, and outcome phrases that real buyers use. Outputs a ranked angle bank with proof quotes and recommended ad formats per angle.★ 1.2k GitHub starsSkillAnalyze ad campaign performance data to identify what'sAd campaign analyzergooseworks-ai/goose-skills · by gooseworks-aiAnalyze ad campaign performance data (Google, Meta, LinkedIn) to identify what's working, what's wasting budget, and specific cut/scale/test recommendations. Runs statistical analysis, funnel diagnostics, and multi-channel budget reallocation with specific dollar-amount shift recommendations and scenario modeling.★ 1.2k GitHub starsSkillFor paid lead-gen and participant-recruitment adsAd lead quality analyzergooseworks-ai/goose-skills · by gooseworks-aiFor paid lead-gen and participant-recruitment ads, replaces vanity CPA with true CAC per qualified lead by joining ad-platform data with downstream funnel events, surfaces tracking gaps, and classifies every creative into Scale / Keep / Investigate / Cut.★ 1.2k GitHub starsSkillAnalyze the message match between your ads and landing pagesAd to landing page auditorgooseworks-ai/goose-skills · by gooseworks-aiAnalyze the message match between your ads and landing pages. Checks if the promise in the ad copy carries through to the landing page headline, body, and CTA. Flags disconnects that kill conversion rates. Works with Google, Meta, and LinkedIn ads.★ 1.2k GitHub starsSkillCheck and improve your brand's visibility across AI searchAeogooseworks-ai/goose-skills · by gooseworks-aiCheck and improve your brand's visibility across AI search engines (ChatGPT, Perplexity, Gemini, Grok, Claude, DeepSeek). Set up tracking, run visibility analyses, audit your website for AI readability, and get actionable recommendations. Uses the npx goose-aeo@latest CLI.★ 1.2k GitHub starsSkillSearch Amazon products - find items, compare pricesAmazon Product Searchgooseworks-ai/goose-skills · by gooseworks-aiSearch Amazon products - find items, compare prices, read reviews★ 1.2k GitHub stars