article-export

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

A tool that exports a finished article as both clean Markdown and a Word document, with images placed inside the document. Markdown is plain text with formatting symbols, while .docx is the standard Word file format.

In plain words
What is it for?
Use it after an article is finished when you need a website-ready Markdown file and a review- or client-ready .docx file. It can add a table of contents and use a supplied reference template.
Why use it?
It avoids preparing separate website and review files by hand. It also preserves referenced article images in the Word version and can apply a brand template.

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-export
Any agent
npx skills add weitzu-com/ai-article-factory --skill article-export
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-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/weitzu-com/ai-article-factory/article-export.svg)](https://agentmods.dev/skills/weitzu-com/ai-article-factory/article-export)
Your own site
<a href="https://agentmods.dev/skills/weitzu-com/ai-article-factory/article-export"><img src="https://agentmods.dev/badge/skills/weitzu-com/ai-article-factory/article-export.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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 $0.00048 $0.00523
Opus 5 $0.00024 $0.00262
Sonnet 5 $0.00010 $0.00105
Haiku 4.5 $0.00005 $0.00052

Measured 4d ago against content hash 1e22c31e2756, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

article-export 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 4d 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-export/SKILL.md · 36 lines

What it actually says

article-export (P9 — MD + Word)

Produce two deliverables from one master draft: Markdown (for the website) and Word .docx (for review/clients/offline), with figures embedded. Self-contained — uses the bundled script + pandoc; no external pack needed.

Workflow

  1. The final draft is <article-dir>/<slug>-final.md, with figures referenced as ![](assets/img/...).
  2. Export to Word:
    bash <repo>/scripts/export.sh <article-dir> <slug>      # → <slug>-final.docx
    
    • Applies the brand template templates/reference.docx (swap it for your own corporate VI; or edit and save back).
    • --resource-path points at assets/img/ so every ![](...) is embedded into the .docx.
    • Adds a table of contents and a zh-CN lang tag; macOS bash-3.2 safe.
    • If the brand template is absent, falls back to pandoc defaults (warns, doesn't crash).
  3. Website version: also keep <slug>-wp.md (the Markdown the site/CMS ingests).

Requirements & graceful degradation

  • Needs pandoc (brew install pandoc). If absent, you still have the Markdown; install pandoc to get .docx.
  • A Markdown article needs zero dependencies — Word is the optional extra.

Verify

After export, confirm the .docx opens, the cover + content figures are embedded, the TOC is correct, and Chinese renders (not boxes).

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. 4d ago First seen · 36 lines · 48 tokens per session scan A 1e22c31e2756

Subscribe to this mod's changes

article-export 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 48 tokens to every session and 523 once invoked, about $0.0002 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-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

geo-proposal

Auto-generate a professional, client-ready GEO service proposal from audit data. Creates a full proposal in markdown and PDF including executive summary, findings, recommended service packages (Basic/Standard/Premium), pricing, timeline, and terms. Use when user says "proposal", "proposta", "offerta", "preventivo"…

zubair-trabzada/geo-seo-claude · 83 tokens

geo-report-pdf

Generate a professional PDF report from a GEO audit using pandoc + Chrome headless. Converts GEO-AUDIT-REPORT.md into a styled, client-ready PDF with a cover page, color-coded score tables, severity-tagged findings, and a 90-day roadmap.

zubair-trabzada/geo-seo-claude · 59 tokens

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