Claude Code · LinkedIn

Post to LinkedIn from Claude Code

Short answer: paste npx scorper@latest init into Claude Code, sign in with the code it emails you, say “connect my linkedin”, approve in your browser, then describe the post. Claude Code reads it back and publishes to LinkedIn when you say yes. LinkedIn is one of five platforms on the same connection, with Instagram, LinkedIn, TikTok, X and YouTube all set up the same way.

Updated 5 November 2026

How to connect LinkedIn to Claude Code

  1. 1

    Paste the install line in Claude Code

    Claude Code runs in your terminal and can execute commands, so the install is a single line typed into the chat. It installs the Scorper skills (posting, scheduling, DM automations, dashboard building) and a prompt hook, so Claude knows the tools exist in every future session on this machine. Your machine is linked to your account with a scoped key. You never paste a token.

    Type into the Claude Code chat, or into any terminal
    npx scorper@latest init

    Needs Node 18 or newer. scorper doctor confirms the install afterwards.

  2. 2

    Sign in with the code from your email

    Claude Code asks for your email. A 6-digit code arrives, you type it into the chat. No account yet? One is created on the spot, no password. You pick a plan and its 7-day free trial starts at checkout.

  3. 3

    Say “connect my linkedin”

    Claude Code opens LinkedIn's approval page in your browser. Log into the right LinkedIn account first, approve, come back. Claude Code confirms the connection.

  4. 4

    Tell it what to post

    post this to linkedin, more formal than the instagram caption

    Claude Code uploads the media, proposes a caption, then reads the whole post back. Say yes and it publishes to LinkedIn. Say “schedule it for 6pm tomorrow” instead and it queues it.

What you can publish to LinkedIn from Claude Code

Text posts, image posts, video posts and carousels to a connected LinkedIn profile.

LinkedIn rewards a different voice from Instagram, and that is where posting from an AI pays off: one prompt, two captions. Say "post this to instagram and linkedin, more formal on linkedin" and your AI drafts a version for each, reads both back, and publishes both. Developers and founders often wire this to their release process: when a version ships, a prompt turns the changelog into a LinkedIn post and schedules it for the next working morning.

LinkedIn's own rules, which your AI works within

RuleLinkedIn
Post lengthUp to 3,000 characters. Only the first few lines show before "see more".
ImagesUp to 20 images per post on LinkedIn; JPEG or PNG.
VideoMP4, 3 seconds to 10 minutes, up to 5 GB.
DocumentsLinkedIn renders PDFs as swipeable carousels.
HashtagsNo hard cap; three to five is the usual practice.
ConnectionLinkedIn approvals last 60 days. Your AI tells you when a reconnect is due; it is one browser approval.

Prompts that work in Claude Code

connect my linkedin
post this to linkedin, more formal than the instagram caption
turn today's release notes into a linkedin post and schedule it for 9am tomorrow
schedule this carousel for 6pm tomorrow on linkedin and x

Scheduling: “schedule this for 9am monday on linkedin”. The calendar: “what's going out this week?”. Moving things: “move friday's post to saturday”. Everything you schedule from Claude Code also shows in the dashboard calendar.

Something only Claude Code users should know

Because Scorper is a skill plus a CLI rather than a browser automation, the same prompt also works in Claude Code's non-interactive mode (claude -p "..."), which is how people run a daily posting job from cron or CI. Claude still reads the post back and waits for confirmation unless you tell it otherwise in the prompt.

What happens before anything posts

The read-back, every time
⏺ Posting to LinkedIn your profile
   Caption: "Three things I wish someone told me at 21…"
   Confirm?
> yes
✓ Posted · link below
Your machine holds a scoped key. LinkedIn's own credentials stay on Scorper's side, and Claude Code never sees a platform token.

Honest limits

  • LinkedIn publishing goes through the official LinkedIn API, so LinkedIn's rules above apply. Scorper does not work around them.
  • The AI-agent connection is on every plan. Pro posts to Instagram only. Max ($25 a month), Studio and Agency post to every social.
  • The install needs Node 18 or newer on the machine.
  • Some things are easier in the dashboard than in chat: bulk-editing a month of scheduled posts, for example. Both views share one calendar.

Frequently asked questions

Can Claude Code post to LinkedIn on its own?
Not without a connection. Claude Code can write a caption but has no permission to publish. Scorper is that permission: one command installs the posting skills and links your machine to your account, then Claude Code can publish and schedule to LinkedIn through the official API.
Can the AI post to a LinkedIn company page?
The connection is made to the LinkedIn account you approve in the browser. If you need company-page publishing, check the connected-accounts list after approval (say "what's connected?") before relying on it.
Will the LinkedIn caption be the same as the Instagram one?
Only if you want it to be. Ask for a different tone per platform and your AI writes a separate caption for LinkedIn. Both are read back before anything posts.
Does this work in Claude Code's headless mode?
Yes. The skills and CLI are available to claude -p the same way they are in an interactive session, so a cron job or CI step can run a prompt like "post today's draft from ./posts to instagram". Keep a confirmation step in your prompt unless you really want fully unattended posting.
Will it post without asking me?
No. Claude Code reads the exact post back (platform, media, caption) and publishes only after you confirm. Scheduled posts are shown before they are queued.
What does posting to LinkedIn from Claude Code cost?
The AI-agent connection is included in Scorper Max ($25 a month, one brand, all five platforms) and Studio ($55 a month, three brands). Every plan starts with a 7-day free trial, card needed to start.

Connect LinkedIn to Claude Code in two minutes

Paste the line, approve in your browser, tell it what to post.

npx scorper@latest initStart free for 7 days

7 days free on every plan. The AI-agent connection is on Max ($25/month) and Studio.