linkedin-cli

A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.

3,891 stars
Complexity: medium

About this skill

This AI agent skill provides programmatic access to LinkedIn's official API v2, specifically for posting content. It leverages OAuth tokens for secure authentication, ensuring that posts are only made under explicit user instruction or predefined schedules, respecting LinkedIn's rate limits and usage policies. Agents can use `linkedin-cli` to automate the sharing of blog posts, project updates, news, or other relevant content directly to a user's LinkedIn profile or company page. It's particularly useful for content creators, marketers, or developers who want to keep their professional network informed with minimal manual intervention. Users would employ this skill to maintain an active and professional presence on LinkedIn, ensuring timely and consistent content delivery. It offloads the repetitive task of manual posting to an AI agent, allowing the user to focus on content creation while the agent handles publication logistics, all while adhering to security best practices and API guidelines.

Best use case

The primary use case for `linkedin-cli` is automating content publication to LinkedIn. It is most beneficial for individuals and organizations who regularly share updates, articles, or news and wish to streamline their social media presence, enabling AI agents to manage professional outreach efficiently and securely.

A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.

Users can expect their specified content to be successfully posted to LinkedIn via the official API, with confirmation of the action.

Practical example

Example input

Can you post an update to LinkedIn about my new blog post 'Mastering AI Agents' available at example.com/blog/ai-agents? Tag it with #AIagents #coding #newblog.

Example output

Successfully posted to LinkedIn. Post ID: `urn:li:share:123456789`

When to use this skill

  • When explicitly asked by the user to post content to LinkedIn.
  • For automating scheduled social media posts to LinkedIn.
  • To share project updates, blog posts, or professional news on LinkedIn.
  • When needing to programmatically interact with the LinkedIn posting API via an agent.

When not to use this skill

  • For speculative content drafting or unsolicited posting without user consent.
  • If you don't have a LinkedIn developer app configured with appropriate permissions.
  • To bypass LinkedIn's rate limits or engage in spam-like activities.
  • If you prefer manual control over every single LinkedIn post.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/linkedin-cli/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/arun-8687/linkedin-cli/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/linkedin-cli/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How linkedin-cli Compares

Feature / Agentlinkedin-cliStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexitymediumN/A

Frequently Asked Questions

What does this skill do?

A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.

How difficult is it to install?

The installation complexity is rated as medium. You can find the installation instructions above.

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.

Related Guides

SKILL.md Source

# 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:
    ```bash
    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 <public_id>`: 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:
```bash
pip install linkedin-api
```

## Authors
- Built by Fido 🐶

Related Skills

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

小红书长图文发布 Skill

3891
from openclaw/skills

## 概述

Content & Documentation

openclaw-youtube

3891
from openclaw/skills

YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.

Content & Documentation

openclaw-media-gen

3891
from openclaw/skills

Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.

Content & Documentation

Cold Email Writer

3891
from openclaw/skills

Writes personalized cold emails that actually get replies

Content & Documentation

Presentation Mastery — Complete Slide Design & Delivery System

3891
from openclaw/skills

You are a Presentation Architect. You help build presentations that persuade, inform, and move people to action. You cover the full lifecycle: audience analysis → narrative structure → slide design → delivery coaching → post-presentation follow-up.

Content & Documentation

ai-humanizer

3891
from openclaw/skills

Rewrites AI-generated content to sound natural, human, and undetectable. Removes robotic patterns, adds voice variety, and preserves meaning.

Content & Documentation

Employee Handbook Generator

3891
from openclaw/skills

Build a complete, customized employee handbook for your company. Covers policies, benefits, conduct, leave, remote work, DEI, and compliance — ready for legal review.

Content & Documentation

afrexai-copywriting-mastery

3891
from openclaw/skills

Write high-converting copy for any medium — landing pages, emails, ads, UX, sales pages, video scripts, and brand voice. Complete methodology with frameworks, templates, scoring rubrics, and swipe files. Use when writing or reviewing any user-facing text.

Content & Documentation

afrexai-conversion-copywriting

3891
from openclaw/skills

Write high-converting copy for any surface — landing pages, emails, ads, sales pages, product descriptions, CTAs, video scripts, and more. Complete conversion copywriting system with research methodology, 12 proven frameworks, swipe-file templates, scoring rubrics, and A/B testing protocols. Use when you need to write or review any copy meant to drive action.

Content & Documentation

seo-assistant

3891
from openclaw/skills

A client-facing SEO assistant grounded in Google's official SEO Starter Guide. Use this skill whenever a user mentions SEO, search rankings, Google visibility, meta descriptions, title tags, page titles, alt text, sitemaps, duplicate content, URL structure, or asks how to improve their website's presence in search results. Also trigger when a user shares a URL or webpage content and wants feedback, or asks for help writing any web content that needs to perform well in search. This skill covers auditing, content writing, and answering SEO questions — use it proactively even if the user only hints at wanting more website traffic or better Google rankings.

Content & Documentation