wjs-syndicating-articles
Use when the user wants to auto-syndicate their latest 微信公众号 article across social platforms — picks the newest un-syndicated article, extracts one core copy, auto-posts to API platforms (X / Bluesky / Threads / LinkedIn) and prepares a copy-paste outbox for manual platforms (Facebook / 小红书 / 即刻 / 知乎). Triggers — "分发文章到各平台", "同步到社交平台", "今天的文章发各平台", "/wjs-syndicating-articles".
npx skills add jianshuo/claude-skills --skill wjs-syndicating-articles --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# wjs-syndicating-articles 每天把最新一篇还没分发过的公众号文章,扇出(syndicate)到各社交平台。**一套文案走天下**,有 API 的真发,没 API 的备好待发件箱让你手动粘。 ## Core Principles - **稳定第一**:每个平台是独立步骤,一个失败绝不影响其它。 - **幂等去重**:`state/history.jsonl` 按 `(slug, platform)` 记录;重复跑只补发没成功的,永不重复发。 - **凭证降级**:API 平台缺/过期凭证 → 自动转 outbox(手动),不报错。 - **署名 / CTA 用「王建硕」**(用户全局偏好),不写营销腔、不堆 hashtag/@/emoji(除非原文有)。 ## Inputs ``` /wjs-syndicating-articles # 选最新未分发文章,走完整流程(默认/定时用) /wjs-syndicating-articles <article-folder># 显式指定文章 /wjs-syndicating-articles --open # 交互模式:打开手动平台 web 页 + 文案进剪贴板 /wjs-syndicating-articles --dry-run # 只草拟,不发、不写 history /wjs-syndicating-articles --mark <slug> <platform> # 手动标记某平台已发 ``` `SKILL_DIR = ~/.claude/skills/wjs-syndicating-articles` ## Workflow (default / scheduled run) ### Step 0: --mark short-circuit 若调用是 `--mark <slug> <platform>`:`bash $SKILL_DIR/scripts/history.sh record <slug> <platform> posted` 然后告诉用户已标记,结束。 ### Step 1: 选文章 ```bash bash $SKILL_DIR/scripts/pick-next-article.sh ``` - 显式指定了 `<article-folder>` 则跳过此脚本,直接用它。 - 输出为空 → 最近文章都分发完了,今天 rest day,结束。 - 记 `FOLDER`,`SLUG=$(basename "$FOLDER")`。 ### Step 2: 抽一套核心文案(你来做,不是脚本) 读 `$FOLDER/article.md` 和 `$FOLDER/meta.json`。抽出**一段最 quotable 的核心句/小段,≤120 字**(保证塞进 X 的 280
- Core Principles
- Inputs
- Workflow (default / scheduled run)
- Step 0: --mark short-circuit
- Step 1: 选文章
- Step 2: 抽一套核心文案(你来做,不是脚本)
- Step 3: 扇出(一个确定性脚本搞定,LLM 不碰 key)
- Step 5: 通知 + 汇总
- --open mode(交互,发手动平台时)
- File Layout
- 配置 API 平台(可选,配了才真发)
- Daily 自动化
bash $SKILL_DIR/scripts/pick-next-article.sh bash $SKILL_DIR/scripts/syndicate.sh "$FOLDER" "$POST_TXT"
What does the wjs-syndicating-articles skill do?
Use when the user wants to auto-syndicate their latest 微信公众号 article across social platforms — picks the newest un-syndicated article, extracts one core copy, auto-posts to API platforms (X / Bluesky / Threads / LinkedIn) and prepares a copy-paste outbox for manual platforms (Facebook / 小红书 / 即刻 / 知乎). Triggers — "分发文章到各平台", "同步到社交平台", "今天的文章发各平台", "/wjs-syndicating-articles".
How do I install it?
Run `npx skills add jianshuo/claude-skills --skill wjs-syndicating-articles --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jianshuo/claude-skills, a repository with 112 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
