linkedin-cli

Manage LinkedIn member and organization posts via OAuth APIs.

3|1|Updated May 19, 2026
One-click install
npx skills add https://github.com/adbertram/cli-tools --skill linkedin-cli-adbertram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linkedin-cli
Source: https://github.com/adbertram/cli-tools/tree/main/_repo/skills/linkedin-cli
Command: npx skills add https://github.com/adbertram/cli-tools --skill linkedin-cli-adbertram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill removes the friction of manual browser-based social media management by providing a stable, scriptable interface for LinkedIn operations, ensuring consistent and repeatable content publishing.

Core Features & Use Cases

  • Automated Posting: Create and manage text-only posts for both personal profiles and company pages directly from the terminal.
  • Content Lifecycle Management: List, retrieve, update, and delete posts to maintain an organized social presence.
  • Use Case: Use this skill to automate the distribution of company updates to a LinkedIn page by piping content from a local text file or an automated reporting script.

Quick Start

Use the linkedin cli to create a new post on your company page with the text Hello LinkedIn by specifying the page URN and your commentary.

Frequently Asked Questions about linkedin-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate LinkedIn posts from the command line?

Automating LinkedIn posts from the command line requires a CLI interface utilizing official OAuth APIs. This enables programmatic creation, retrieval, and deletion of text-only posts for personal profiles and company pages via terminal scripts.

Do I need OAuth credentials to manage LinkedIn pages via a CLI?

Yes, managing LinkedIn pages via a CLI requires valid OAuth credentials. The interface relies on official LinkedIn API scopes to authorize both member and organization social interactions for secure content management.

Can I schedule company page updates using social media automation scripts?

You can manage company page updates using social media automation scripts by piping content from local files or reporting scripts into the CLI. The tool processes text-only posts for automated content distribution.

What is the best way to retrieve and delete organization posts programmatically?

The best way to retrieve and delete organization posts programmatically is through a scriptable CLI interface. It queries official LinkedIn APIs to list, fetch, and remove existing page content for lifecycle management.

Are there limitations to managing LinkedIn content via command line automation?

Limitations of command line LinkedIn automation include dependency on valid OAuth credentials and strict adherence to LinkedIn API scopes. Additionally, the current functionality primarily supports text-only posts rather than complex media formats.