Token导航 LogoToken导航

Agent Skill · 研究检索

unipile-linkedin-sdk(unipile linkedin SDK 搜索)

unipile-linkedin-sdk 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

unipile-linkedin-sdk 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 20,606。

总安装 5,156周安装 217GitHub Stars 2下载 1,805核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.5.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:unipile-linkedin-sdk(unipile linkedin SDK 搜索)
来源仓库:https://github.com/mohit21gojs/unipile-linkedin-sdk
安装命令:
openclaw skills install unipile-linkedin-sdk
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install unipile-linkedin-sdk

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

unipile-linkedin-sdk 用于 LinkedIn 自动化操作,适合在 OpenClaw 中管理社交关系。支持发送消息、InMail、查看资料和发布动态。可批量处理连接请求和内容互动任务。需使用 OAuth 2.0 授权并遵循 LinkedIn 开发者协议。禁止用于 spam 或违反社区准则的行为。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install unipile-linkedin-sdk;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

unipile-linkedin-sdk 怎么安装?

在终端执行 openclaw skills install unipile-linkedin-sdk。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

unipile-linkedin-sdk 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

unipile-linkedin-sdk 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

unipile-linkedin-sdk 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

unipile-linkedin-sdk 用的人多吗?

公开数据是累计安装 5,156 次,近一周安装 217 次,下载 1,805 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

unipile-linkedin-sdk 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
unipile-linkedin-sdk

unipile linkedin SDK 搜索 · 本页

5,1562接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
unipile-linkedin-sdk
description
LinkedIn integration via Unipile's official Node.js SDK. Send messages, InMail, view profiles, manage connections, create posts, and interact with content. Use for LinkedIn automation, messaging, profile retrieval, connection requests, or post interactions. Trigger phrases: "linkedin api", "scrape linkedin", "linkedin profile", "linkedin posts", "send linkedin message".
version
1.5.0
metadata
openclaw
requires
env
optionalEnv
primaryEnv
UNIPILE_ACCESS_TOKEN
emoji
🔗
homepage
https://clawhub.ai/skills/unipile-linkedin-sdk
source
https://clawhub.ai/skills/unipile-linkedin-sdk

Unipile LinkedIn SDK

LinkedIn API via official Unipile Node.js SDK for messaging, profiles, posts, and invitations.

⚠️ Security: Use Least Privilege

Recommended: Set UNIPILE_PERMISSIONS=read for read-only access.

# RECOMMENDED: Read-only mode (safe, no write operations)
UNIPILE_PERMISSIONS=read node scripts/linkedin.mjs posts <account> andrewyng

# ONLY if you need to send messages or create posts
UNIPILE_PERMISSIONS=read,write node scripts/linkedin.mjs create-post <account> "text"

Your access token can perform actions on your behalf. Limit its scope with UNIPILE_PERMISSIONS.

Setup

Installation

npm install unipile-node-sdk

Environment Variables

VariableRequiredDescription
UNIPILE_DSN✅ YesAPI endpoint (e.g., https://api34.unipile.com:16473)
UNIPILE_ACCESS_TOKEN✅ YesAccess token from dashboard.unipile.com
UNIPILE_PERMISSIONSOptionalread, write, or read,write. Recommended: read

Permission Modes

ModeUNIPILE_PERMISSIONSAllowed OperationsUse Case
Read-only ⭐readList profiles, posts, chats, messages, connectionsData scraping, dashboards, analysis
Write-onlywriteSend messages, create posts, react, commentAutomation bots
Full accessread,writeAll operationsComplete LinkedIn automation

Default: read,write (full access) — Change to read for safety.

Least-Privilege Best Practice

# 1. Start with read-only (safest)
export UNIPILE_PERMISSIONS=read

# 2. Only enable write when specifically needed
export UNIPILE_PERMISSIONS=read,write  # Temporarily for a specific task

# 3. Revert to read-only after
export UNIPILE_PERMISSIONS=read

Client Initialization

import { UnipileClient } from 'unipile-node-sdk';

const client = new UnipileClient(
  process.env.UNIPILE_DSN,
  process.env.UNIPILE_ACCESS_TOKEN
);

// Check permissions before operations
const canWrite = (process.env.UNIPILE_PERMISSIONS || 'read,write').includes('write');
const canRead = (process.env.UNIPILE_PERMISSIONS || 'read,write').includes('read');

Credential Storage

Recommended approaches (in order of security):

  1. Environment variables — Set in shell profile or .env (add .env to .gitignore)
  2. Secrets manager — AWS Secrets Manager, HashiCorp Vault, etc.
  3. CI/CD secrets — GitHub Actions secrets, GitLab CI variables

Avoid: Storing tokens in plaintext files, especially in shared or version-controlled directories.

Get Credentials

  1. Sign up at dashboard.unipile.com
  2. Create an app to get your DSN and access token
  3. Connect a LinkedIn account via the dashboard or API

Invocation Examples

Setup & Account Discovery

"Connect to my LinkedIn account via Unipile"
"List my connected LinkedIn accounts"
"What's my LinkedIn profile info?"

Pattern: First get the account ID, then use it for all other operations.

// Step 1: Get your LinkedIn account ID
const accounts = await client.account.getAll();
const linkedin = accounts.items.find(a => a.type === 'LINKEDIN');
const accountId = linkedin.id;  // Use this for all operations

// Step 2: Get your own profile
const me = await client.users.getOwnProfile(accountId);

Profile Lookup

"Look up Andrew Ng's LinkedIn profile"
"Get Satya Nadella's LinkedIn experience section"
"Find the company profile for OpenAI on LinkedIn"
// User profile by public identifier (URL slug)
const profile = await client.users.getProfile({
  account_id: accountId,
  identifier: 'andrewyng'  // from linkedin.com/in/andrewyng
});

// With specific sections
const profile = await client.users.getProfile({
  account_id: accountId,
  identifier: 'satyanadella',
  linkedin_sections: ['experience', 'education', 'skills'],
  notify: true  // sends profile view notification
});

// Company profile
const company = await client.users.getCompanyProfile({
  account_id: accountId,
  identifier: 'openai'  // company URL slug
});

Posts & Content

"List posts from Andrew Ng on LinkedIn from last week"
"Get the latest 5 posts from Sundar Pichai"
"Show me Microsoft's recent LinkedIn posts"
"What did Andrew Ng post about AI recently?"
// Get posts from a user
const posts = await client.users.getAllPosts({
  account_id: accountId,
  identifier: 'andrewyng',  // or use provider_id from profile lookup
  limit: 10
});

// Filter by date range (client-side)
const oneWeekAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000);
const recentPosts = posts.items.filter(p => 
  new Date(p.parsed_datetime) >= oneWeekAgo
);

// Get specific post details
const post = await client.users.getPost({
  account_id: accountId,
  post_id: posts.items[0].id
});
// Returns: reactions, comments count, share_url, text, etc.

// Create a post on your own profile
await client.users.createPost({
  account_id: accountId,
  text: 'Excited to share my latest project! 🚀'
});

Messaging

"List my LinkedIn chats"
"Show unread messages on LinkedIn"
"Send a message to my last LinkedIn conversation"
// List all chats
const chats = await client.messaging.getAllChats({
  account_type: 'LINKEDIN',
  account_id: accountId,
  limit: 20
});

// Filter unread
const unreadChats = chats.items.filter(c => c.unread_count > 0);

// Get messages from a chat
const messages = await client.messaging.getAllMessagesFromChat({
  chat_id: chats.items[0].id,
  limit: 50
});

// Send message to existing chat
await client.messaging.sendMessage({
  chat_id: 'chat_id',
  text: 'Thanks for connecting!'
});

// Start new chat with someone
await client.messaging.startNewChat({
  account_id: accountId,
  attendees_ids: ['provider_id_from_profile'],
  text: 'Hi, I wanted to reach out about...'
});

InMail (Non-Connections)

"Send an InMail to someone outside my network"
"Message a LinkedIn user I'm not connected to"
await client.messaging.startNewChat({
  account_id: accountId,
  attendees_ids: ['target_provider_id'],
  text: 'Hi, I came across your profile...',
  options: {
    linkedin: {
      api: 'classic',  // or 'recruiter', 'sales_navigator'
      inmail: true
    }
  }
});

Note: InMail requires LinkedIn Premium.

Connections & Invitations

"List my LinkedIn connections"
"Show my pending connection requests"
"Send a connection request to [profile]"
"Cancel my pending invitation to [name]"
// List your connections
const connections = await client.users.getAllRelations({
  account_id: accountId,
  limit: 100
});

// Send connection request
await client.users.sendInvitation({
  account_id: accountId,
  provider_id: 'ACoAAA...',  // from profile lookup
  message: 'Hi, I enjoyed your recent post about AI!'
});

// List pending invitations you've sent
const invitations = await client.users.getAllInvitationsSent({
  account_id: accountId
});

// Cancel an invitation
await client.users.cancelInvitationSent({
  account_id: accountId,
  invitation_id: invitations.items[0].id
});

Reactions & Comments

"Like Andrew Ng's latest post"
"Add a comment on [post]"
"React with celebrate on [post]"
// React to a post
await client.users.sendPostReaction({
  account_id: accountId,
  post_id: '7440079959160913920',
  reaction_type: 'like'  // 'celebrate', 'support', 'love', 'insightful', 'funny'
});

// Comment on a post
await client.users.sendPostComment({
  account_id: accountId,
  post_id: '7440079959160913920',
  text: 'Great insights! Thanks for sharing.'
});

Account Connection

"Generate a link to connect my LinkedIn account"
"Create a hosted auth link for LinkedIn"
// Hosted auth (for multi-user apps)
const link = await client.account.createHostedAuthLink({
  type: 'create',
  expiresOn: new Date(Date.now() + 24 * 60 * 60 * 1000).toISOString(),
  providers: ['LINKEDIN'],
  success_redirect_url: 'https://yourapp.com/success',
  failure_redirect_url: 'https://yourapp.com/fail',
  notify_url: 'https://yourapp.com/webhook'
});
// Share link.url with user to connect their account

// Handle 2FA checkpoint
await client.account.solveCodeCheckpoint({
  account_id: accountId,
  provider: 'LINKEDIN',
  code: '123456'
});

Quick Reference

Read Operations (require read permission)

TaskMethod
List accountsclient.account.getAll()
Get profileclient.users.getProfile({ account_id, identifier })
Get own profileclient.users.getOwnProfile(account_id)
Get companyclient.users.getCompanyProfile({ account_id, identifier })
Get connectionsclient.users.getAllRelations({ account_id })
List postsclient.users.getAllPosts({ account_id, identifier })
Get postclient.users.getPost({ account_id, post_id })
List chatsclient.messaging.getAllChats({ account_type: 'LINKEDIN', account_id })
Get messagesclient.messaging.getAllMessagesFromChat({ chat_id })
List invitationsclient.users.getAllInvitationsSent({ account_id })

Write Operations (require write permission)

TaskMethod
Create postclient.users.createPost({ account_id, text })
React to postclient.users.sendPostReaction({ account_id, post_id, reaction_type })
Comment on postclient.users.sendPostComment({ account_id, post_id, text })
Send messageclient.messaging.sendMessage({ chat_id, text })
Start chatclient.messaging.startNewChat({ account_id, attendees_ids, text })
Send invitationclient.users.sendInvitation({ account_id, provider_id, message? })
Cancel invitationclient.users.cancelInvitationSent({ account_id, invitation_id })

Implementing Permission Checks

const PERMISSIONS = (process.env.UNIPILE_PERMISSIONS || 'read,write').split(',');

function requireWrite() {
  if (!PERMISSIONS.includes('write')) {
    throw new Error('Operation requires write permission. Set UNIPILE_PERMISSIONS=write');
  }
}

function requireRead() {
  if (!PERMISSIONS.includes('read')) {
    throw new Error('Operation requires read permission. Set UNIPILE_PERMISSIONS=read');
  }
}

// Usage
async function safeCreatePost(accountId, text) {
  requireWrite();
  return client.users.createPost({ account_id: accountId, text });
}

Response Patterns

List Endpoints

Return { object: '...List', items: [...], cursor: string | null }

  • Filter with limit, after (ISO date), cursor for pagination
  • Date filtering done client-side on parsed_datetime field

Account Object

{
  id: 'MvbNEuYTTZ-o-QCHITLGnw',  // Use as account_id
  type: 'LINKEDIN',
  name: 'John Doe',
  sources: [{ id: '...', status: 'OK' }]
}

Profile Object

{
  provider_id: 'ACoAAA...',       // Use for invitations
  public_identifier: 'john-doe',  // URL slug
  first_name: 'John',
  last_name: 'Doe',
  headline: 'CEO at Company',
  location: 'San Francisco, CA',
  profile_picture_url: 'https://...'
}

Post Object

{
  id: '7440079959160913920',
  text: 'Post content...',
  parsed_datetime: '2026-03-18T17:01:32.265Z',
  reaction_counter: 2064,
  comment_counter: 130,
  share_url: 'https://www.linkedin.com/posts/...',
  author: { name: '...', public_identifier: '...' }
}

Error Handling

import { UnsuccessfulRequestError } from 'unipile-node-sdk';

try {
  await client.users.getProfile({ account_id, identifier });
} catch (err) {
  if (err instanceof UnsuccessfulRequestError) {
    const { status, type, detail } = err.body;
    
    switch (type) {
      case 'errors/invalid_credentials':
        // Reconnect account
        break;
      case 'errors/checkpoint_error':
        // Prompt for 2FA code
        break;
      case 'errors/disconnected_account':
        // Account needs reconnection
        break;
      case 'errors/resource_not_found':
        // Invalid ID or profile doesn't exist
        break;
      case 'errors/invalid_recipient':
        // Profile identifier not found
        break;
    }
  }
}

Common Error Types

TypeStatusMeaningAction
errors/invalid_credentials401Wrong username/passwordReconnect account
errors/expired_credentials401Session expiredReconnect account
errors/checkpoint_error4032FA/OTP requiredCall solveCodeCheckpoint
errors/invalid_checkpoint_solution400Wrong 2FA codeRetry with correct code
errors/disconnected_account403Account disconnectedReconnect
errors/insufficient_privileges403Account lacks permissionCheck LinkedIn tier
errors/resource_not_found404Invalid IDVerify the ID exists
errors/invalid_recipient422Profile not foundCheck identifier spelling
errors/invalid_parameters400Bad request paramsCheck parameter format
errors/malformed_request400Invalid request bodyCheck API requirements

Limitations

  • Post Comments API: getAllPostComments may return errors for some posts due to API limitations
  • InMail: Requires LinkedIn Premium subscription
  • Rate Limits: LinkedIn has strict rate limits; implement backoff for bulk operations
  • Date Filtering: Must be done client-side on parsed_datetime field

Resources

Security & Trust

What This Skill Does

This skill provides a wrapper around the official unipile-node-sdk npm package. It only makes API calls to your configured Unipile DSN endpoint.

Network calls: Only to UNIPILE_DSN (your Unipile API endpoint)

Data handling: Credentials are read from environment variables only — never stored or transmitted elsewhere

Required Credentials

VariablePurposeHow to Get
UNIPILE_DSNYour Unipile API endpointFrom dashboard.unipile.com
UNIPILE_ACCESS_TOKENAPI authentication tokenFrom dashboard.unipile.com

Best practices:

  • Store in environment variables or a secrets manager
  • Never commit tokens to git or version control
  • Avoid storing in workspace files that may be shared or synced

Verify the SDK

The underlying SDK is open source and can be audited:

  • npm: npm info unipile-node-sdk
  • GitHub: https://github.com/unipile/unipile-node-sdk
  • Install from source: npm install git+https://github.com/unipile/unipile-node-sdk.git

Scope Considerations

This skill can:

  • Read your LinkedIn profile and connections
  • Send messages and create posts on your behalf
  • View other users' profiles and posts

Recommendations:

  • Use a dedicated LinkedIn account for automation
  • Review Unipile's OAuth scopes before connecting
  • Monitor activity via Unipile dashboard
  • Use UNIPILE_PERMISSIONS=read for least privilege

Provenance

  • Publisher: @Mohit21GoJs on ClawHub
  • Skill Source: https://clawhub.ai/skills/unipile-linkedin-sdk
  • SDK Source: https://github.com/unipile/unipile-node-sdk
  • SDK License: MIT (official Unipile package)

平台分布

OpenClaw

82.01%
按下载量换算1,480

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills