LinkedIn CLI
by @arun-8687
A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.
clawhub install linkedin-cliπ About This Skill
name: linkedin-cli description: A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies. homepage: https://github.com/clawdbot/linkedin-cli metadata: {"clawdbot":{"emoji":"πΌ","requires":{"bins":["python3"],"env":["LINKEDIN_LI_AT","LINKEDIN_JSESSIONID"]}}}
LinkedIn CLI (lk)
A witty, punchy LinkedIn CLI inspired by the bird CLI. It uses session cookies for authentication, allowing for automated profile scouting, feed summaries, and message checks without a browser.
Setup
1. Extract Cookies: Open LinkedIn in Chrome/Firefox.
2. Go to DevTools (F12) -> Application -> Cookies -> www.linkedin.com.
3. Copy the values for li_at and JSESSIONID.
4. Set them in your environment:
export LINKEDIN_LI_AT="your_li_at_value"
export LINKEDIN_JSESSIONID="your_jsessionid_value"
Usage
lk whoami: Display your current profile details.lk search "query": Search for people by keywords.lk profile : Get a detailed summary of a specific profile.lk feed -n 10: Summarize the top N posts from your timeline.lk messages: Quick peek at your recent conversations.lk check: Combined whoami and messages check.Dependencies
Requires the linkedin-api Python package:
pip install linkedin-api
Authors
π‘ Examples
lk whoami: Display your current profile details.lk search "query": Search for people by keywords.lk profile : Get a detailed summary of a specific profile.lk feed -n 10: Summarize the top N posts from your timeline.lk messages: Quick peek at your recent conversations.lk check: Combined whoami and messages check.βοΈ Configuration
1. Extract Cookies: Open LinkedIn in Chrome/Firefox.
2. Go to DevTools (F12) -> Application -> Cookies -> www.linkedin.com.
3. Copy the values for li_at and JSESSIONID.
4. Set them in your environment:
export LINKEDIN_LI_AT="your_li_at_value"
export LINKEDIN_JSESSIONID="your_jsessionid_value"