LinkedIn Skill

The LinkedIn skill gives your AI agent full access to LinkedIn automation. Ask in natural language and the agent handles the rest.

Source code available on GitHub.

Quick start

bash
# 1. Install the CLI
npm install -g @linkedapi/linkedin-cli

# 2. Set up authentication (get tokens at app.linkedapi.io)
linkedin setup

# 3. Copy the skill to your project
mkdir -p .claude/skills
cp -r linkedin-skills/linkedin .claude/skills/

Once installed, ask your agent things like:

Find all decision makers at Acme Corp and send them connection requests.

Pull all contacts labeled 'follow-up' from my CRM, review our conversation history, and send each person a personalized follow-up message.

Tell me about https://linkedin.com/in/jane-doe including their work history.

Capabilities

People

CommandDescription
person fetchFetch a profile with optional experience, education, skills, languages, posts, comments, reactions
person searchSearch for people with filters: name, position, location, industry, company, school

Companies

CommandDescription
company fetchFetch a company profile with optional employees, decision makers, posts
company searchSearch for companies with filters: size, location, industry

Messages

CommandDescription
message sendSend a message to a LinkedIn connection (up to 1900 characters)
message getGet conversation messages with a person

Connections

CommandDescription
connection statusCheck connection status with a person
connection sendSend a connection request with optional note
connection listList connections with optional filters
connection pendingList pending outgoing connection requests
connection withdrawWithdraw a pending connection request
connection removeRemove an existing connection

Posts

CommandDescription
post fetchFetch a post with optional comments and reactions
post createCreate a post with optional media attachments
post reactReact to a post (like, love, support, celebrate, insightful, funny)
post commentComment on a post (up to 1000 characters)

Statistics

CommandDescription
stats ssiGet current Social Selling Index
stats performanceGet profile views, post impressions, search appearances
stats usageGet Linked API usage statistics for a date range

Sales Navigator

Requires a LinkedIn Sales Navigator subscription.

CommandDescription
navigator person fetchFetch a person profile via Sales Navigator
navigator person searchSearch people with advanced filters including years of experience
navigator company fetchFetch a company with optional employees and decision makers
navigator company searchSearch companies with revenue filters
navigator message sendSend InMail with subject line
navigator message getGet Sales Navigator conversation messages

Custom Workflows

CommandDescription
workflow runExecute a custom workflow definition from file or stdin
workflow statusCheck workflow status or wait for completion

Administration

CommandDescription
admin subscription statusCheck subscription status, seats, and pricing
admin accounts listList all connected LinkedIn accounts
admin accounts connectConnect a new LinkedIn account
admin accounts disconnectDisconnect a LinkedIn account
admin limits usageCheck current usage against configured limits
admin limits setConfigure rate limits for an account
admin limits resetReset all limits to system defaults

For detailed command documentation with all flags and examples, see the CLI reference.