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

Search LinkedIn posts by keywords

Linkedin post research

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

Linkedin post research cover

Search LinkedIn posts by keywords, sorted by engagement or date. Use when researching what people are saying about a topic on LinkedIn, finding high-engagement content, identifying thought leaders, or discovering warm leads through post…

---
name: linkedin-post-research
description: >
  Search LinkedIn posts by keywords, sorted by engagement or date. Use when researching
  what people are saying about a topic on LinkedIn, finding high-engagement content,
  identifying thought leaders, or discovering warm leads through post engagement.
  Returns author, post text, reactions, comments, shares, post URL, and date.
  No LinkedIn cookies or login required.
tags: [research, lead-generation]
---

# LinkedIn Post Research

Search LinkedIn for posts matching keywords via Apify. Returns posts sorted by engagement or date, with author info, full text, reaction counts, and direct URLs.

No LinkedIn cookies. No login. Just keywords in, posts out.

## When to Auto-Load

Overview

Search LinkedIn for posts matching keywords via Apify. Returns posts sorted by engagement or date, with author info, full text, reaction counts, and direct URLs.

Manual install (npx, ZIP)
Claude Codenpx skills add gooseworks-ai/goose-skills --skill linkedin-post-research -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/social/capabilities/linkedin-post-research
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/f068953c9f884bdce8d8/linkedin-post-research.zip" -OutFile "$env:TEMP\linkedin-post-research.zip"; Expand-Archive "$env:TEMP\linkedin-post-research.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.md5.1 KB
  • skill.meta.json267 B
  • scripts/1 file · 11.0 KB
Read the files here
gooseworks-ai/615c6853 files
SKILL.md
Show the full text159 lines

LinkedIn Post Research

Search LinkedIn for posts matching keywords via Apify. Returns posts sorted by engagement or date, with author info, full text, reaction counts, and direct URLs.

No LinkedIn cookies. No login. Just keywords in, posts out.

When to Auto-Load

Load this skill when:

  • User says "search LinkedIn posts", "what are people saying about X on LinkedIn", "find LinkedIn content about"
  • User wants to find high-engagement posts on a topic
  • User wants to identify who's posting about a specific topic (thought leader discovery)
  • User wants to find posts to extract commenters from (warm lead pipeline)

Prerequisites

Apify API Token

Required for searching LinkedIn posts. Set in .env:

APIFY_API_TOKEN=your_token_here

No LinkedIn cookies, login, or session tokens needed. That's the only setup.


How It Works

  1. Takes one or more keywords
  2. Calls the apimaestro/linkedin-posts-search-scraper-no-cookies Apify actor
  3. Returns posts with author, text, engagement metrics, date, and URL
  4. Deduplicates across keywords by activity_id
  5. Sorts by engagement (total reactions) descending, or by date

Quick Start

# Single keyword search
python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
  --keyword "AI sourcing" --max-items 20

# Multiple keywords
python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
  --keyword "AI sourcing" --keyword "recruiting automation" --max-items 30

# Sort by date (most recent first)
python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
  --keyword "AI agents" --sort-by date_posted --max-items 20

# Output as CSV
python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
  --keyword "AI agents" --output csv --output-file results.csv

# Summary table
python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
  --keyword "AI agents" --output summary

CLI Reference

Flag Default Description
--keyword, -k required Keyword to search (can be repeated for multiple keywords)
--max-items 50 Max posts to return per keyword
--sort-by relevance Sort order: relevance or date_posted
--output, -o json Output format: json, csv, summary
--output-file stdout Write output to file
--token env var Apify API token (overrides APIFY_API_TOKEN env var)
--timeout 120 Max seconds to wait for Apify run

Apify Actor Details

Actor: apimaestro/linkedin-posts-search-scraper-no-cookies

API call:

curl -X POST "https://api.apify.com/v2/acts/apimaestro~linkedin-posts-search-scraper-no-cookies/runs?token=$APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "keyword": "AI agents",
    "maxItems": 50,
    "sortBy": "date_posted"
  }'

Polling for results:

# Check run status
curl "https://api.apify.com/v2/acts/apimaestro~linkedin-posts-search-scraper-no-cookies/runs/{RUN_ID}?token=$APIFY_API_TOKEN"

# When status is SUCCEEDED, fetch results
curl "https://api.apify.com/v2/datasets/{DATASET_ID}/items?token=$APIFY_API_TOKEN"

Output Schema

{
  "author": "Jane Smith",
  "author_headline": "VP of Sales at Acme Corp",
  "author_profile_url": "https://www.linkedin.com/in/janesmith",
  "keyword": "AI sourcing",
  "reactions": 142,
  "comments": 28,
  "shares": 12,
  "reactions_by_type": {"LIKE": 100, "EMPATHY": 30, "PRAISE": 12},
  "date": "2026-04-01",
  "post_preview": "First 200 chars of the post text...",
  "full_text": "Complete post text...",
  "url": "https://www.linkedin.com/posts/...",
  "activity_id": "7447040447966826496",
  "hashtags": ["#AI", "#sales"],
  "is_repost": false,
  "content_type": "text"
}

Output Columns (CSV)

Column Description
author Post author name
author_headline Author's LinkedIn headline
author_profile_url Author's LinkedIn profile URL
keyword Which search keyword matched
reactions Total reaction count
comments Comment count
shares Share count
date Post date (YYYY-MM-DD)
post_preview First ~200 characters
url Direct link to the LinkedIn post
activity_id Unique post identifier
hashtags Comma-separated hashtags

Cost

Apify charges per compute usage. ~50 posts costs approximately $0.01-0.05 depending on the actor's pricing tier. The script prints cost info after each run.

Error Handling

Error Fix
APIFY_API_TOKEN not set Ask user to add it to .env
Apify run fails or times out Retry once. If still fails, try a broader keyword.
0 results Keyword may be too specific. Try broader terms.
1---
2name: linkedin-post-research
3description: >
4 Search LinkedIn posts by keywords, sorted by engagement or date. Use when researching
5 what people are saying about a topic on LinkedIn, finding high-engagement content,
6 identifying thought leaders, or discovering warm leads through post engagement.
7 Returns author, post text, reactions, comments, shares, post URL, and date.
8 No LinkedIn cookies or login required.
9tags: [research, lead-generation]
10---
11 
12# LinkedIn Post Research
13 
14Search LinkedIn for posts matching keywords via Apify. Returns posts sorted by engagement or date, with author info, full text, reaction counts, and direct URLs.
15 
16No LinkedIn cookies. No login. Just keywords in, posts out.
17 
18## When to Auto-Load
19 
20Load this skill when:
21- User says "search LinkedIn posts", "what are people saying about X on LinkedIn", "find LinkedIn content about"
22- User wants to find high-engagement posts on a topic
23- User wants to identify who's posting about a specific topic (thought leader discovery)
24- User wants to find posts to extract commenters from (warm lead pipeline)
25 
26## Prerequisites
27 
28### Apify API Token
29 
30Required for searching LinkedIn posts. Set in `.env`:
31 
32```
33APIFY_API_TOKEN=your_token_here
34```
35 
36No LinkedIn cookies, login, or session tokens needed. That's the only setup.
37 
38---
39 
40## How It Works
41 
421. Takes one or more keywords
432. Calls the `apimaestro/linkedin-posts-search-scraper-no-cookies` Apify actor
443. Returns posts with author, text, engagement metrics, date, and URL
454. Deduplicates across keywords by `activity_id`
465. Sorts by engagement (total reactions) descending, or by date
47 
48## Quick Start
49 
50```bash
51# Single keyword search
52python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
53 --keyword "AI sourcing" --max-items 20
54 
55# Multiple keywords
56python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
57 --keyword "AI sourcing" --keyword "recruiting automation" --max-items 30
58 
59# Sort by date (most recent first)
60python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
61 --keyword "AI agents" --sort-by date_posted --max-items 20
62 
63# Output as CSV
64python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
65 --keyword "AI agents" --output csv --output-file results.csv
66 
67# Summary table
68python3 skills/capabilities/linkedin-post-research/scripts/search_posts.py \
69 --keyword "AI agents" --output summary
70```
71 
72## CLI Reference
73 
74| Flag | Default | Description |
75|------|---------|-------------|
76| `--keyword`, `-k` | *required* | Keyword to search (can be repeated for multiple keywords) |
77| `--max-items` | 50 | Max posts to return per keyword |
78| `--sort-by` | `relevance` | Sort order: `relevance` or `date_posted` |
79| `--output`, `-o` | `json` | Output format: `json`, `csv`, `summary` |
80| `--output-file` | stdout | Write output to file |
81| `--token` | env var | Apify API token (overrides APIFY_API_TOKEN env var) |
82| `--timeout` | 120 | Max seconds to wait for Apify run |
83 
84## Apify Actor Details
85 
86**Actor:** `apimaestro/linkedin-posts-search-scraper-no-cookies`
87 
88**API call:**
89```bash
90curl -X POST "https://api.apify.com/v2/acts/apimaestro~linkedin-posts-search-scraper-no-cookies/runs?token=$APIFY_API_TOKEN" \
91 -H "Content-Type: application/json" \
92 -d '{
93 "keyword": "AI agents",
94 "maxItems": 50,
95 "sortBy": "date_posted"
96 }'
97```
98 
99**Polling for results:**
100```bash
101# Check run status
102curl "https://api.apify.com/v2/acts/apimaestro~linkedin-posts-search-scraper-no-cookies/runs/{RUN_ID}?token=$APIFY_API_TOKEN"
103 
104# When status is SUCCEEDED, fetch results
105curl "https://api.apify.com/v2/datasets/{DATASET_ID}/items?token=$APIFY_API_TOKEN"
106```
107 
108## Output Schema
109 
110```json
111{
112 "author": "Jane Smith",
113 "author_headline": "VP of Sales at Acme Corp",
114 "author_profile_url": "https://www.linkedin.com/in/janesmith",
115 "keyword": "AI sourcing",
116 "reactions": 142,
117 "comments": 28,
118 "shares": 12,
119 "reactions_by_type": {"LIKE": 100, "EMPATHY": 30, "PRAISE": 12},
120 "date": "2026-04-01",
121 "post_preview": "First 200 chars of the post text...",
122 "full_text": "Complete post text...",
123 "url": "https://www.linkedin.com/posts/...",
124 "activity_id": "7447040447966826496",
125 "hashtags": ["#AI", "#sales"],
126 "is_repost": false,
127 "content_type": "text"
128}
129```
130 
131## Output Columns (CSV)
132 
133| Column | Description |
134|--------|-------------|
135| author | Post author name |
136| author_headline | Author's LinkedIn headline |
137| author_profile_url | Author's LinkedIn profile URL |
138| keyword | Which search keyword matched |
139| reactions | Total reaction count |
140| comments | Comment count |
141| shares | Share count |
142| date | Post date (YYYY-MM-DD) |
143| post_preview | First ~200 characters |
144| url | Direct link to the LinkedIn post |
145| activity_id | Unique post identifier |
146| hashtags | Comma-separated hashtags |
147 
148## Cost
149 
150Apify charges per compute usage. ~50 posts costs approximately $0.01-0.05 depending on the actor's pricing tier. The script prints cost info after each run.
151 
152## Error Handling
153 
154| Error | Fix |
155|-------|-----|
156| `APIFY_API_TOKEN` not set | Ask user to add it to `.env` |
157| Apify run fails or times out | Retry once. If still fails, try a broader keyword. |
158| 0 results | Keyword may be too specific. Try broader terms. |
159 
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-post-research

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

by gooseworks-ai

Similar skills

See all →
SkillResearch what people actually say about any topicSTEP 0: STALE-CLONE SELF-CHECK — RUN BEFORE READING BELOWmvanhorn/last30days-skill · by mvanhornResearch what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, GitHub, and the web. Includes a doctor health check to diagnose broken or missing sources.★ 63.5k GitHub starsSkillScrapes social platforms, business dataApifydanielmiessler/LifeOS · by danielmiesslerScrapes social platforms, business data, and e-commerce via Apify actors — Instagram, LinkedIn, TikTok, YouTube, Facebook, Google Maps, Amazon, and web crawls — filtering in code. USE WHEN scrape Instagram, scrape LinkedIn, scrape TikTok, scrape YouTube, scrape Facebook, Google Maps leads, Amazon reviews, business intelligence, multi-platform social listening, competitive analysis, lead generation, social monitoring, Apify actors, web crawl, extract contacts. NOT FOR X/Twitter account operations like posting, threads, or bookmarks (those need a dedicated X API client), 4-tier progressive scraping with proxy escalation (use BrightData), or real-Chrome bot bypass and computer use (use Interceptor).★ 19.3k GitHub starsSkill微信公众号长文增长闭环 ——tsingyuai/growth-lab · by tsingyuai微信公众号长文增长闭环 —— 从读者问题与复刻锚选题、写出可验证的公众号长文、预览与合规检查、同步微信草稿、三重确认下受控发布,到回收阅读与转化数据并复盘。用户要求写公众号、把内容改成公众号、同步或发布微信草稿、查看公众号数据或复盘时使用。★ 2k GitHub starsSkillSearch and retrieve content from Twitter/XTwitter/X SkillReScienceLab/opc-skills · by ReScienceLabSearch and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces, and trends via twitterapi.io. Use when user mentions Twitter, X, or tweets.★ 1.8k GitHub starsSkillSays 'YouTube script', 'video script'🎬 YouTube Script: Writing retention-optimized video script...cwinvestments/memstack · by cwinvestmentsUse this skill when the user says 'YouTube script', 'video script', 'write script for YouTube', 'YouTube video outline', or is creating scripted content for a YouTube video with hooks, chapters, and CTAs. Do NOT use for TikTok/Reels short-form scripts or webinar presentations.★ 423 GitHub starsSkillAgent Reach — 互联网能力路由器Ootto-AI/claude-content-skills · by Ootto-AIMUST USE when user wants to 调研/research/搜索/search/查/找/look up anything on the internet — e.g. 全网调研 X / 帮我调研一下 X / 查一下 X / 搜搜 X / 看看大家怎么评价 X / X 上有什么讨论 / research this topic。 Also MUST USE when user mentions any platform or shares any URL/链接: 小红书/xiaohongshu/xhs, Twitter/推特/X, B站/bilibili, Reddit, V2EX, LinkedIn/领英/招聘/求职/jobs, YouTube, GitHub code search, 小宇宙播客, 雪球/股票行情, RSS feeds, or any web URL. 13 platforms, multi-backend routing (OpenCLI / per-platform CLIs / APIs). Zero config for 6 channels. Run `agent-reach doctor --json` to see which backend serves each platform right now. NOT for: 写报告/数据分析/翻译等内容加工(本 skill 只负责从互联网获取内容); 发帖/评论/点赞等写操作;已有专门 skill 的平台(先用专门 skill)。 【路由方式】SKILL.md 包含路由表和常用命令,复杂场景需按需阅读对应分类的 references/*.md。 分类:search / social (小红书/推特/B站/V2EX/Reddit) / career(LinkedIn) / dev(github) / web(网页/文章/RSS) / video(YouTube/B站/播客)。★ 139 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