LinkedIn integration for reading feed, profiles, connections, search results, and messages using browser automation
Best use case
linkedin is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
LinkedIn integration for reading feed, profiles, connections, search results, and messages using browser automation
Teams using linkedin should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/linkedin/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How linkedin Compares
| Feature / Agent | Standard Approach | |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
LinkedIn integration for reading feed, profiles, connections, search results, and messages using browser automation
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# LinkedIn Skill
Access LinkedIn data through browser automation. This approach is reliable because it uses your actual browser session, avoiding LinkedIn's aggressive bot detection that blocks API-only traffic.
## Setup Requirements
### Chrome Profile Setup (One-Time)
1. **Create a dedicated Chrome profile for automation:**
- Open Chrome → click your profile icon (top right) → "Add"
- Name it something memorable (e.g., "Claude" or "Automation")
- This keeps automation separate from personal browsing
2. **In your automation profile:**
- Log into LinkedIn (www.linkedin.com)
- Install the Claude browser extension from https://claude.ai/chrome
- Keep this Chrome window open when using LinkedIn commands
3. **Before using LinkedIn commands:**
- Ensure Chrome is open with your automation profile
- The Claude browser extension must be connected
## Browser Automation Commands
When the user asks for LinkedIn data, use the claude-in-chrome tools to navigate and extract information.
### Connecting to Chrome
Always start by checking the browser connection:
```
1. Call mcp__claude-in-chrome__tabs_context_mcp with createIfEmpty: true
2. If not connected, ask user to open Chrome with their automation profile
3. Create a new tab or use existing one
```
### Reading Feed
When user asks to see their LinkedIn feed:
```
1. Navigate to https://www.linkedin.com/feed/
2. Use read_page to extract feed content
3. Parse and format the feed items
```
Example flow:
1. `mcp__claude-in-chrome__navigate` to `https://www.linkedin.com/feed/`
2. `mcp__claude-in-chrome__read_page` with filter: "all" to get post content
3. Extract post authors, content, engagement metrics from the accessibility tree
### Viewing Profiles
When user asks about a LinkedIn profile:
```
1. Navigate to https://www.linkedin.com/in/{username}/
2. Use read_page to extract profile information
3. Parse name, headline, about, experience, etc.
```
### Searching
When user wants to search LinkedIn:
```
People: https://www.linkedin.com/search/results/people/?keywords={query}
Jobs: https://www.linkedin.com/search/results/jobs/?keywords={query}
Companies: https://www.linkedin.com/search/results/companies/?keywords={query}
Posts: https://www.linkedin.com/search/results/content/?keywords={query}
```
### Reading Messages
When user wants to check messages:
```
1. Navigate to https://www.linkedin.com/messaging/
2. Use read_page to extract conversation list
3. Click on a conversation to read messages
```
## Data Extraction Patterns
### Feed Posts
Look for these patterns in the accessibility tree:
- Post author: Links with profile URLs
- Post content: Text nodes within post containers
- Engagement: Like/comment/share counts
- Timestamps: Relative time indicators
### Profile Data
Navigate to profile and extract:
- Name and headline from main header
- About section text
- Experience entries (company, title, duration)
- Education entries
- Skills section
### Search Results
Parse result items containing:
- Name/title link
- Subtitle (headline, location)
- Connection degree
- Profile picture
## Example Interactions
### "Show my LinkedIn feed"
```
1. Connect to Chrome: tabs_context_mcp
2. Navigate: navigate to linkedin.com/feed/
3. Wait for load: computer action=wait duration=2
4. Read content: read_page with depth=10
5. Parse and summarize top posts
```
### "Look up John Smith on LinkedIn"
```
1. Connect to Chrome: tabs_context_mcp
2. Navigate: navigate to linkedin.com/search/results/people/?keywords=John%20Smith
3. Read results: read_page filter=interactive
4. Present matching profiles
```
### "What's my profile looking like?"
```
1. Connect to Chrome: tabs_context_mcp
2. Navigate: navigate to linkedin.com/in/me/
3. Read profile: read_page
4. Summarize profile stats, recent activity
```
## CLI Fallback (Less Reliable)
The CLI tool is available but LinkedIn often invalidates API sessions:
```bash
# Install
cd /Users/derekrein/Code/cyberdrk305/linkedin && npm install && npm run build && npm link
# Commands (may require fresh cookies frequently)
linkedin setup # Setup instructions
linkedin check # Verify credentials
linkedin whoami # Show logged-in user
linkedin feed -n 10 # Get feed posts
linkedin profile <username> # View profile
```
### Manual Cookie Setup
If using the CLI, you'll need to manually extract cookies:
1. Open Chrome DevTools (F12) on linkedin.com
2. Go to: Application → Cookies → linkedin.com
3. Copy `li_at` and `JSESSIONID` values
4. Run: `linkedin setup --li-at "VALUE" --jsessionid "VALUE"`
Note: LinkedIn aggressively invalidates these sessions after a few API calls.
## Troubleshooting
### Browser extension not connected
- Ensure Chrome is open with your automation profile
- Click the Claude extension icon to activate it
- Try restarting Chrome
### LinkedIn checkpoint/verification page
- LinkedIn may require verification for new browser sessions
- Complete the verification manually, then retry
### Session expired
- Log back into LinkedIn in your automation Chrome profile
- Refresh the page and try againRelated Skills
linkedin-cli
Use when automating LinkedIn via CLI: fetch profiles, search people/companies, send messages, manage connections, create posts, and Sales Navigator.
linkedin-automation
Automate LinkedIn tasks via Rube MCP (Composio): create posts, manage profile, company info, comments, and image uploads. Always search tools first for current schemas.
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
devops-specialist
DevOps 与运维专家。精通 CI/CD、容器化、编排、基础设施即代码、监控告警和自动化部署。用于构建高效、可靠的软件交付流水线和运维系统。
DevOps Practices
Expertise in deployment automation, container orchestration, and infrastructure as code. Activates when working with "deploy", "kubernetes", "docker", "terraform", "helm", "k8s", "container", or cloud infrastructure.
devops
Deploy applications with Docker and Kubernetes, automate with CI/CD, manage infrastructure with code, and configure cloud platforms and networking.
devops-infrastructure
クラウドインフラ設計・IaC実装・監視設定・コンテナオーケストレーション。AWS、GCP、Azureのリソース構築、Terraform/Pulumi、Kubernetes、Docker、Prometheus/Grafana監視。「インフラ」「クラウド」「Terraform」「Kubernetes」「監視」「Docker」に関する質問で使用。
devops-infra-github
Expert guidance for containerization, orchestration, and CI/CD pipelines for Bun monorepo projects.
devops-guide
Comprehensive DevOps and infrastructure guide covering Docker, Kubernetes, AWS, Terraform, CI/CD pipelines, Linux, and cloud deployment strategies. Use when setting up infrastructure, automation, or deployment systems.
devops-engineer
Expert DevOps engineer bridging development and operations with comprehensive automation, monitoring, and infrastructure management. Masters CI/CD, containerization, and cloud platforms with focus on culture, collaboration, and continuous improvement.
DevOps & Deployment
Use when setting up CI/CD pipelines, containerizing applications, deploying to Kubernetes, or writing infrastructure as code. DevOps & Deployment covers GitHub Actions, Docker, Helm, and Terraform patterns.
devops-deployer
Comprehensive DevOps and deployment workflow that orchestrates infrastructure automation, CI/CD pipelines, container orchestration, and cloud deployment. Handles everything from infrastructure as code and pipeline setup to monitoring, scaling, and disaster recovery.