aws-wechat-article-publish

Featured

公众号发布|公众号草稿箱|公众号群发|图文推送|微信 API|wechat automation|WeChat API automation|auto publish|scheduled publish — 公众号 API 发布工具,图文入草稿箱或直接群发,支持封面素材上传、发布前检查与 draft/published 模式切换。面向公众号运营、自动化内容团队、开发者。触发词:「发布」「提交」「群发」「推送」「发出去」「上传到公众号」「发到公众号」「可以发了吗」「发布前检查」。需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。

AI & Automation 592 stars 92 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 97/100

Stars 20%
92
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 发布 **公众号 API 直连发布** —— 图文入草稿箱或直接群发,素材上传、发布前检查一站式完成。 > **套件说明** · 本 skill 属 `aws-wechat-article-*` 一条龙套件(共 9 个 slug,入口 `aws-wechat-article-main`)。跨 skill 的相对引用依赖同一 `skills/` 目录,建议一并 `clawhub install` 全套。源码:<https://github.com/aiworkskills/wechat-article-skills> ## 能力披露(Capabilities) 本 skill 调 `publish.py` **直连微信公众号官方 API** 发布图文。**会把本篇 `article.html` 与 `imgs/*` 文件作为 POST body 上传到微信服务器。** - **凭证读取**:`aws.env` 的 `WECHAT_{N}_APPID` / `WECHAT_{N}_APPSECRET`(多槽位,N≥1) - **凭证外发**:`APPID` / `APPSECRET` 以 query string 发给 `api.weixin.qq.com/cgi-bin/token` 换 `access_token`;后续请求带 `access_token`。微信返回的 token 只在进程内存短期缓存,**不落盘** - **内容外发**:封面与正文插图以 multipart 发给 `material/add_material`;`article.html` 正文与标题/摘要以 JSON POST 发给 `draft/add`、`freepublish/submit` - **网络目标**:默认 `api.weixin.qq.com`;可用 `WECHAT_{N}_API_BASE` / `config.yaml.wechat_api_base` 自配反代 - **文件读**:`.aws-article/config.yaml`、`aws.env`、本篇 `article.yaml`、`article.html`、`imgs/*` - **文件写**: - `publish.py` **不写 `article.yaml`**——`media_id` / `publish_id` / `publish_completed` 只打印,写回由智能体做(见下「`publish_completed` 门禁」) - 图片超过微信大小限制时会在源图旁生成压缩缓存 `<原名>_compressed.jpg`(需 Pillow)。这个文件**不会被自动清理**,也不会被当作正文图上传 - `article_init.py` 写本篇 `article.yaml` 与可选 `closing.md` - **shell**:`{python} {baseDir}/scripts/` 下的 `publish.py`、`getdraft.py`、`article_init.py` **建议**:首次运行用 `publish_method: draft` 只入草稿箱确认效果,再切 `published` 真正群发。 ## 路由 从选题到发出整条流程 → [aws-wechat-article-main](../aws-wechat-article-main/SKILL.md)。本 skill 单独触发适用于**已有 `article.html`...

Details

Author
aiworkskills
Repository
aiworkskills/wechat-article-skills
Created
5 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

aws-wechat-article-main

公众号运营|微信公众号|公众号一条龙|公众号全流程|自媒体运营|wechat automation|content pipeline|AIGC workflow — 公众号一条龙运营总控入口,选题→写稿→审稿→排版→配图→发布串联 8 个子 skill,单条指令完成整篇图文从 0 到上架。面向公众号小编、自媒体、品牌内容。触发词分层:**一条龙流程**「一条龙」「完整流程」「从头做」「从 0 到发布」;**新做新发**「帮我写篇公众号文章」「做一篇公众号文章」「我想发一篇」「帮我发一篇」「再来一篇」;**选题起点**「今天写什么好」「有什么好写的」「找个话题」「爆款选题」「热点选题」「起个爆款标题」;**策划起点**「内容日历」「系列策划」「专栏规划」「连载」;**流程恢复**「接着上次那篇」「继续昨天的」「继续上次的」「接着之前的进度」;**显式模型新写**「用 GPT 写一篇」「用 DeepSeek 写一篇」「把提纲写成文章」。子 skill(topics/writing/review/formatting/images/publish/sticker/assets)单独触发仅限对**已有产物**的修改场景(如"改标题""润色这段""排版""审稿""加封面""发布");新做/策划/多环节串联一律走本入口。

592 Updated today
aiworkskills
AI & Automation Featured

aws-wechat-sticker

公众号贴图|九宫格|多图推送|图片消息|表情包 — 贴图与多图推送:从创意构思、规划图序、AI 生图到整组图审核,产出一组风格统一的图片 + 每张配文。发布走常规图文链路(拼成图文后 formatting + publish),微信原生「图片消息」需在公众号后台手动发。面向公众号运营、自媒体、IP 账号。触发词:「贴图」「多图推送」「发组图」「图片消息」「九宫格」「做一组图」「图片帖子」「发几张图」「不写正文发图」「只发图不写字」。是文章内配图/封面请走 aws-wechat-article-images;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。

592 Updated today
aiworkskills
AI & Automation Listed

wechat-publisher

公众号文章发布工具。当用户说"存到公众号"、"发布到公众号"、"发到草稿箱"、"推到公众号"、"写到公众号"时触发。配合 kakarot-writer skill 使用:先用 kakarot-writer 风格生成 markdown 文章 → 用 wechat-publisher CLI 格式化并存入微信草稿箱。也支持纯 markdown 文件直接发布。 触发词:存到公众号、发布到公众号、发到草稿箱、推到公众号、写到公众号、发公众号、wechat publish 不触发情况:纯写作不涉及发布、不需要存草稿箱的情况。

2 Updated 4 days ago
Zhangs-11