简介
通过 Unipile API 自动化管理 LinkedIn 消息、人脉、动态发布与互动,需第三方凭证授权,适合社交销售与商务拓展。
原始描述
Interact with LinkedIn via Unipile API - send messages, view profiles, manage connections, create posts, react to content. Use when the user asks to message someone on LinkedIn, check LinkedIn messages, view LinkedIn profiles, send connection requests, create LinkedIn posts, or interact with LinkedIn content.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
中文使用说明 来自收录源
核心功能
Unipile LinkedIn Skill 是一套基于 Node.js CLI 的 LinkedIn 自动化工具,通过 Unipile 官方 API 实现对 LinkedIn 账号的完整操作覆盖,包括:
| 模块 | 能力 |
|---|---|
| 消息管理 | 读取聊天列表、收发消息、发起新对话(支持 InMail) |
| 人脉运营 | 发送/取消连接请求、查看一度人脉列表、管理待处理邀请 |
| 档案获取 | 抓取个人/公司档案、指定字段(经历、教育、技能) |
| 内容互动 | 发布动态、评论、6种反应类型(👍🎉️等) |
| 账户管理 | 多账号切换、连接状态监控 |
显著优点
- API 而非爬虫:基于 Unipile 官方授权接口,相比浏览器自动化方案稳定性更高,不易触发平台风控
- 功能完整度高:覆盖 LinkedIn 核心商务场景,从破冰私信到内容运营形成闭环
- 多账号支持:
account_id参数设计便于团队批量管理销售账号 - InMail 支持:对非好友直邮能力对 B2B 销售场景价值显著
潜在局限与风险
| 类型 | 说明 |
|---|---|
| 成本门槛 | Unipile 为付费 SaaS,按账号数/API 调用量计费,个人用户成本敏感 |
| 凭证依赖 | 需额外注册第三方服务并托管 UNIPILE_ACCESS_TOKEN,增加供应链攻击面 |
| 平台政策 | LinkedIn 明确限制自动化工具,过度使用可能导致账号限制(即使走 API) |
| 数据隐私 | 抓取他人档案信息需符合 GDPR 等法规,商用场景存在合规审查风险 |
| 功能边界 | 不支持高级搜索、Sales Navigator 专属功能、群组互动等 |
适合人群
- 社交销售(Social Selling)团队:规模化触达潜在客户、跟进销售线索
- HR/猎头:批量管理候选人沟通、职位发布同步
- 个人品牌运营者:定时发布内容、自动化互动养号
- CRM 集成开发者:将 LinkedIn 数据桥接至内部系统
常规风险建议
- 建议单账号日发送消息量控制在 LinkedIn 商业限制内(通常 100-150 条/天)
- 启用 Unipile 的 webhook 监控账号异常状态
- 定期轮换
UNIPILE_ACCESS_TOKEN,避免硬编码存储 - 涉及 EU 用户数据时,确保已签署 DPA(数据处理协议)
技能正文
name: unipile-linkedin description: Interact with LinkedIn via Unipile API - send messages, view profiles, manage connections, create posts, react to content. Use when the user asks to message someone on LinkedIn, check LinkedIn messages, view LinkedIn profiles, send connection requests, create LinkedIn posts, or interact with LinkedIn content.
Unipile LinkedIn
Access LinkedIn through the Unipile API using the CLI script.
Setup
Requires environment variables in ~/.openclaw/workspace/TOOLS.md or shell:
UNIPILE_DSN- Your Unipile API endpoint (e.g.,https://api1.unipile.com:13111)UNIPILE_ACCESS_TOKEN- Your Unipile access token
Get credentials from dashboard.unipile.com.
Usage
Run commands via the CLI script:
./scripts/linkedin.mjs <command> [options]
Commands
Account Management
./scripts/linkedin.mjs accounts # List connected accounts
./scripts/linkedin.mjs account <account_id> # Get account details
Messaging
./scripts/linkedin.mjs chats [--account_id=X] [--limit=N] [--unread] # List chats
./scripts/linkedin.mjs chat <chat_id> # Get chat details
./scripts/linkedin.mjs messages <chat_id> [--limit=N] # List messages in chat
./scripts/linkedin.mjs send <chat_id> "<text>" # Send message
./scripts/linkedin.mjs start-chat <account_id> "<text>" --to=<user_id>[,<user_id>] [--inmail] # Start new chat
Profiles
./scripts/linkedin.mjs profile <account_id> <identifier> [--sections=experience,education,skills] [--notify]
./scripts/linkedin.mjs my-profile <account_id> # Your own profile
./scripts/linkedin.mjs company <account_id> <identifier> # Company profile
./scripts/linkedin.mjs relations <account_id> [--limit=N] # Your connections
Invitations
./scripts/linkedin.mjs invite <account_id> <provider_id> ["message"] # Send connection request
./scripts/linkedin.mjs invitations <account_id> [--limit=N] # List pending invites
./scripts/linkedin.mjs cancel-invite <account_id> <invitation_id> # Cancel invitation
Posts
./scripts/linkedin.mjs posts <account_id> <identifier> [--company] [--limit=N] # List posts
./scripts/linkedin.mjs post <account_id> <post_id> # Get post
./scripts/linkedin.mjs create-post <account_id> "<text>" # Create post
./scripts/linkedin.mjs comments <account_id> <post_id> [--limit=N] # List comments
./scripts/linkedin.mjs comment <account_id> <post_id> "<text>" # Add comment
./scripts/linkedin.mjs react <account_id> <post_id> [--type=like|celebrate|support|love|insightful|funny]
Attendees
./scripts/linkedin.mjs attendees [--account_id=X] [--limit=N] # List chat contacts
Examples
# List all chats, only unread
./scripts/linkedin.mjs chats --unread
# Send a message
./scripts/linkedin.mjs send "abc123" "Thanks for connecting!"
# View someone's profile with experience section
./scripts/linkedin.mjs profile "myaccount" "john-doe-123" --sections=experience,about
# Send connection request with note
./scripts/linkedin.mjs invite "myaccount" "jane-smith-456" "Hi Jane, let's connect!"
# Create a LinkedIn post
./scripts/linkedin.mjs create-post "myaccount" "Excited to announce our new product launch! 🚀"
# React to a post
./scripts/linkedin.mjs react "myaccount" "post789" --type=celebrate
Notes
identifiercan be a LinkedIn user ID or profile URL slugaccount_idis your connected LinkedIn account ID (get fromaccountscommand)- Use
--inmailflag when messaging non-connections (requires LinkedIn Premium)
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。