首页龙虾技能列表 › Linkedin Pipedream — 技能工具

💼 Linkedin Pipedream — 技能工具

v1.0.0

[自动翻译] Post to LinkedIn, comment, like, search organizations, and manage profiles via Pipedream OAuth integration.

0· 1,653·3 当前·4 累计
by @g9pedro (G9Pedro)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/11
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
安全
medium confidence
The skill's requirements and behavior are largely consistent with its stated purpose (posting to LinkedIn via Pipedream/pdauth), but it reads local pdauth credentials and includes a Node script dependency that isn't declared — review before installing.
评估建议
This skill appears to do what it says (use Pipedream/pdauth to interact with LinkedIn), but review a few things before installing: - The included Node script (org-post.mjs) reads ~/.config/pdauth/config.json and will access clientId/clientSecret/projectId stored by pdauth — these are sensitive credentials. Only install if you trust the skill owner and understand that the script uses your local pdauth credentials. - The script imports '@pipedream/sdk' and expects Node to be available; the skill ...
详细分析 ▾
用途与能力
Name/description (LinkedIn via Pipedream) match the declared binary dependency (pdauth), the SKILL.md instructions (pdauth connect/status/call), and the included workaround script which calls Pipedream actions. Dependency on pdauth is expected for this functionality.
指令范围
Most runtime instructions stick to the stated purpose (connect via OAuth, call Pipedream tools to post/comment/like/search). However the included org-post.mjs script reads the user's ~/.config/pdauth/config.json (clientId/clientSecret/projectId) and uses the Pipedream SDK to run an action directly as a workaround. That file access is within the domain of using pdauth but is not explicitly called out as a sensitive operation in the main metadata, so users should be aware the skill will read local auth configuration.
安装机制
There is no external download or remote URL; the skill depends on the pdauth skill/CLI which is coherent. The org-post.mjs file imports '@pipedream/sdk' and requires Node to run, but the skill metadata does not declare Node/npm or that package as an install step — that is a minor coherence gap (the script will fail unless the runtime provides @pipedream/sdk or the user installs it).
凭证需求
The skill declares no required environment variables, but the included script reads ~/.config/pdauth/config.json which contains clientId, clientSecret, and projectId (sensitive credentials). Reading those local secrets is explainable by the workaround, but the metadata does not declare access to those secrets. Users should expect the skill to access their pdauth config (client credentials and project info).
持久化与权限
always is false and the skill does not request elevated or permanent placement. It does not modify other skills or global agent settings. Autonomous invocation is allowed (default) but not combined with other high-risk factors.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/4

- Initial release of linkedin-pipedream skill. - Enables posting, commenting, liking, searching organizations, and managing LinkedIn profiles via Pipedream OAuth integration. - Includes 19 tools for LinkedIn automation; most work via MCP, with organization posting requiring a workaround. - Requires prior installation and configuration of the pdauth skill for authentication. - Detailed usage examples and tool reference provided in documentation.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install linkedin-pipedream
镜像加速npx clawhub@latest install linkedin-pipedream --registry https://cn.clawhub-mirror.com

技能文档

Full LinkedIn automation using Pipedream's OAuth infrastructure. Post as yourself or your organization, comment on posts, search companies, and more.

Prerequisites

  • pdauth CLI installed and configured — see pdauth skill
  • LinkedIn account connected via OAuth

Quick Start

# 1. Connect LinkedIn (generates OAuth link for user to click)
pdauth connect linkedin --user telegram:5439689035

# 2. After user authorizes, verify connection pdauth status --user telegram:5439689035

# 3. Post to LinkedIn pdauth call linkedin.linkedin-create-text-post-user \ --user telegram:5439689035 \ --args '{"instruction": "Create a post: Excited to announce our new product launch! 🚀"}'

OAuth Flow

# Generate OAuth link
pdauth connect linkedin --user USER_ID

# Share with user: "Click to authorize LinkedIn: " # User clicks → authorizes via LinkedIn → done

# Verify connection pdauth status --user USER_ID

User ID convention: Use telegram: format for Telegram users.


Available Tools (19 total)

✅ Working via MCP (pdauth call)

ToolPurpose
linkedin-create-text-post-userPost as personal account
linkedin-create-image-post-userPost with image (personal)
linkedin-create-commentComment on any post
linkedin-create-like-on-shareLike a post
linkedin-search-organizationSearch for companies
linkedin-get-current-member-profileGet your own profile
linkedin-get-member-profileGet any member's profile
linkedin-get-org-member-accessCheck org admin status
linkedin-retrieve-comments-sharesGet comments on a post
linkedin-delete-postDelete your post

⚠️ Broken via MCP (requires workaround)

ToolIssueWorkaround
linkedin-create-text-post-organization"tool name too long" bugUse direct SDK call
linkedin-create-image-post-organizationSame bugUse direct SDK call

Tool Reference

1. Create Personal Post

pdauth call linkedin.linkedin-create-text-post-user \
  --user telegram:5439689035 \
  --args '{"instruction": "Create a post: Your post content here. Use emojis 🎉 and hashtags #AI #Tech"}'

Tips:

  • Keep posts under 3000 characters
  • Emojis increase engagement
  • Use line breaks for readability

2. Create Image Post (Personal)

pdauth call linkedin.linkedin-create-image-post-user \
  --user telegram:5439689035 \
  --args '{"instruction": "Create image post with text: Check out our new office! Image URL: https://example.com/image.jpg"}'

3. Comment on a Post

# Comment using post URN
pdauth call linkedin.linkedin-create-comment \
  --user telegram:5439689035 \
  --args '{"instruction": "Comment on urn:li:share:7293123456789012480 with text: Great insights! Thanks for sharing."}'

Finding post URNs:

  • From LinkedIn URL: linkedin.com/posts/username_activity-7293123456789012480 → URN is urn:li:share:7293123456789012480
  • Or use linkedin-retrieve-comments-shares on known posts

4. Like a Post

pdauth call linkedin.linkedin-create-like-on-share \
  --user telegram:5439689035 \
  --args '{"instruction": "Like the post urn:li:share:7293123456789012480"}'

5. Search Organizations

pdauth call linkedin.linkedin-search-organization \
  --user telegram:5439689035 \
  --args '{"instruction": "Search for companies matching: artificial intelligence startups"}'

6. Get Your Profile

pdauth call linkedin.linkedin-get-current-member-profile \
  --user telegram:5439689035 \
  --args '{"instruction": "Get my LinkedIn profile"}'

Returns: name, headline, URN, vanity name, etc.

7. Get Member Profile

pdauth call linkedin.linkedin-get-member-profile \
  --user telegram:5439689035 \
  --args '{"instruction": "Get profile for member URN urn:li:person:30_5n7bx7f"}'

8. Check Organization Admin Access

pdauth call linkedin.linkedin-get-org-member-access \
  --user telegram:5439689035 \
  --args '{"instruction": "Check my access level for organization 105382747"}'

Returns: ADMINISTRATOR, MEMBER, or NONE

9. Get Comments on a Post

pdauth call linkedin.linkedin-retrieve-comments-shares \
  --user telegram:5439689035 \
  --args '{"instruction": "Get comments for post urn:li:share:7293123456789012480"}'

10. Delete a Post

pdauth call linkedin.linkedin-delete-post \
  --user telegram:5439689035 \
  --args '{"instruction": "Delete post urn:li:share:7293123456789012480"}'

Organization Posting (Workaround Required)

The Bug

linkedin-create-text-post-organization fails via MCP with:

Error: tool name too long

This is a Pipedream MCP bug, not a LinkedIn API issue.

Workaround: Direct SDK Call

Create a Node.js script to post as organization:

// org-post.mjs
import { PipedreamClient } from '@pipedream/sdk';

const client = new PipedreamClient({ projectEnvironment: 'development', clientId: 'YOUR_CLIENT_ID', // from ~/.config/pdauth/config.json clientSecret: 'YOUR_CLIENT_SECRET', projectId: 'YOUR_PROJECT_ID', });

async function postAsOrg(orgId, text) { const result = await client.actions.run({ id: 'linkedin-create-text-post-organization', externalUserId: 'telegram:5439689035', configuredProps: { linkedin: { authProvisionId: 'apn_4vhLGx4' }, // LinkedIn account ID organizationId: orgId, text: text, }, }); console.log('Posted!', result); }

// Example usage postAsOrg('105382747', 'Hello from Versatly! 🚀');

Run with:

node org-post.mjs

Known Organization IDs

OrganizationIDURN
Versatly105382747urn:li:organization:105382747

Key Reference Values

Pedro's LinkedIn Info

ItemValue
Member URNurn:li:person:30_5n7bx7f
User ID (Pipedream)telegram:5439689035
Auth Provision IDapn_4vhLGx4
Admin ofVersatly (org 105382747)

URN Formats

TypeFormatExample
Personurn:li:person:IDurn:li:person:30_5n7bx7f
Organizationurn:li:organization:IDurn:li:organization:105382747
Post/Shareurn:li:share:IDurn:li:share:7293123456789012480
Commenturn:li:comment:(urn:li:share:ID,ID)Complex nested URN

Common Patterns

Pattern 1: Post and Verify

# Post
pdauth call linkedin.linkedin-create-text-post-user \
  --user telegram:5439689035 \
  --args '{"instruction": "Create post: Just shipped a new feature! 🎉"}'

# The response includes the post URN - save it for later

Pattern 2: Engage with Content

# Find posts to engage with (manual: get URN from LinkedIn URL)
# Like the post
pdauth call linkedin.linkedin-create-like-on-share \
  --user telegram:5439689035 \
  --args '{"instruction": "Like post urn:li:share:7293123456789012480"}'

# Comment pdauth call linkedin.linkedin-create-comment \ --user telegram:5439689035 \ --args '{"instruction": "Comment on urn:li:share:7293123456789012480: Congrats on the launch!"}'

Pattern 3: Research a Company

# Search for the company
pdauth call linkedin.linkedin-search-organization \
  --user telegram:5439689035 \
  --args '{"instruction": "Search for OpenAI"}'

# Check if you have admin access (for orgs you manage) pdauth call linkedin.linkedin-get-org-member-access \ --user telegram:5439689035 \ --args '{"instruction": "Check access for organization 12345678"}'


Error Handling

Common Errors

ErrorCauseSolution
App not connectedNo LinkedIn OAuthRun pdauth connect linkedin --user USER_ID
tool name too longMCP bug for org toolsUse direct SDK workaround
403 ForbiddenNo permission for actionCheck org admin status
Invalid URNMalformed URN formatUse correct format: urn:li:type:id
Rate limitedToo many API callsWait and retry (LinkedIn limits ~100 calls/day)

Checking Connection Status

# Quick status check
pdauth status --user telegram:5439689035

# JSON output for parsing pdauth status --user telegram:5439689035 --json

Reconnecting

If OAuth expires or breaks:

pdauth disconnect linkedin --user telegram:5439689035
pdauth connect linkedin --user telegram:5439689035
# Share new link with user

Best Practices

  • Rate Limits: LinkedIn is strict. Space out bulk operations.
  • Content Quality: LinkedIn penalizes spammy content. Write thoughtfully.
  • Org Posting: Always verify admin access before attempting org posts.
  • URN Handling: Always validate URN format before API calls.
  • Error Recovery: If a post fails, check status before retrying (may have succeeded).

Example Workflow: Complete LinkedIn Campaign

# 1. Verify connection
pdauth status --user telegram:5439689035

# 2. Check org admin status pdauth call linkedin.linkedin-get-org-member-access \ --user telegram:5439689035 \ --args '{"instruction": "Check access for organization 105382747"}'

# 3. Post personal announcement pdauth call linkedin.linkedin-create-text-post-user \ --user telegram:5439689035 \ --args '{"instruction": "Create post: Thrilled to share that Versatly just launched our new AI assistant! 🤖 #AI #Startup"}'

# 4. Post as organization (use SDK workaround) # → Run org-post.mjs script

# 5. Engage with relevant industry posts pdauth call linkedin.linkedin-create-comment \ --user telegram:5439689035 \ --args '{"instruction": "Comment on urn:li:share:XXXXX: Great perspective on AI safety!"}'


Files & Configuration

FilePurpose
~/.config/pdauth/config.jsonPipedream credentials
~/.openclaw/workspace/pdauth/pdauth CLI source
~/.openclaw/workspace/skills/pdauth/SKILL.mdpdauth skill reference

See Also

  • pdauth skill — OAuth management for all Pipedream apps
  • Pipedream MCP — Browse all available integrations
  • LinkedIn API Docs — Official API reference
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务