360 Secure SkillHub
360 安全技能中心

LinkedIn: post & schedule posts (1Social)

借助 1Social MCP 把草稿发布到用户自己的 LinkedIn 账号或预约 30 天内发布:先查询账号与配额,用免费预览修正格式与字数问题,经用户确认后发布并返回逐平台回执;也支持媒体上传、查看、修改、取消和删除帖子。

分类:营销
sultanlive
sultanlive
热度 14.82
最近更新 2026-10-27 18:58:25

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add sultanlive/linkedin
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
linkedin-post
description
Post to LinkedIn and schedule LinkedIn posts from OpenClaw, Hermes, Claude Code or Codex. Publishes to the user's own LinkedIn account via the 1Social MCP server (OAuth, no API key), checks the LinkedIn 3,000-character limit and formatting first, schedules up to 30 days ahead and returns a delivery receipt. Use to post or schedule on LinkedIn, publish a post, plan LinkedIn content, or check, edit or delete LinkedIn posts.
license
MIT
metadata
{"openclaw":{"emoji":"📣","homepage":"https://1social.dev/post-to/linkedin?ref=skill"},"hermes":{"tags":["linkedin","linkedin-scheduler","b2b","social-media","scheduling"],"category":"social-media"}}

LinkedIn with 1Social

1Social publishes to the user's own LinkedIn account and reports what actually reached it.

Setup (once)

These steps drive the 1Social MCP server. If tools such as list_accounts are not available, connect it first. Sign-in is OAuth in the browser; there is no API key to store. Ask the user before running these commands — the login step opens a page where they sign in to 1Social themselves.

  • OpenClaw: openclaw mcp set 1social '{"url":"https://mcp.1social.dev/mcp","transport":"streamable-http","auth":"oauth"}', then openclaw mcp login 1social. Check with openclaw mcp doctor 1social --probe.
  • Hermes: add to ~/.hermes/config.yaml:
    mcp_servers:
      1social:
        url: "https://mcp.1social.dev/mcp"
        auth: oauth
    
    then hermes mcp login 1social (on a headless host: hermes mcp login 1social --flow device).
  • Claude Code: claude mcp add --transport http 1social https://mcp.1social.dev/mcp
  • Any other client: https://1social.dev/mcp lists the setup for each one.

The user needs a 1Social account. New accounts start with a free trial; publishing after it needs a paid plan (https://1social.dev/pricing).

Workflow

  1. Find the account. Call list_accounts. It returns the connected channels with their ids, each network's live limits, the plan and the remaining monthly quota. If no LinkedIn account is connected, tell the user to connect one at https://1social.dev/app — connecting needs a browser and cannot be done from chat. If list_accounts reports a limit that differs from this skill, trust list_accounts.
  2. Draft for the network. Write the post to the rules below. A post is a list of segments; each segment is { text, mediaIds? }.
  3. Attach media.
    • The user attached a file in chat → put it in media.
    • You have a public https link → put it in mediaUrls.
    • You only have a file on disk (OpenClaw, Hermes, Claude Code, Codex or another CLI agent) → call upload_media and follow the upload steps its description gives, then put the returned publicUrl in mediaUrls. A localhost URL never works. Before that, show the user exactly which files you will upload and wait for a yes: an upload gets a public link at once, and declining the post afterwards does not remove the file.
  4. Preview. Call preview_post with the channel ids and the draft. It is free and publishes nothing. Fix every issue it reports and preview again.
  5. Confirm with the user. Show the final text, the account it goes to, the media, and when it will go out. Publishing is public and some networks cannot take a post down, so wait for a clear yes.
  6. Publish or schedule. Call publish_post. scheduledAt: null publishes now; a UTC ISO-8601 timestamp such as 2026-11-03T07:00:00Z schedules it (in the future, at most 30 days ahead). Convert the user's local time to UTC yourself, and if they name a time without a timezone, ask which one. Set an idempotencyKey (a stable string of 8–128 characters for this draft) so a repeated call cannot publish twice.
  7. Report honestly. The result is a per-network receipt. Report each network exactly as returned. unknown means 1Social genuinely could not tell whether the post went out — say so, never call it a success or a failure.

LinkedIn rules

  • Limit: 3,000 characters.
  • No threads: several segments are joined into one post, which 3,000 characters usually fits.
  • Text-only posts work; images are optional.
  • Which profile or company page is used depends on what the user connected at 1social.dev — check the account name from list_accounts.
  • Deleting works: delete_post removes the post from LinkedIn.

Writing tips

  • The first two lines show before "see more" — open with the insight, not a greeting.
  • Short paragraphs with blank lines between them read better in the feed.
  • Three hashtags or fewer.

Posting to other networks too

The same 1Social account can publish one post to Instagram, TikTok, LinkedIn, X, Threads, Facebook Pages, YouTube Shorts and Bluesky at once: list several channel ids from list_accounts. preview_post checks the draft against every selected network.

After publishing

  • Check status: list_posts (give a postId for one post). It includes stored engagement metrics where the network reports them.
  • Change a scheduled post: update_post. Only works before the post has gone out.
  • Unschedule: cancel_post. Use this, not delete_post, for a post that has not been published.
  • Delete a published post: delete_post, only after the user confirms. Report per network what actually came down: Instagram, TikTok, Threads and YouTube posts stay live and only the user can remove them.
  • A delivery failed: retry_delivery retries one network and spends quota again. It is refused for permanent failures such as a revoked connection — then the user must reconnect at https://1social.dev/app.
  • A delivery is unknown: ask the user to look at the network. Only when they tell you whether the post is live, call confirm_delivery with their answer. Never guess, and never retry_delivery with force without asking — it may publish a second copy.