Word Document Reader and Writer
HKUDS/DeepTutor
Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.
Converts Markdown files into Word documents formatted to Chinese typesetting conventions, with presets for academic, legal, report and book layouts.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add cat-xierluo/SuitAgent --skill md2word -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cat-xierluo/SuitAgent md2word --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cat-xierluo/SuitAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/md2word .claude/skills/md2word && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "md2word" agent skill from https://github.com/cat-xierluo/SuitAgent/tree/main/.claude/skills/md2word into .claude/skills/md2word/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2word", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cat-xierluo/SuitAgent/tree/main/.claude/skills/md2wordType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cat-xierluo/SuitAgent --skill md2word -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cat-xierluo/SuitAgent md2word --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/SuitAgent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/md2word .agents/skills/md2word && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "md2word" agent skill from https://github.com/cat-xierluo/SuitAgent/tree/main/.claude/skills/md2word into .agents/skills/md2word/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2word", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cat-xierluo/SuitAgent --skill md2word -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cat-xierluo/SuitAgent md2word --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/SuitAgent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/md2word .cursor/skills/md2word && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "md2word" agent skill from https://github.com/cat-xierluo/SuitAgent/tree/main/.claude/skills/md2word into .cursor/skills/md2word/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2word", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cat-xierluo/SuitAgent.git --path .claude/skills/md2word--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cat-xierluo/SuitAgent --skill md2word -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cat-xierluo/SuitAgent md2word --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/SuitAgent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/md2word .gemini/skills/md2word && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "md2word" agent skill from https://github.com/cat-xierluo/SuitAgent/tree/main/.claude/skills/md2word into .gemini/skills/md2word/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2word", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cat-xierluo/SuitAgent md2wordInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cat-xierluo/SuitAgent --skill md2word -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cat-xierluo/SuitAgent.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/md2word .github/skills/md2word && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "md2word" agent skill from https://github.com/cat-xierluo/SuitAgent/tree/main/.claude/skills/md2word into .github/skills/md2word/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2word", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cat-xierluo/SuitAgent --skill md2word -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cat-xierluo/SuitAgent md2word --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cat-xierluo/SuitAgent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/md2word .opencode/skills/md2word && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "md2word" agent skill from https://github.com/cat-xierluo/SuitAgent/tree/main/.claude/skills/md2word into .opencode/skills/md2word/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md2word", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
md2wordConverts Markdown files into Word documents formatted to Chinese typesetting conventions, with presets for academic, legal, report and book layouts.
The main script, scripts/md2word.py, turns a Markdown file into a .docx and applies layout settings suited to Chinese documents such as formal papers and reports that need consistent formatting. Settings come from YAML presets named academic, book-publish, legal, minimal, report and service-plan, plus a config template for your own changes. The skill text itself is written in Chinese.
Beyond basic Markdown it handles images, tables kept within the page width, native Word footnotes or endnotes, shaded quote and code blocks, and horizontal rules drawn as paragraph borders. A book mode merges several chapter files into one document and resolves relative image paths from each chapter's own folder. Inline SVG is rendered to PNG, and Mermaid diagrams are supported when the optional tools are installed.
Read from SKILL.md and the folder at commit c8cf2c4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
pythonpipnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip and npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Markdown to Word Converter loads about 559 tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 24 tokens; SKILL.md has 69 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from cat-xierluo/SuitAgent at commit c8cf2c4, republished under its MIT licence (© cat-xierluo). 69 words, ~559 tokens.
.claude/skills/md2word/SKILL.md (or your agent's skills folder). This skill also uses 23 other files; get the full folder from GitHub.将 Markdown 文档转换为符合中文排版标准的 Word 文档。支持完整的 Markdown 语法,自动应用专业格式设置。
pip install python-docx Pillow beautifulsoup4 PyYAMLnpm install -g @mermaid-js/mermaid-cli主转换脚本:scripts/md2word.py
# 基本转换
python scripts/md2word.py input.md output.docx
# 使用预设格式
python scripts/md2word.py input.md --preset=academic
# 使用自定义配置
python scripts/md2word.py input.md --config=my-config.yaml预设信息从 YAML 文件动态读取,运行以下命令查看完整列表:
python scripts/config.py --list常用预设:
完整配置见
assets/presets/*.yaml,设计说明见assets/theme-notes/
复制配置模板并修改:
cp assets/config-template.yaml my-config.yaml将 .docx 模板放入 assets/templates/ 目录,或使用 --template 指定。
Word 模板 vs 配置文件:
md2word/
├── SKILL.md # 本文档
├── CHANGELOG.md # 版本记录
├── references/ # 参考文档
│ ├── config-reference.md
│ ├── style-mappings.md
│ └── examples.md
├── scripts/ # 转换脚本
│ ├── md2word.py # 主脚本
│ ├── config.py # 配置模块(含 --list 查看预设)
│ ├── extract_template_config.py # 从 Word 模板提取配置
│ ├── formatter.py # 文本格式化模块
│ ├── table_handler.py # 表格处理模块
│ └── chart_handler.py # 图表渲染模块
└── assets/ # 资源文件
├── presets/ # YAML 预设配置
├── theme-notes/ # 预设设计说明文档
├── templates/ # Word 模板文件
└── config-template.yaml© cat-xierluo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 23 other files (scripts, references, assets) in .claude/skills/md2word of cat-xierluo/SuitAgent.
Open the folder on GitHubat commit c8cf2c4
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in cat-xierluo/SuitAgent, which our catalogue first saw on October 7, 2026.
Markdown to Word Converter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Markdown to Word Converter this skillcat-xierluo/SuitAgent | 205 | — | ~559 | Automated safety check: Pass | MIT | |
| Word Document Reader and WriterHKUDS/DeepTutor | 41k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| BiSheng DOCX Builderdataelement/bisheng | 12k | — | ~2.7k | Automated safety check: Pass | Apache-2.0 | |
| Word DOCX ToolkitTokenRhythm/opensquilla | 7.1k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Doc Cleanernotoriouslab/doc-cleaner | 309 | — | ~712 | Automated safety check: Pass | MIT | |
| Industry Bid Document WriterGet00/BiaoShu-SKILL | 173 | — | ~4.6k | Automated safety check: Pass | Apache-2.0 |
HKUDS/DeepTutor
Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.
dataelement/bisheng
Builds or edits Word .docx documents inside BiSheng's code executor with python-docx, handling Chinese fonts, tables of contents, page numbers and official-document layout.
TokenRhythm/opensquilla
Inspects, edits in place or creates Word .docx files with bundled Python scripts, keeping existing styles intact when content changes.
notoriouslab/doc-cleaner
Convert PDF, DOCX, XLSX, and text files to clean, structured Markdown.
Get00/BiaoShu-SKILL
Converts a tender document into Markdown, extracts scoring criteria and requirements, then drafts an industry-formatted technical bid as a Word file.
Nebutra/MinerU-Skill
An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.
Works with
Categories
Converts Markdown files into Word documents formatted to Chinese typesetting conventions, with presets for academic, legal, report and book layouts. docx and applies layout settings suited to Chinese documents such as formal papers and reports that need consistent formatting. Settings come from YAML presets named academic, book-publish, legal, minimal, report and service-plan, plus a config template for your own changes.
Markdown to Word Converter fits situations like: producing a formal Word report or paper from Markdown notes; merging several chapter files into one book-style document; applying a consistent legal or academic layout to Chinese text; getting Mermaid diagrams and SVG images into a .docx file.
Run `npx skills add cat-xierluo/SuitAgent --skill md2word -a claude-code`. Or copy the skill folder (.claude/skills/md2word in cat-xierluo/SuitAgent) into .claude/skills/md2word in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cat-xierluo/SuitAgent --skill md2word -a codex`. Or copy the skill folder (.claude/skills/md2word in cat-xierluo/SuitAgent) into .agents/skills/md2word in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cat-xierluo/SuitAgent --skill md2word -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/md2word, .gemini/skills/md2word, .github/skills/md2word and .opencode/skills/md2word in your project.
Going by SKILL.md and its folder, Markdown to Word Converter needs the command-line tools its instructions call (python, pip and npm). Our summary lists: Python with python-docx, Pillow, beautifulsoup4 and PyYAML; Optional: mermaid-cli for Mermaid diagrams, and librsvg or cairosvg for SVG images.
SKILL.md contains no URLs. Its commands use pip and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Markdown to Word Converter is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 559 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Markdown to Word Converter: Word Document Reader and Writer (HKUDS/DeepTutor, 41k stars), BiSheng DOCX Builder (dataelement/bisheng, 12k stars), Word DOCX Toolkit (TokenRhythm/opensquilla, 7.1k stars) and Doc Cleaner (notoriouslab/doc-cleaner, 309 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cat-xierluo (a GitHub user) maintains it in cat-xierluo/SuitAgent, which has 205 GitHub stars. The repository was last updated on August 16, 2026.
Source: cat-xierluo/SuitAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.