aws-wechat-article-publish SKILL.md skillA
aws-wechat-article-publish from aiworkskills/wechat-article-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add aiworkskills/wechat-article-skills/aws-wechat-article-publish@git:20260911.bc2ec94Pins git:20260911.bc2ec94 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- aiworkskills/wechat-article-skills
- Path
skills/aws-wechat-article-publish/SKILL.md- Versions recorded
- 7
- Latest version
- git:20260911.bc2ec94, committed Sep 11, 2026
- First version recorded
- Apr 22, 2026
- Size
- 8,544 bytes
- Repository stars
- 732
- License
- Apache-2.0
公众号发布|公众号草稿箱|公众号群发|图文推送|微信 API|wechat automation|WeChat API automation|auto publish|scheduled publish — 公众号 API 发布工具,图文入草稿箱或直接群发,支持封面素材上传、发布前检查与 draft/published 模式切换。面向公众号运营、自动化内容团队、开发者。触发词:「发布」「提交」「群发」「推送」「发出去」「上传到公众号」「发到公众号」「可以发了吗」「发布前检查」。需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 发布
**公众号 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)。这个文件**不会被自动清理**,也不会被当作正文图上传
…Read the whole file at its exact version.
How to install
mdr add aiworkskills/wechat-article-skills/aws-wechat-article-publish@sha256:f14d21012c63acbcThe line at the top of this page pins the label git:20260911.bc2ec94, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rscy47gwbk4esc3a)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Apr 22, 2026 and Sep 11, 2026, about one every 24 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260911.bc2ec94 latest | 2026-09-11 | bc2ec94 | 8,544 B | A | view · diff |
| git:20260911.1a7fdc6 | 2026-09-11 | 1a7fdc6 | 13,545 B | A | view · diff |
| git:20260905.f7318e8 | 2026-09-05 | f7318e8 | 13,513 B | A | view · diff |
| git:20260905.642df4a | 2026-09-05 | 642df4a | 13,324 B | A | view · diff |
| git:20260423.c11a670 | 2026-04-23 | c11a670 | 12,465 B | A | view · diff |
| git:20260422.476236b | 2026-04-22 | 476236b | 11,765 B | A | view · diff |
| git:20260422.5d33fd0 | 2026-04-22 | 5d33fd0 | 11,631 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8544 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
aiworkskills/wechat-article-skills · 732 stars · license Apache-2.0 · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rscy47gwbk4esc3a GET https://markdownregistry.com/api/v1/resolve?ref=aiworkskills/wechat-article-skills/aws-wechat-article-publish GET https://markdownregistry.com/api/v1/blob/f14d21012c63acbc46602e211b12425619d0ba816c019bcb3168ca1fb79af7bb
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.