← 返回 Skills 市场
david3xu

LinkedIn Poster

作者 david3xu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
237
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkedin-poster
功能描述
Use when you need to post content to LinkedIn, including text posts, image posts, and
使用说明 (SKILL.md)

LinkedIn Posting

Overview

Post text and images to LinkedIn via the message tool using the linkedin channel. Supports text-only posts, image posts (local files or URLs), and #BuildInPublic updates.

Prerequisites

The linkedin channel must be configured in channels.linkedin with:

  • accessToken: OAuth 2.0 token with w_member_social scope
  • personUrn: Your LinkedIn person URN (e.g. urn:li:person:Abc123)

Posting Text

Use the message tool to send a text post:

message send --channel linkedin --text "Your post content here"

The post goes to the authenticated user's LinkedIn feed as a public post.

Posting with Images

Two-step process:

  1. Create the image — generate or locate the image file (PNG/JPG/GIF/WebP)
  2. Post with image — use message send with the --media flag:
message send --channel linkedin --text "Post caption" --media /path/to/image.png

Supported image sources:

  • Local file paths: /Users/david/image.png
  • file:// URLs: file:///Users/david/image.png
  • Remote URLs: https://example.com/image.png

Image Upload Flow (internals)

The extension handles a 3-step LinkedIn UGC API flow automatically:

  1. Register upload → gets uploadUrl + asset URN
  2. PUT binary to uploadUrl
  3. Create UGC post with asset reference

You don't need to manage this — just provide the image path.

Best Practices

  • Always confirm post content with the owner before posting
  • Keep posts concise — LinkedIn favors 150-300 word posts
  • Add hashtags at the end, not inline (3-5 max)
  • For #BuildInPublic: include what you built, what you learned, a visual
  • Image sizing: 1200x627px for link previews, 1080x1080 for square posts
  • Never post without explicit owner approval

Post Templates

#BuildInPublic Update

🚀 [What you built today]

[2-3 sentences about what it does and why it matters]

Tech stack: [list]

[Screenshot or diagram]

#BuildInPublic #[topic] #[tech]

Project Milestone

✅ [Milestone achieved]

[Brief context — what, why, how]

Key learnings:
→ [Learning 1]
→ [Learning 2]
→ [Learning 3]

Next up: [what's coming]

#[project] #[topic]

Technical Deep-Dive

💡 TIL: [Thing you learned]

[Explanation in 2-3 paragraphs]

[Code snippet or diagram if relevant]

#TIL #[topic] #[tech]

Troubleshooting

Error Cause Fix
401 Unauthorized Token expired Re-authenticate, update channels.linkedin.accessToken
403 Forbidden Missing w_member_social scope Re-create OAuth app with correct scopes
Image upload 400 File too large (>10MB) Compress image before uploading
Empty postUrn API didn't return ID Post likely succeeded — check LinkedIn feed
安全使用建议
This skill appears to do what it says. Before installing, ensure you: (1) store a LinkedIn access token with the minimal required scope (w_member_social) in channels.linkedin and rotate it regularly; (2) understand that posting images may require the agent to read local files or fetch remote URLs — avoid giving it access to sensitive files you don't want uploaded; (3) confirm the agent will ask for owner approval before sending posts (the SKILL.md recommends confirmation but enforcement depends on your agent configuration); and (4) review who else can access channels.linkedin in your environment so tokens aren't shared unintentionally.
功能分析
Type: OpenClaw Skill Name: linkedin-poster Version: 1.0.0 The LinkedIn posting skill bundle is well-documented and aligns strictly with its stated purpose of sharing updates and images to LinkedIn. It utilizes the standard OpenClaw 'message' tool, includes explicit instructions for the agent to seek user confirmation before posting, and contains no evidence of data exfiltration, malicious command execution, or harmful prompt injection across SKILL.md or the template files.
能力评估
Purpose & Capability
Name/description match the actual requirements and behavior: the skill is an instruction-only LinkedIn poster and only requires a channels.linkedin config (accessToken and personUrn). There are no unrelated env vars or binaries requested.
Instruction Scope
SKILL.md restricts actions to composing posts and uploading images via the linkedin channel using the message tool. It explicitly allows local file paths, file:// URLs, and remote URLs for images — which is appropriate for image posting but means the agent will need to access local files or fetch remote content when asked. This is within scope but has expected privacy implications (local file access, network fetches).
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk or downloaded during install — lowest-risk installation profile.
Credentials
The skill requires channels.linkedin config (accessToken with w_member_social and personUrn), which is proportional and necessary for posting. No unrelated credentials or broad environment access are requested.
Persistence & Privilege
The skill is not always-on, does not request elevated platform privileges, and does not modify other skills or global agent settings. It relies on the platform's linkedin channel to perform actions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linkedin-poster
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linkedin-poster 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Text + image posting via native LinkedIn channel extension. Uses official UGC API — no cookies, no paid service.
元数据
Slug linkedin-poster
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

LinkedIn Poster 是什么?

Use when you need to post content to LinkedIn, including text posts, image posts, and. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 237 次。

如何安装 LinkedIn Poster?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install linkedin-poster」即可一键安装,无需额外配置。

LinkedIn Poster 是免费的吗?

是的,LinkedIn Poster 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

LinkedIn Poster 支持哪些平台?

LinkedIn Poster 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 LinkedIn Poster?

由 david3xu(@david3xu)开发并维护,当前版本 v1.0.0。

💬 留言讨论