Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aiworkskills/wechat-article-skills --skill aws-wechat-article-publishgit clone --depth 1 https://github.com/aiworkskills/wechat-article-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aiworkskills/wechat-article-skills/aws-wechat-article-publish)<a href="https://agentmods.dev/skills/aiworkskills/wechat-article-skills/aws-wechat-article-publish"><img src="https://agentmods.dev/badge/skills/aiworkskills/wechat-article-skills/aws-wechat-article-publish/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aiworkskills/wechat-article-skills/aws-wechat-article-publish"><img src="https://agentmods.dev/badge/skills/aiworkskills/wechat-article-skills/aws-wechat-article-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00150 | $0.02473 |
| Opus 5.5 | $0.00060 | $0.00989 |
| Sonnet 5.5 | $0.00030 | $0.00495 |
| Haiku 4.5 | $0.00015 | $0.00247 |
Grade A, and why
aws-wechat-article-publish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
发布
公众号 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。本 skill 单独触发适用于已有 article.html 与封面、只差最后一步上传的场景。
配置检查 ⛔
任何操作前先按 首次引导 · 检测顺序 执行,通过后才继续(或用户明确书面确认「本次不检查」)。单独安装本 skill 时的口径见 branches.md「六」。
脚本与子命令
{baseDir} = 本 SKILL.md 所在目录,所有命令在仓库根执行。
| 脚本 / 子命令 | 用途 |
|---|---|
article_init.py |
初始化或更新本篇 article.yaml(及可选 closing.md)。{python} {baseDir}/scripts/article_init.py <文章目录> [--title … --author … --digest …] |
getdraft.py |
查已群发文章(published-list / published-fields / publish-get / article-get),用于补齐往期推荐链接。见 branches.md「五」 |
check-screening |
校验 config.yaml 的 publish_method |
check-wechat-env |
按 config.yaml 槽位检查 aws.env 的 WECHAT_N_APPID / APPSECRET 是否已填 |
check |
环境检查:aws.env、各槽位、依赖、可选探测 token |
accounts |
列出 config.yaml 中各槽位名称,并标记 aws.env 缺项 |
full |
一键全流程(上传封面 → 上传正文图 → 建草稿 → 视配置提交发布) |
token / upload-thumb / upload-content-image / create-draft / publish / status |
分步操作,见 usage.md |
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · -35 lines f14d21012c63
- 2mo ago Changed · +6 lines 3faf8c609791
- 3mo ago First seen · 162 lines · 150 tokens per session scan A 17e3fffaef9a
aws-wechat-article-publish is a skill published in the GitHub repository aiworkskills/wechat-article-skills (778 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 150 tokens to every session and 2,473 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
aws-wechat-article-publish compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aws-wechat-article-publishaiworkskills/wechat-article-skills | Skill | 778 | 2mo ago | Apache-2.0 | A | 150 | Claude Code, Codex |
| larry-playbookoyi77/1ai-skills | Skill | 19 | today | MIT | A | 50 | Claude Code |
| stop-slop-zhpencil20388-eng/stop-slop-zh | Skill | 54 | 6mo ago | MIT | A | 0 | Claude Code, Codex |
| shuorenhuatentenco/shuorenhua-zh-tw | Skill | 12 | 4mo ago | MIT | A | 130 | Claude Code, Codex |
| anti-slop-uaEverdarkk/anti-slop-ua | Skill | 1 | 3mo ago | MIT | A | 84 | Claude Code, Codex |
| thothNirvanaGuha/thoth | Skill | 4 | 5mo ago | MIT | A | 211 | Claude Code |
| article-qaweitzu-com/ai-article-factory | Skill | 5 | 5mo ago | Apache-2.0 | A | 105 | Claude Code |