linkedin-automation
Automates tasks on LinkedIn, like creating posts and managing the profile. It helps the agent maintain an active and professional presence on the network.
What it does
This tool automates tasks on LinkedIn, like creating posts, managing your profile, and commenting on updates. It uses a system called Rube MCP to connect to LinkedIn.
When to use it
- ✓When you want to publish text or an image to your LinkedIn profile.
- ✓When you need to view information about your profile or a company page.
- ✓When you want to leave a comment on an existing post.
Example of what to ask your AI
“Create a LinkedIn post with a sunset image and the text 'What an amazing view!'”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool connects to your LinkedIn account and uses specific commands to perform actions like posting or commenting. It first checks if everything is connected and then executes the requested task.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill linkedin-automationOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/linkedin-automation/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
LinkedIn Automation via Rube MCP
Automate LinkedIn operations through Composio's LinkedIn toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active LinkedIn connection via
RUBE_MANAGE_CONNECTIONSwith toolkitlinkedin - Always call
RUBE_SEARCH_TOOLSfirst 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_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitlinkedin - 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 textvisibility: 'PUBLIC' or 'CONNECTIONS'media_title: Title for attached mediamedia_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 ontext: Comment contentactor: 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
…
FAQ
Do I need to pay to use this tool?
The tool itself is free, but you need an active LinkedIn account and must connect it for the tool to work.
Can I use it to view other people's profiles?
No, this tool can only retrieve information from your own connected profile.
What happens if I post something wrong?
You can delete posts that you created yourself. Comments, once posted, generally cannot be deleted by the tool.
Details
Original description by the author
Automate LinkedIn tasks via Rube MCP (Composio): create posts, manage profile, company info, comments, and image uploads. Always search tools first for current schemas.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3447
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
benchmark
Helps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.
affaan-m/ECC
content-hash-cache-pattern
Lets your agent use content hashes to cache file processing results. This avoids repeated processing and auto-invalidates the cache when content changes. Useful for speeding up slow tasks.
affaan-m/ECC
parallel-execution-optimizer
Makes your agent speed up complex tasks by breaking them into smaller parts and running them in parallel. It ensures everything is verified at the end.
affaan-m/ECC