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-imagesgit 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-images)<a href="https://agentmods.dev/skills/aiworkskills/wechat-article-skills/aws-wechat-article-images"><img src="https://agentmods.dev/badge/skills/aiworkskills/wechat-article-skills/aws-wechat-article-images/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-images"><img src="https://agentmods.dev/badge/skills/aiworkskills/wechat-article-skills/aws-wechat-article-images.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.00144 | $0.03758 |
| Opus 5.5 | $0.00058 | $0.01503 |
| Sonnet 5.5 | $0.00029 | $0.00752 |
| Haiku 4.5 | $0.00014 | $0.00376 |
Grade A, and why
aws-wechat-article-images 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 1mo 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 — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
配图
公众号封面 & 配图 AI 生成 —— 按文章内容自动匹配画风,风格体系可复用。
套件说明 · 本 skill 属
aws-wechat-article-*一条龙套件(共 9 个 slug,入口aws-wechat-article-main)。跨 skill 的相对引用依赖同一skills/目录,建议一并clawhub install全套。源码:https://github.com/aiworkskills/wechat-article-skills
能力披露(Capabilities)
本 skill 调 image_create.py 调外部图像 API 生成封面与正文配图,会把图片提示词(可能含文章主题片段)发给用户配置的图像生成端点。
- 凭证:读
aws.env的IMAGE_MODEL_API_KEY,以Authorization: Bearer发往image_model.base_url - 内容外发:每张图的 prompt 作为 JSON POST body 发送,来自本篇
imgs/prompts/*.md - SSRF 防御:API 返回图片 URL 时仅允许下载 http/https 公网地址,内网 / 环回 / 保留地址一律拒绝
- 文件读:
.aws-article/config.yaml、本篇article.yaml/article.md/imgs/prompts/*.md、本 skill 的references/*、.aws-article/products/{产品名}/images/* - 文件写:本篇
imgs/**、可选img_analysis.md - shell:仅
{python} {baseDir}/scripts/image_create.py、user_image_prepare.py
建议用专用 key(最低权限、独立计费),不要用 account 级 master key。
单独安装本 skill 时,跨 skill 的引用会 file not found,但生图脚本仍可用。完整 9 slug 见 源码仓库。
路由
完整长文从选题到发布 → main;图片消息 / 九宫格等多图推送 → sticker。本 skill 专注长文配图。
用户说「这篇配图不满意,换成我上传的新图重发草稿箱」→ 不走下面的工作流,改走 branches.md 第三节「发布后换图重发」。
配置检查按 首次引导 执行;image_model 在 config.yaml、IMAGE_MODEL_API_KEY 在 aws.env。端点差异与比例传法见 branches.md 第六节。
| 脚本 | 用途 |
|---|---|
scripts/image_create.py |
调专用生图 API(generate / batch / check / test) |
scripts/user_image_prepare.py |
用户供图模式:建 imgs/ 并生成 img_analysis.md 模板 |
五条硬规则 ⛔
- 封面必须脚本生成,产出为文章目录下的
cover.png(或.jpg/.jpeg/.webp)。禁止把素材库文件直接复制成cover.*。例外:用户明确上传封面并声明「只用这一张」,须在结果中注明「用户指定封面」。 - 正文优先用业务配图库,缺图才生成。判断顺序见 branches.md 第一节。
- 删图有上限:每篇最多删 1 个图位并写明理由。要删 2 个以上、或把本篇
image_density改小(效果相同),都要先把「本篇内容与密度对不上」这个判断告诉用户。 imgs/目录分工:根目录只放正文引用的最终图;prompts/放生图 prompt,sources/放实证图的来源说明,raw/放截图与裁切的中间产物。- 先分工再选形态:排版组件和信息位配图干同一件事,同一份内容只给其中一个。但只有标准 markdown 够得到的组件才算数——判给够不到的组件等于图和组件两头落空。实测归属见 image-method 第一步半:只有金句卡片归组件,对比两栏与清单要点一律出图。
What ships with it
51 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.
- references/branches.md 8.2 KB
- references/cover-examples/README.md 530 B
- references/cover-examples/书脊阶梯.md 445 B
- references/cover-examples/剖面.md 505 B
- references/cover-examples/双生.md 481 B
- references/cover-examples/双轨.md 499 B
- references/cover-examples/层积.md 504 B
- references/cover-examples/山峰折线.md 451 B
- references/cover-examples/引力汇聚.md 568 B
- references/cover-examples/折叠纸境.md 523 B
- references/cover-examples/星图.md 472 B
- references/cover-examples/根系电路.md 517 B
- references/cover-examples/沙漏城市.md 481 B
- references/cover-examples/涟漪.md 521 B
- references/cover-examples/潮线.md 500 B
- references/cover-examples/灯下.md 491 B
- references/cover-examples/破土.md 574 B
- references/cover-examples/空椅.md 482 B
- references/cover-examples/逆光剪影.md 554 B
- references/cover-examples/钥匙迷宫.md 424 B
- references/cover-examples/长廊尽头.md 546 B
- references/cover-examples/静物台.md 522 B
- references/cover-method.md 10 KB
- references/cover-styles/README.md 2.4 KB
- references/cover-styles/产品实拍.example.md 1012 B
- references/cover-styles/人物出镜.example.md 951 B
- references/cover-styles/信息表.example.md 984 B
- references/cover-styles/剧照氛围.example.md 888 B
- references/cover-styles/图上压字.example.md 946 B
- references/cover-styles/场景实拍.example.md 945 B
- references/cover-styles/对比式.example.md 1.0 KB
- references/cover-styles/截图标注.example.md 1.1 KB
- references/cover-styles/扁平插画.example.md 965 B
- references/cover-styles/数字冲击.example.md 1.1 KB
- references/cover-styles/纯色大字.example.md 1.0 KB
- references/cover-styles/菜品特写.example.md 1.0 KB
- references/image-method.md 14 KB
- references/image-styles/prompt-construction.md 8.7 KB
- references/image-styles/README.md 3.3 KB
- references/image-styles/场景还原.example.md 1.6 KB
- references/image-styles/对比两栏.example.md 1.1 KB
- references/image-styles/数据图表.example.md 1.2 KB
- references/image-styles/概念隐喻.example.md 1.9 KB
- references/image-styles/流程步骤.example.md 1.2 KB
- references/image-styles/清单要点.example.md 1.3 KB
- references/image-styles/结构分层.example.md 1.1 KB
- references/image-styles/金句卡片.example.md 1.4 KB
- references/specs.md 1.2 KB
- scripts/image_create.py 62 KB runs code
- scripts/user_image_prepare.py 3.2 KB runs code
- skill.json 500 B
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.
- 1mo ago Changed 3038b8dcd387
- 1mo ago Changed · -114 lines 9ff350f706fe
- 1mo ago Changed · +8 lines eb4963658d54
- 2mo ago Changed · +9 lines dccebe95ded1
- 2mo ago Changed · +3 lines 357662f382ca
- 2mo ago First seen · 251 lines · 144 tokens per session scan A 04032e580dc6
aws-wechat-article-images is a skill published in the GitHub repository aiworkskills/wechat-article-skills (729 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 144 tokens to every session and 3,758 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-images compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aws-wechat-article-imagesaiworkskills/wechat-article-skills | Skill | 729 | 1mo ago | Apache-2.0 | A | 144 | Claude Code, Codex |
| stop-slop-zhpencil20388-eng/stop-slop-zh | Skill | 54 | 5mo ago | MIT | A | 0 | Claude Code, Codex |
| shuorenhuatentenco/shuorenhua-zh-tw | Skill | 10 | 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 | 4mo ago | MIT | A | 211 | Claude Code |
| article-qaweitzu-com/ai-article-factory | Skill | 5 | 5mo ago | Apache-2.0 | A | 105 | Claude Code |
| ai-article-factoryweitzu-com/ai-article-factory | Skill | 5 | 5mo ago | Apache-2.0 | A | 96 | Claude Code |