← 返回
未分类 Key 中文

LinkedIn Post

Draft, prepare, and publish LinkedIn feed posts through OpenClaw browser automation. Use when a user wants to turn approved post copy into a real LinkedIn fe...
通过OpenClaw浏览器自动化草拟、准备并发布领英动态。当需要将已批准的文案转化为实际的领英动态时使用。
yonghyeokrhee yonghyeokrhee 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 305
下载
💾 0
安装
1
版本
#browser-automation#latest#linkedin#stable

概述

linkedin-post

Use this skill for LinkedIn feed posts.

Prerequisites:

  • OpenClaw CLI is installed
  • OpenClaw browser automation is enabled
  • the chosen browser profile is already logged into LinkedIn
  • a gateway token is available either through OPENCLAW_GATEWAY_TOKEN or an openclaw.json config file

Keep the workflow strict:

  1. Confirm the user wants a feed post, not an article.
  2. Finalize the post copy first.
  3. Prepare the composer and fill the content.
  4. Only click Post after explicit user approval.

Workflow

1. Finalize the copy

Do not open the composer until the copy is settled enough to paste.

If the user is still iterating on tone or structure, finish that first.

2. Prepare the browser session

Use OpenClaw browser CLI, not manual shell hacks.

The environment may need the gateway token even when browser support is enabled.

The helper script reads the token in this order:

  1. OPENCLAW_GATEWAY_TOKEN
  2. the file passed with --config
  3. ~/.openclaw/openclaw.json

If browser commands fail unexpectedly, check:

  • the browser profile is correct and already logged into LinkedIn
  • a gateway token is present
  • openclaw browser status --profile succeeds

3. Use the helper script

Use scripts/linkedin_post.py for the normal workflow. It:

  • starts the browser profile if needed
  • opens the LinkedIn feed share modal
  • finds the composer textbox from the snapshot
  • fills the content
  • optionally clicks Post

Prepare only

python3 scripts/linkedin_post.py --content-file /tmp/linkedin_post.txt

or

cat /tmp/linkedin_post.txt | python3 scripts/linkedin_post.py

If the token is not already exported, pass a config file explicitly:

python3 scripts/linkedin_post.py --content-file /tmp/linkedin_post.txt --config ~/.openclaw/openclaw.json

This fills the post body and stops before publishing.

Publish after approval

python3 scripts/linkedin_post.py --content-file /tmp/linkedin_post.txt --publish

Only run --publish after the user clearly says to post it.

Safety rule

Preparing the composer is reversible. Publishing is external side effect.

Before --publish, make sure the user has already approved:

  • the exact body text
  • any link included in the post
  • that this should go to LinkedIn now

If approval is ambiguous, stop at prepare-only mode and ask.

Notes

  • This skill is for https://www.linkedin.com/feed/?shareActive=true, not LinkedIn article publishing.
  • LinkedIn article pages such as /post/new/ or /article/new/ are different flows. Do not confuse them with feed posting.
  • The skill depends on the openclaw CLI binary and browser subcommands being available on the host.
  • The skill assumes LinkedIn authentication already exists in the selected browser profile. It does not perform account login or two-factor setup.
  • After filling the body, re-snapshot if needed to confirm link unfurl and that the Post button is enabled.
  • If refs change, re-run snapshot and let the helper script rediscover them instead of hardcoding stale refs.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 21:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Marketing Skills

jchopard69
{"answer":"获取23个营销模块,包含CRO、SEO、文案、分析、发布、广告及社媒的清单、框架与现成交付物。"}
★ 142 📥 30,594
business-ops

CS Coordinator agent

yonghyeokrhee
Lightweight CS and engineering issue triage with skeleton-first intake, conservative severity/category routing, ownershi
★ 0 📥 402
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 894 📥 204,826