# Article Export

> Use to export a finished article to Word (.docx) with images embedded, plus clean Markdown — brand-templated. 导出/Word/docx/转Word/MD转Word/export/word-export/双格式

- **Type:** Skill
- **Install:** `agentstack add skill-weitzu-com-ai-article-factory-article-export`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [weitzu-com](https://agentstack.voostack.com/s/weitzu-com)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [weitzu-com](https://github.com/weitzu-com)
- **Source:** https://github.com/weitzu-com/ai-article-factory/tree/main/skills/article-export

## Install

```sh
agentstack add skill-weitzu-com-ai-article-factory-article-export
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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 `/-final.md`, with figures referenced as ``.
2. Export to Word:
   ```bash
   bash /scripts/export.sh        # → -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 `-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).

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [weitzu-com](https://github.com/weitzu-com)
- **Source:** [weitzu-com/ai-article-factory](https://github.com/weitzu-com/ai-article-factory)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-weitzu-com-ai-article-factory-article-export
- Seller: https://agentstack.voostack.com/s/weitzu-com
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
