mcpbeat Sign in

Linkedin Automation Agent Skill

Automate LinkedIn tasks via Rube MCP (Composio): create posts, manage profile, company info, comments, and image uploads. Always search tools first for current schemas.

2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
3248
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/davepoon/buildwithclaude --skill linkedin-automation

MCP servers it needs

declared by the author in the skill header

Not in the registry: rube

The skill names a server we cannot find in the official MCP registry. It may be private, renamed, or never published — either way, the skill will not work until you have it.

The instruction itself

14 sections, as written by the author

LinkedIn Automation via Rube MCP

Automate LinkedIn operations through Composio's LinkedIn toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/linkedin

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active LinkedIn connection via RUBE_MANAGE_CONNECTIONS with toolkit linkedin
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  • Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  • Call RUBE_MANAGE_CONNECTIONS with toolkit linkedin
  • If connection is not ACTIVE, follow the returned auth link to complete LinkedIn OAuth
  • Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Create a LinkedIn Post

When to use: User wants to publish a text post on LinkedIn

Tool sequence:

  • LINKEDIN_GET_MY_INFO - Get authenticated user's profile info [Prerequisite]
  • LINKEDIN_REGISTER_IMAGE_UPLOAD - Register image upload if post includes an image [Optional]
  • LINKEDIN_CREATE_LINKED_IN_POST - Publish the post [Required]

Key parameters:

  • text: Post content text
  • visibility: 'PUBLIC' or 'CONNECTIONS'
  • media_title: Title for attached media
  • media_description: Description for attached media

Pitfalls:

  • Must retrieve user profile URN via GET_MY_INFO before creating a post
  • Image uploads require a two-step process: register upload first, then include the asset in the post
  • Post text has character limits enforced by LinkedIn API
  • Visibility defaults may vary; always specify explicitly

2. Get Profile Information

When to use: User wants to retrieve their LinkedIn profile or company details

Tool sequence:

  • LINKEDIN_GET_MY_INFO - Get authenticated user's profile [Required]
  • LINKEDIN_GET_COMPANY_INFO - Get company page details [Optional]

Key parameters:

  • No parameters needed for GET_MY_INFO (uses authenticated user)
  • organization_id: Company/organization ID for GET_COMPANY_INFO

Pitfalls:

  • GET_MY_INFO returns the authenticated user only; cannot look up other users
  • Company info requires the numeric organization ID, not the company name or vanity URL
  • Some profile fields may be restricted based on OAuth scopes granted

3. Manage Post Images

When to use: User wants to upload and attach images to LinkedIn posts

Tool sequence:

  • LINKEDIN_REGISTER_IMAGE_UPLOAD - Register an image upload with LinkedIn [Required]
  • Upload the image binary to the returned upload URL [Required]
  • LINKEDIN_GET_IMAGES - Verify uploaded image status [Optional]
  • LINKEDIN_CREATE_LINKED_IN_POST - Create post with the image asset [Required]

Key parameters:

  • owner: URN of the image owner (user or organization)
  • image_id: ID of the uploaded image for GET_IMAGES

Pitfalls:

  • The upload is a two-phase process: register then upload binary
  • Image asset URN from registration must be used when creating the post
  • Supported formats typically include JPG, PNG, and GIF
  • Large images may take time to process before they are available

4. Comment on Posts

When to use: User wants to comment on an existing LinkedIn post

Tool sequence:

  • LINKEDIN_CREATE_COMMENT_ON_POST - Add a comment to a post [Required]

Key parameters:

  • post_id: The URN or ID of the post to comment on
  • text: Comment content
  • actor: URN of the commenter (user or organization)

Pitfalls:

  • Post ID must be a valid LinkedIn URN format
  • The actor URN must match the authenticated user or a managed organization
  • Rate limits apply to comment creation; avoid rapid-fire comments

5. Delete a Post

When to use: User wants to remove a previously published LinkedIn post

Tool sequence:

  • LINKEDIN_DELETE_LINKED_IN_POST - Delete the specified post [Required]

Key parameters:

  • post_id: The URN or ID of the post to delete

Pitfalls:

  • Deletion is permanent and cannot be undone
  • Only the post author or organization admin can delete a post
  • The post_id must be the exact URN returned when the post was created

Common Patterns

ID Resolution

User URN from profile:

1. Call LINKEDIN_GET_MY_INFO
2. Extract user URN (e.g., 'urn:li:person:XXXXXXXXXX')
3. Use URN as actor/owner in subsequent calls

Organization ID from company:

1. Call LINKEDIN_GET_COMPANY_INFO with organization_id
2. Extract organization URN for posting as a company page

Image Upload Flow

  • Call REGISTER_IMAGE_UPLOAD to get upload URL and asset URN
  • Upload the binary image to the provided URL
  • Use the asset URN when creating a post with media
  • Verify with GET_IMAGES if upload status is uncertain

Known Pitfalls

Authentication:

  • LinkedIn OAuth tokens have limited scopes; ensure required permissions are granted
  • Tokens expire; re-authenticate if API calls return 401 errors

URN Formats:

  • LinkedIn uses URN identifiers (e.g., 'urn:li:person:ABC123')
  • Always use the full URN format, not just the alphanumeric ID portion
  • Organization URNs differ from person URNs

Rate Limits:

  • LinkedIn API has strict daily rate limits on post creation and comments
  • Implement backoff strategies for bulk operations
  • Monitor 429 responses and respect Retry-After headers

Content Restrictions:

  • Posts have character limits enforced by the API
  • Some content types (polls, documents) may require additional API features
  • HTML markup in post text is not supported

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Get my profile | LINKEDIN_GET_MY_INFO | (none) |

| Create post | LINKEDIN_CREATE_LINKED_IN_POST | text, visibility |

| Get company info | LINKEDIN_GET_COMPANY_INFO | organization_id |

| Register image upload | LINKEDIN_REGISTER_IMAGE_UPLOAD | owner |

| Get uploaded images | LINKEDIN_GET_IMAGES | image_id |

| Delete post | LINKEDIN_DELETE_LINKED_IN_POST | post_id |

| Comment on post | LINKEDIN_CREATE_COMMENT_ON_POST | post_id, text, actor |


*Powered by Composio*

Other skills for the same job

different authors, same section of the catalogue
Canvas Design
by anthropics
vendor ×13

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

1388k tokens
Algorithmic Art
by anthropics
vendor ×10

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

15k tokens scripts
Image Enhancer
by frostant
×6

Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.

635 tokens
Video Downloader
by CommandCodeAI
×4

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

671 tokens
Histolab
by christophacham
×3

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

18k tokens
Omero Integration
by christophacham
×3

Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.

32k tokens
Pydicom
by christophacham
×3

Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, radiology workflows, and healthcare imaging applications.

13k tokens scripts
Transformers
by christophacham
×3

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

13k tokens

How to use it

Copy the folder

Take davepoon/linkedin-automation from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.