CommunicationDocumentedScanned

linkedin-cli

A bird-like LinkedIn CLI for searching profiles, checking messages.

Share:

Installation

npx clawhub@latest install linkedin-cli

View the full skill documentation and source below.

Documentation

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

  • Extract Cookies: Open LinkedIn in Chrome/Firefox.

  • Go to DevTools (F12) -> Application -> Cookies -> www.linkedin.com.

  • Copy the values for li_at and JSESSIONID.

  • 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

    • Built by Fido 🐶