multi-platform-publisher
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "multi-platform-publisher" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f27d90e5293117c7d4a87c12b784d0be49f11aa1b5defe37d68a41dbff1abb28. Verify the upstream source and version against https://skillhub.cn/skills/user_c0778395/multi-platform-publisher-xiaodong before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Multi-platform-publisher automates publishing technical blog posts across platforms such as CNBlogs, Juejin, and CSDN. Version 0.3.0 adds a four-stage generation pipeline (outline → full draft → snarky annotations → rewrite), persona style customization, anti-AI quality checks, and a human feedback library for few-shot continuous improvement. It can generate posts from current hotspots, polish them, publish with one click, and schedule runs via OpenClaw cron.
Introduction source: third_party · user_c0778395 · 1.0.2 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: multi-platform-publisher
description: |
多平台技术博客自动发布。当用户想"发布技术博客"、"自动发文到博客园/掘金/CSDN"、
"AI 生成学习贴"、"每天自动发布"、"今日技术热点"、"内容分发"、"每天发一篇技术学习笔记"、
"AI 自动写博客" 时触发。
v0.3.0 新增:4 轮生成流水线(大纲→详细写→毒舌批注→重写)+ persona 风格定制 +
反 AI 化质量检查 + 人工反馈库(few-shot 持续优化)。
支持:根据今日热点自动生成技术博客文章,润色后一键发布到博客园、掘金、CSDN,
并通过 OpenClaw cron 定时调度。Multi-Platform Publisher
把"今日技术热点 → AI 生成学习贴 → 多平台发布"这条链做成一行命令。
适用场景
- 每天固定时间(9:00)自动从掘金/微博/知乎/CSDN 热榜抓取话题
- 用 LLM 生成 1-3 篇技术学习类博客文章(自动润色、加 TL;DR、加 AI 创作声明)
- 一键发布到博客园、掘金、CSDN 三个平台
- 失败自动重试 + 记录历史 + 统计成功率
平台支持现状
| 平台 | 自动化程度 | 接口 | 凭证有效期 | 风控 |
|---|---|---|---|---|
| 博客园 | ⭐⭐⭐⭐⭐ 真全自动 | MetaWeblog 官方 XML-RPC | 长期 | 几乎无 |
| 掘金 | ⭐⭐⭐ 半自动 | 未公开 API + Cookie | 几小时-几天 | 高(需滑块登录) |
| CSDN | ⭐⭐⭐ 半自动 | 未公开 API + Token | 30 天 | 中 |
快速开始
1. 安装
cd /path/to/multi-platform-publisher
pip install -e .
2. 配置(首次)
# 交互式配置博客园
python -m scripts.cli config set cnblogs
# 配置掘金(粘贴 Cookie)
python -m scripts.cli config set juejin
# 配置 CSDN
python -m scripts.cli config set csdn
或者手动编辑 ~/.multi-platform-publisher/config.yaml(参考 config.example.yaml)。
3. 验证凭证
python -m scripts.cli health-check
4. 试跑一次
# 一键:抓热点 → AI 生成 → 多平台发布
python -m scripts.cli auto --limit 1 --platforms cnblogs
# 只生成不发布
python -m scripts.cli generate --topic "Python 异步编程实战"
# 发已有 markdown
python -m scripts.cli publish --file ./post.md --platforms cnblogs,juejin
5. 定时任务
# 每天 9:00 抓热点发到 3 平台
0 9 * * * cd /path/to/skill && python -m scripts.cli auto --limit 1
参考 cron/daily-publish.example.txt。
关键 CLI
mpp auto [--limit N] [--platforms p1,p2] [--topic T] [--style S] [--length L]
[--skip-health-check] [--dry-run]
mpp generate --topic T [--style S] [--length L] [--out file.md]
mpp publish --file post.md [--platforms p1,p2] [--dry-run]
mpp topics [--source juejin|csdn|weibo|zhihu|all] [--limit N]
mpp health-check [--platforms p1,p2]
mpp config list
mpp config set <platform>
mpp config refresh <platform> # v0.2.0:凭证失效引导
mpp config test <platform>
mpp history [--days 7] [--platform cnblogs] [--limit 20]
mpp stats [--days 30] [--check-credentials] # v0.2.0:凭证健康度
# v0.3.0 新增:人工反馈(让生成质量越用越好)
mpp feedback add --topic T --file post.md --rating 4 --notes "好在哪" [--tags "Python,学习笔记"]
mpp feedback list [--limit 20]
mpp feedback stats
mpp feedback delete <id>
mpp version
LLM 配置
无 LLM 时也能跑(用本地模板生成骨架),有 LLM 时自动用真实模型。
# MiniMax(默认)
export MINIMAX_API_KEY=your-key
# 或 OpenAI
export OPENAI_API_KEY=sk-...
# 或 Anthropic
export ANTHROPIC_API_KEY=sk-ant-...
在 config 中指定 provider:
llm:
provider: minimax # minimax / openai / anthropic
model: MiniMax-Text-01
注意事项
- 掘金和 CSDN 是未公开 API,可能因平台改版失效,遇到问题去 GitHub Issue
- Token/Cookie 定期更新:建议每月用
health-check检查一次 - AI 创作声明:所有生成的文章文末会自动加 "AI 辅助创作" 声明,符合各平台规范
- 失败重试:每个平台默认重试 2 次(指数退避)
- 凭证安全:所有 token 走
_secret字段,config list时自动脱敏
v0.3.0 新增 - 内容质量
v0.3.0 重点解决"自动生成内容太水、没亮点"的反馈。改动:
4 轮生成流水线
不再是"一锤子写",而是 4 步:
- 大纲(架构师视角):列 3-5 个核心论点 + 关键代码/数据 + 反共识观点
- 详细写(作者视角):基于骨架写完整版
- 毒舌批注(编辑视角):哪些段落是水文、缺具体例子
- 重写(作者视角):按批注删改,强制加具体例子
Persona 风格定制
5 个内置 persona 风格(scripts/persona.py):
default- 通用技术学习笔记storyteller- 踩坑叙事(参考陈皓/阮一峰)academic- 严谨学术风(参考 Martin Fowler)snarky- 毒舌吐槽minimalist- 代码优先,极简风
在 config 里改:
content:
persona: "storyteller"
反 AI 化质量检查
内置 30+ 套话模式("众所周知"/"不难发现"/"值得注意的是"/"综上所述"等),
自动删除并触发重写。scripts/quality_filter.py:
DeAIFilter- 本地规则清套话QualityScorer- 0-10 分(信息密度/原创性/可操作性/反 AI 化)AutoRewriter- 评分低时调 LLM 重写
人工反馈库(持续优化)
发布后给文章打分,4-5 分的文章自动作为 few-shot 给未来生成参考:
mpp feedback add --topic "Python asyncio 实战" --file post.md --rating 5 --notes "例子具体"
mpp feedback list
mpp feedback stats
存储位置:~/.multi-platform-publisher/feedback.db(SQLite)。
不适用场景
- 知乎专栏(风控严,无 API)
- 微信公众号(需企业认证 API)
- SegmentFault 思否(无 API)
- 简书(无 API)
Current listing version
1.0.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供从热点抓取到多平台发布的完整自动化流水线
- 支持博客园、掘金、CSDN三大主流技术平台
- 集成定时调度和失败重试机制,提升发布可靠性
Highlights
- 触发词覆盖全面,涵盖用户多种表达意图
- 边界清晰,不易与其他内容生成类Skill混淆
Highlights
- 文档结构完整,包含快速开始、CLI说明、配置指南等
- 提供具体命令示例和配置文件参考
- 版本特性说明清晰,突出v0.3.0核心改进
Highlights
- 明确区分各平台自动化程度和风控等级
- 提供凭证验证、健康检查、失败重试等可靠性保障
- 支持dry-run模式避免误操作
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 38 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 98
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.