linkedin

linkedin is a skill for Claude Code from bobmatnyc/claude-mpm-skills. It costs 51 tokens per session (4,790 once invoked), scanned A, a copy of linkedin, MIT.

A command-line tool for automating LinkedIn, the professional networking website, through a cloud browser. It can read profiles and search data, and it can perform actions such as messaging, connecting, posting, reacting, and commenting.

In plain words
What is it for?
Finding people or companies, retrieving profiles, managing connections, sending approved messages, publishing posts, engaging with posts, and running Sales Navigator workflows.
Why use it?
It reduces manual LinkedIn work, but automated outreach and scraping can violate LinkedIn rules and may restrict an account.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Finding people or companies, retrieving profiles, managing connections, sending approved messages, publishing posts, engaging with posts, and running Sales Navigator workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bobmatnyc/claude-mpm-skills/linkedin
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bobmatnyc/claude-mpm-skills --skill linkedin
Clone the repo
git clone --depth 1 https://github.com/bobmatnyc/claude-mpm-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for linkedin

README.md
[![agentmods](https://agentmods.dev/badge/skills/bobmatnyc/claude-mpm-skills/linkedin/github.svg)](https://agentmods.dev/skills/bobmatnyc/claude-mpm-skills/linkedin)
Your own site
<a href="https://agentmods.dev/skills/bobmatnyc/claude-mpm-skills/linkedin"><img src="https://agentmods.dev/badge/skills/bobmatnyc/claude-mpm-skills/linkedin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for linkedin

Your own site · 80×15
<a href="https://agentmods.dev/skills/bobmatnyc/claude-mpm-skills/linkedin"><img src="https://agentmods.dev/badge/skills/bobmatnyc/claude-mpm-skills/linkedin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.04790
Opus 5 $0.00026 $0.02395
Sonnet 5 $0.00010 $0.00958
Haiku 4.5 $0.00005 $0.00479

Measured 12d ago against content hash 467f040a074d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

linkedin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to linkedin — 109 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

toolchains/ai/services/linkedin/SKILL.md · 561 lines

How it starts

The opening of the file, as written. The whole thing — 561 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LinkedIn - Linked API Automation CLI

Overview

linkedin is a CLI tool for LinkedIn automation built on Linked API. Use it to fetch profiles, search people and companies, send messages, manage connections, create posts, react, comment, and run Sales Navigator and custom workflows.

Each command sends a request to Linked API, which runs a real cloud browser to perform the action on LinkedIn. Operations are not instant - expect 30 seconds to several minutes depending on complexity.

Install the CLI when linkedin is not available:

npm install -g @linkedapi/linkedin-cli

Safety & Compliance

Read this before running any command.

  • LinkedIn User Agreement risk. Automated connection requests, messaging, scraping, and posting can violate LinkedIn's User Agreement and can lead to account restriction or suspension. The account owner is responsible for compliance with LinkedIn's terms and applicable law. Confirm the user accepts this risk before performing write actions at scale.
  • Confirm write and outreach actions. Require explicit user approval before sending messages, connection requests, InMail, posts, reactions, or comments. Show the exact target and content first.
  • Credentials only. Use the Linked API token and identification token issued from the dashboard. Never request LinkedIn passwords, 2FA codes, cookies, session exports, recovery codes, or browser profile data.
  • Respect action limits. Per-account limits are configurable on the platform. A limitExceeded error means the limit was reached - stop and report it rather than retrying.

Authentication

The CLI reads credentials from environment variables. Export them so secrets stay out of shell history and process listings. Never pass tokens as CLI arguments.

When a command fails with exit code 2 (authentication error), guide the user through setup:

  1. Go to app.linkedapi.io and sign up or log in.
  2. Connect the LinkedIn account.
  3. Copy the Linked API Token and Identification Token from the dashboard.

Read the full file on GitHub · 561 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 561 lines · 51 tokens per session scan A 467f040a074d

Subscribe to this mod's changes

linkedin is a skill published in the GitHub repository bobmatnyc/claude-mpm-skills (75 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 4,790 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to linkedin, differing in 109 lines, and is treated as a copy.