article-visuals

article-visuals is a skill for Claude Code, Codex from weitzu-com/ai-article-factory. It costs 66 tokens per session (773 once invoked), scanned A, original, Apache-2.0.

A tool for planning and producing article visuals such as cover illustrations, charts, and relationship diagrams. It selects different formats for data, processes, concepts, and real-world objects.

In plain words
What is it for?
Use it to create cover images, Mermaid diagrams for flows or structures, matplotlib charts for data, and an image list with captions, alternative text, and placement details.
Why use it?
Articles can be difficult to understand when important relationships or trends are described only in words. This organizes visual sources and renders supported figures for publication.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/weitzu-com/ai-article-factory/article-visuals
Any agent
npx skills add weitzu-com/ai-article-factory --skill article-visuals
Clone the repo
git clone --depth 1 https://github.com/weitzu-com/ai-article-factory

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for article-visuals

README.md
[![agentmods](https://agentmods.dev/badge/skills/weitzu-com/ai-article-factory/article-visuals.svg)](https://agentmods.dev/skills/weitzu-com/ai-article-factory/article-visuals)
Your own site
<a href="https://agentmods.dev/skills/weitzu-com/ai-article-factory/article-visuals"><img src="https://agentmods.dev/badge/skills/weitzu-com/ai-article-factory/article-visuals.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 773 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.00773
Opus 5 $0.00033 $0.00387
Sonnet 5 $0.00013 $0.00155
Haiku 4.5 $0.00007 $0.00077

Measured 5d ago against content hash 9af9a4eb0161, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

article-visuals 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 5d 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.

skills/article-visuals/SKILL.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

article-visuals (P6 — 图文并茂)

Make figures that serve three readers at once: humans (understanding), search engines (image SEO / rich results), and AI engines (multimodal citation). ≥3 figures per article: 1 cover + ≥2 content figures. This skill is self-contained — it uses the bundled scripts, no external pack needed.

Type decision tree (pick type → tool)

To express Type Tool Source file
flow / structure / relationship diagram Mermaid assets/src/*.mmd
data / comparison / trend chart matplotlib (import figlib) assets/src/*.py
concept / cover illustration AI image (prompt → human fills) assets/src/cover-prompt.mdassets/img/cover.png
real UI / object screenshot/photo manual
tabular comparison Markdown table (preferred — AI-extractable) in prose

Rule: if data fits a Markdown table, use a table; only draw when relationships/trends need it.

Workflow

  1. From the outline's figure intent, write figure sources into assets/src/ and log assets/图清单.md (caption + alt + placement).
  2. Render:
    bash <repo>/scripts/render-figures.sh <article-dir>      # mermaid + matplotlib → assets/img/
    
    figlib.py provides the brand palette (scripts/palette.json) + registered CJK fonts (Chinese won't box) + save() / bar_compare() helpers. If mmdc is missing, .mmd is skipped gracefully.
  3. Embed with ![keyworded-alt](assets/img/x.png) + a caption carrying the source [C#].
  4. Cover: a placeholder is used so it never blocks; generate the real one from cover-prompt.md and drop it at assets/img/cover.png.

Image SEO + GEO checklist (each figure must pass)

  • Descriptive English kebab-case filename with keywords (not image1.png).
  • Alt text describing the figure + naturally containing the keyword.
  • Caption is a complete sentence with the data source.
  • Compressed (<200KB chart / <400KB cover).
  • Every data figure has an equivalent sentence/table nearby (AI reads text; the figure corroborates).
  • Don't rely on color alone (color-blind safe); in-figure font ≥ body.

Read the full file on GitHub · 48 lines

Changes

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.

  1. 5d ago First seen · 48 lines · 66 tokens per session scan A 9af9a4eb0161

Subscribe to this mod's changes

article-visuals is a skill published in the GitHub repository weitzu-com/ai-article-factory (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 773 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

aws-wechat-article-main

公众号运营|微信公众号|公众号一条龙|公众号全流程|自媒体运营|wechat automation|content pipeline|AIGC workflow — 公众号一条龙运营总控入口,选题→写稿→审稿→排版→配图→发布串联 8 个子 skill,单条指令完成整篇图文从 0 到上架。面向公众号小编、自媒体、品牌内容。触发词分层:一条龙流程「一条龙」「完整流程」「从头做」「从 0…

aiworkskills/wechat-article-skills · 359 tokens

aws-wechat-article-writing

公众号写稿|长文写作|文章润色|改写续写 — 公众号长文 AI 写作,从话题或提纲生成完整初稿,支持改写、续写、润色、开头结尾优化,可调 DeepSeek / GPT / Claude 或由 Agent 代写。面向自媒体作者、公众号运营、品牌文案。触发词(单独触发仅限对已有稿子的修改):「改写」「润色」「续写」「续一段」「往下写」「接着这段写」「重写开头」「改结尾」「调整语气」「这段润色下」「把这段改活泼点」「优化用词」「用 GPT 重写」「用 DeepSeek 重写」。新写一篇请走 aws-wechat-article-main(main 内部会调用本 skill 生成初稿);需要多环节串联(写+审+排+配图+发)也走…

aiworkskills/wechat-article-skills · 218 tokens

aws-wechat-article-images

公众号封面|公众号配图|公众号插图|AI 生图 — 公众号 AI 封面与配图生成,按文章标题与内容自动匹配画风,一稿多方案,多风格预设可复用。面向公众号编辑、自媒体、品牌设计。触发词:「封面」「配图」「插图」「生成图片」「给文章加图」「做个封面」「文章插图」「配个图」。不写正文只发一组图请走 aws-wechat-sticker;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。.

aiworkskills/wechat-article-skills · 144 tokens

aws-wechat-article-assets

公众号素材|业务资料库|预设包|.aws 预设包|主题包|品牌包|aiworkskills.cn — 用户业务资料库与预设包管理:业务资料按产品名组织在 .aws-article/products/{产品名}/(介绍 .md 直挂产品根 + 配图归 images/ 子目录含同名说明 .md),AI 与用户对话产出业务介绍内容时引导用户保存;图片入库走 productimageingest.py --product --stem 。导入 .aws ZIP 预设包(本地文件或 https://aiworkskills.cn//.aws URL)合并主题/配色/字体配置到…

aiworkskills/wechat-article-skills · 258 tokens

aws-wechat-article-publish

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

aiworkskills/wechat-article-skills · 150 tokens

aws-wechat-article-review

公众号审稿|公众号校对|敏感词检测|内容合规 — 公众号发布前合规审查:敏感词扫描、错别字检测、政治合规、平台规范校验,一次性输出修改清单。面向公众号编辑、自媒体作者、合规岗。触发词:「审稿」「审核」「校对」「合规」「敏感词」「错别字」「稿子检查一下」「稿子帮我看看」「稿子写完了」「文章检查一下」「检查下有没有问题」「能不能发」「发布前检查」。需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。.

aiworkskills/wechat-article-skills · 155 tokens