Blog Auto Poster Skill — Development skill for Claude Code
多平台文章统一发布 Skill — 支持 CSDN、51CTO、博客园、掘金一键分发.
How to install Blog Auto Poster Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lainXXX/blog-auto-poster-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Blog Auto Poster Skill does
多平台文章统一发布 Skill — 支持 CSDN、51CTO、博客园、掘金一键分发.
Alternatives in Development
- Auto Update — Pull the latest ECC repo changes and reinstall the current managed targets 243.5k ★
- Mempalace Mine — Mine projects and conversations into the MemPalace 58.6k ★
- Create Blog Article For Claude Code Component — You will create a complete, SEO-optimized blog article for a Claude Code component 23.4k ★
README
Blog Auto Poster — Claude Code Skill:多平台博客一键分发
[](LICENSE) 
一个 **Claude Code Skill**,让 AI 帮你把文章一键分发到 CSDN、51CTO、博客园、掘金四个平台。 你说"发篇文章到所有平台",Claude 自动完成凭证检查、模板选型、内容准备、逐平台发布、结果汇总。
为什么做这个 Skill?
作为一个技术博主,我经常遇到这样的场景:写了一篇文章,为了覆盖更多读者,需要在 CSDN、掘金、博客园、51CTO 等多个平台分别发布。每个平台的编辑器都不一样——有的用 HTML、有的用 Markdown、有的格式渲染还有自己的「癖好」。更别提各个平台的 API 鉴权方式五花八门:CSDN 需要算 CA 签名头,掘金的标签要传数字 ID……每次发布都是一次重复劳动。
这个 Skill 就是为了解决这个问题而生的——**把「发文章到多个平台」这件事,变成一句话就能搞定的事情。**
解决了什么问题?
- 消除重复劳动 — 一次写作,多平台自动分发,节省大量重复的人工发布时间
- 屏蔽平台差异 — 各平台不同的鉴权方式、API 接口、内容格式全部封装在脚本里
- 降低使用门槛 — 内置 6 种文章模板,标题、标签、正文用自然语言和 AI 对话式确认
- 失败不中断 — 一个平台发布失败不影响其他平台继续执行,最后汇总结果一目了然
- 零依赖 — 所有 Python 脚本仅依赖标准库,无需
pip install
本项目就是一个开箱即用的 Skill,包含完整的编排流程(`SKILL.md`)、各平台发帖脚本和配置指南。
作为 Skill 使用(推荐)
安装
# 克隆到本地
git clone https://github.com/lainXXX/blog-auto-poster-skill.git
cd blog-auto-poster-skill
# 配置凭证
cp .env.example .env
# 编辑 .env 填入各平台 Cookie...
然后在 Claude Code 中引用此 Skill:
# Claude Code 中直接说:
# "帮我把这篇文章发布到所有平台"
# "把这个 MD 文件发到 CSDN 和掘金"
# "用工具推荐的模板写一篇文章发到全部平台"
Skill 内置的编排流程会按以下顺序处理:
- 检查凭证 — 验证
.env中各平台 Cookie 是否完备 - 明确需求 — 引导选择发帖模板,确认标题/标签/正文/目标平台
- 写入文件 — 将正文写入临时 Markdown 文件
- 逐平台发布 — CSDN → 51CTO → 博客园 → 掘金(失败不中断)
- 汇总结果 — 每个平台的成功/失败状态和链接
触发场景
对 Claude Code 说这些话即可自动触发:
- "帮我把这篇文章发布到所有平台"
- "把这个 MD 文件发到 CSDN 和掘金"
- "用工具推荐的模板写一篇文章,发到全部平台"
- "帮我把上述内容总结发到 CSDN"
- "一键分发到全平台"
作为纯 Python 脚本使用
不使用 Claude Code 也可以直接调用:
# 单平台
python scripts/csdn_poster.py post --title "标题" --file article.md --format markdown --publish
# 多平台(逐个执行,失败不中断)
python scripts/csdn_poster.py post --title "标题" --file article.md --format markdown --publish
python scripts/51cto_poster.py post --title "标题" --file article.md --tags "Python,后端"
python scripts/cnblogs_poster.py post --title "标题" --file article.md --tags "
Related Skills
Skills From Claude Blog
Auto-generated SKILL.md files from official Anthropic/Claude blog posts (KR + EN). Updated hourly.
Wechatsync
一键同步文章到多个内容平台,支持今日头条、WordPress、知乎、简书、掘金、CSDN、typecho各大平台,一次发布,多平台同步发布。解放个人生产力 5016 37 1
Link Poster
Claude Code Skill: 给任意链接生成同风格推广海报(HTML + PNG)
Wp Cinematic Scene
Author, replace, or regenerate a single cinematic scene. Updates the matching cinematic_scenes repeater row (e
Claude Code Telegram Poster
Claude Code skill for posting to Telegram channels via bot admin. Supports text, photos, documents, polls, med
Poster
Prepare event poster - collect details, create event record, open poster generator
Related Agents
AI Poster Infographic Designer
用 AI 出海报和信息图,定版式层级、做文字精准上图、把数据和流程视觉化,给排版网格和配色方案,出能直接用的高密度信息大图。
Metago Marketing Designer
Marketing Material Designer - specializes in poster, banner, social graphic, and infographic design
Visual Judge
THE single visual acceptance pass for a rendered deliverable of these types only — pptx, docx, xlsx, pdf, post