linkedin-automation
它能做什么
这个工具可以自动完成 LinkedIn 上的一些操作,比如发布帖子、管理个人资料、在动态下发表评论。它通过一个名为 Rube MCP 的系统连接到 LinkedIn。
适用场景
- ✓当你想把文字或图片发布到自己的 LinkedIn 主页时。
- ✓当你需要查看自己的个人资料或公司主页信息时。
- ✓当你想在一条已有的帖子下留言评论时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/linkedin-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一条 LinkedIn 帖子,配上一张日落图片和文字“多美的风景啊!””
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会连接到你的 LinkedIn 账号,并通过特定指令执行发布或评论等操作。它会先检查连接是否正常,然后再执行你要求的任务。
技术内容(原始 SKILL.md)
作者在 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
…
常见问题
使用这个工具需要付费吗?
工具本身是免费的,但你需要有一个可用的 LinkedIn 账号,并先把它连接好,工具才能正常工作。
我可以用它查看别人的个人资料吗?
不可以。这个工具只能获取你自己已连接账号的信息。
如果我发错了内容怎么办?
你可以删除自己发布的帖子。评论一旦发出,工具通常无法将其删除。
详情
作者的原始描述
Automate LinkedIn tasks via Rube MCP (Composio): create posts, manage profile, company info, comments, and image uploads. Always search tools first for current schemas.
热度
- GitHub 星标
- 48k
- 排名
- #5061
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。