多平台内容发布助手,支持智能选题筛选、AI生成优质内容、一键发布到微信公众号等平台;支持内容格式自动适配(HTML/Markdown/纯文本)
58
66%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./skills/wechatsync-publisher/wechatsync-publisher/SKILL.md本Skill使用Python标准库,无额外依赖。
无需特殊环境准备,确保网络连接即可。
http://39.108.254.228:8002(您自建的服务)/publish-draft ✅/publish-zhihu(需配置知乎Cookie)/publish-weibo(需配置微博AppKey/Token)/publish-juejin(需配置掘金Cookie)/publish-csdn(需配置CSDN Cookie)references/server-config-guide.md接口架构:
详细配置指南:
references/server-config-guide.md如果您有多个选题候选,可使用选题筛选功能进行打分排序:
python scripts/filter_topics.py --topics "AI技术:8,2,3,1,AI伦理:7,2,4,1,人工智能:6,1,3,1" --threshold 7参数说明:
--topics:选题列表,格式为 选题名:热度,争议性,价值,相关性--threshold:分数阈值,≥7分进入推荐池智能体处理: 如果由智能体处理选题,智能体会根据热度、争议性、价值、相关性四个维度进行评分,并筛选出优质选题。
根据平台特性生成差异化的内容,确保每个平台的内容都符合平台风格和用户习惯。
核心原则:
生成内容:
了解平台特性:参考 references/content-adaptation-guide.md
生成主内容(建议以微信公众号为主):
适配其他平台:
搜索封面图:
python scripts/search_images.py --keyword "AI技术" --count 1 --size 1600x680智能体处理: 智能体会根据目标平台自动:
调用发布脚本,将内容推送到目标平台:
# 发布到微信公众号(已可用)
python scripts/publish.py --platform wechat --title "文章标题" --content "HTML内容" --cover-image "封面图URL" --tags "标签1,标签2"
# 发布到知乎(需配置统一接口)
python scripts/publish.py --platform zhihu --title "文章标题" --content "Markdown内容"
# 发布到微博(需配置统一接口)
python scripts/publish.py --platform weibo --title "文章标题" --content "纯文本内容"
# 发布到掘金(需配置统一接口)
python scripts/publish.py --platform juejin --title "文章标题" --content "Markdown内容" --tags "AI,技术"
# 发布到小红书(需配置统一接口)
python scripts/publish.py --platform xiaohongshu --title "文章标题" --content "纯文本内容" --cover-image "封面图URL"支持的平台:
无特殊要求时,自动执行以下流程:
示例请求:
需要同时发布到多个平台时,智能体会为每个平台生成差异化的内容:
注意:除微信外,其他平台需要先配置统一接口。
示例请求:
差异化要点:
需要人工审核后发布:
scripts/publish.py 中配置接口地址,参考:
def publish_zhihu(title, content, cover_image=None, tags=None):
api_url = "YOUR_ZHIHU_API_URL" # 替换为实际接口
# 实现发布逻辑功能说明:自动生成图文并茂的公众号爆款文并发布到草稿箱
执行方式:智能体+脚本混合
关键步骤:
scripts/search_images.py 搜索封面图scripts/publish.py 发布到微信草稿箱示例:
# 智能体生成内容
# 脚本搜索封面图
python scripts/search_images.py --keyword "AI技术" --count 1
# 脚本发布内容
python scripts/publish.py --platform wechat --title "AI如何改变未来" --content "HTML内容" --cover-image "https://source.unsplash.com/1600x680/?AI"功能说明:从多个候选选题中筛选最佳选题,生成内容并发布
执行方式:脚本+智能体+脚本混合
关键步骤:
scripts/filter_topics.py 筛选选题scripts/publish.py 发布示例:
# 筛选选题
python scripts/filter_topics.py --topics "AI技术:8,2,3,1,AI伦理:7,2,4,1" --threshold 7
# 智能体生成内容
# 脚本发布
python scripts/publish.py --platform wechat --title "AI伦理" --content "HTML内容"功能说明:同时发布到多个平台(需配置接口)
执行方式:智能体+脚本混合
关键步骤:
scripts/publish.py 发布到各平台示例:
# 发布到微信(已配置)
python scripts/publish.py --platform wechat --title "标题" --content "HTML内容"
# 发布到知乎(需配置接口)
python scripts/publish.py --platform zhihu --title "标题" --content "Markdown内容"
# 发布到掘金(需配置接口)
python scripts/publish.py --platform juejin --title "标题" --content "Markdown内容" --tags "AI,技术"结合定时任务和自动化工具(如n8n、Zapier)可以实现完全自动化的内容发布流程:
支持自定义接口扩展,在 scripts/publish.py 中添加新的平台发布方法:
def publish_custom(title, content, cover_image=None, tags=None):
"""
自定义平台发布
"""
api_url = "YOUR_CUSTOM_API_URL"
# 实现发布逻辑支持自定义内容模板,在 references/viral-content-templates.md 中添加新的模板类型。
问题1:微信发布失败
http://39.108.254.228:8002/publish-draft问题2:其他平台发布功能待实现
scripts/publish.py 中配置相应平台的接口地址问题3:图片搜索失败
f595e96
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.