Crosspost

From SiniyaYousuf/everything_claudecode · View interactive version

Crosspost is an AI agent skill from the GitHub repository SiniyaYousuf/everything_claudecode. 跨X、LinkedIn、Threads和Bluesky的多平台内容分发。使用内容引擎模式根据平台适配内容。从不跨平台发布相同内容。当用户希望跨社交平台分发内容时使用。

How to use this skill

Skill file

跨平台发布

将内容分发到多个社交平台,并适配各平台原生风格。

何时使用

运作方式

核心规则

  1. 切勿在不同平台发布相同内容。 每个平台都应获得原生适配版本。
  2. 主平台优先。 先发布到主平台,再为其他平台适配。
  3. 遵循平台惯例。 各平台的字符限制、格式、链接处理方式均不同。
  4. 每条帖子一个核心思想。 如果源内容包含多个想法,请拆分成多条帖子。
  5. 注明出处很重要。 如果转发他人的内容,请注明来源。

平台规格

| 平台 | 最大长度 | 链接处理 | 话题标签 | 媒体 |

|----------|-----------|---------------|----------|-------|

| X | 280 字符 (Premium 用户为 4000) | 计入长度 | 少量 (最多 1-2 个) | 图片、视频、GIF |

| LinkedIn | 3000 字符 | 不计入长度 | 3-5 个相关标签 | 图片、视频、文档、轮播 |

| Threads | 500 字符 | 独立的链接附件 | 通常不使用 | 图片、视频 |

| Bluesky | 300 字符 | 通过 Facets (富文本) | 无 (使用 Feeds) | 图片 |

工作流程

步骤 1:创建源内容

从核心想法开始。使用 content-engine 技能来生成高质量草稿:

步骤 2:确定目标平台

询问用户或根据上下文确定:

步骤 3:按平台适配

针对每个目标平台,转换内容:

X 平台适配:

LinkedIn 平台适配:

Threads 平台适配:

Bluesky 平台适配:

步骤 4:发布到主平台

首先发布到主平台:

步骤 5:发布到次级平台

将适配后的版本发布到其余平台:

示例

源内容:产品发布

X 版本:

We just shipped [feature].

[One specific thing it does that's impressive]

[Link]

LinkedIn 版本:

Excited to share: we just launched [feature] at [Company].

Here's why it matters:

[2-3 short paragraphs with context]

[Takeaway for the audience]

[Link]

Threads 版本:

just shipped something cool — [feature]

[casual explanation of what it does]

link in bio

源内容:技术见解

X 版本:

TIL: [specific technical insight]

[Why it matters in one sentence]

LinkedIn 版本:

A pattern I've been using that's made a real difference:

[Technical insight with professional framing]

[How it applies to teams/orgs]

#relevantHashtag

API 集成

批量跨平台发布服务 (示例模式)

如果使用跨平台发布服务 (例如 Postbridge、Buffer 或自定义 API),模式如下:

import os
import requests

resp = requests.post(
    "https://your-crosspost-service.example/api/posts",
    headers={"Authorization": f"Bearer {os.environ['POSTBRIDGE_API_KEY']}"},
    json={
        "platforms": ["twitter", "linkedin", "threads"],
        "content": {
            "twitter": {"text": x_version},
            "linkedin": {"text": linkedin_version},
            "threads": {"text": threads_version}
        }
    },
    timeout=30
)
resp.raise_for_status()

手动发布

没有 Postbridge 时,使用各平台原生 API 发布:

质量检查

发布前:

相关技能

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.