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
| Command | Description |
|---|---|
person fetch | Fetch a profile with optional experience, education, skills, languages, posts, comments, reactions |
person search | Search for people with filters: name, position, location, industry, company, school |
Companies
| Command | Description |
|---|---|
company fetch | Fetch a company profile with optional employees, decision makers, posts |
company search | Search for companies with filters: size, location, industry |
Messages
| Command | Description |
|---|---|
message send | Send a message to a LinkedIn connection (up to 1900 characters) |
message get | Get conversation messages with a person |
Connections
| Command | Description |
|---|---|
connection status | Check connection status with a person |
connection send | Send a connection request with optional note |
connection list | List connections with optional filters |
connection pending | List pending outgoing connection requests |
connection withdraw | Withdraw a pending connection request |
connection remove | Remove an existing connection |
Posts
| Command | Description |
|---|---|
post fetch | Fetch a post with optional comments and reactions |
post create | Create a post with optional media attachments |
post react | React to a post (like, love, support, celebrate, insightful, funny) |
post comment | Comment on a post (up to 1000 characters) |
Statistics
| Command | Description |
|---|---|
stats ssi | Get current Social Selling Index |
stats performance | Get profile views, post impressions, search appearances |
stats usage | Get Linked API usage statistics for a date range |
Sales Navigator
Requires a LinkedIn Sales Navigator subscription.
| Command | Description |
|---|---|
navigator person fetch | Fetch a person profile via Sales Navigator |
navigator person search | Search people with advanced filters including years of experience |
navigator company fetch | Fetch a company with optional employees and decision makers |
navigator company search | Search companies with revenue filters |
navigator message send | Send InMail with subject line |
navigator message get | Get Sales Navigator conversation messages |
Custom Workflows
| Command | Description |
|---|---|
workflow run | Execute a custom workflow definition from file or stdin |
workflow status | Check workflow status or wait for completion |
Administration
| Command | Description |
|---|---|
admin subscription status | Check subscription status, seats, and pricing |
admin accounts list | List all connected LinkedIn accounts |
admin accounts connect | Connect a new LinkedIn account |
admin accounts disconnect | Disconnect a LinkedIn account |
admin limits usage | Check current usage against configured limits |
admin limits set | Configure rate limits for an account |
admin limits reset | Reset all limits to system defaults |
For detailed command documentation with all flags and examples, see the CLI reference.