md-to-docx — AI Markdown to Word
by LIANG SUN
Turn AI drafts and Markdown into deliverable Word DOCX locally—presets for technical, business, and academic docs. No API keys.
Free
md-to-docx — AI Markdown to Word
Example session with this skill installed
Convert examples/sample.md to a Word technical report with TOC and numbering.
- Read your context and instructions
- Compiled the md-to-docx
Summary
Converted examples/sample.md to examples/sample.docx with the technical preset (TOC + numbering).
Command
./bin/convert examples/sample.md --preset technical --toc --numbering
Result
- Input: examples/sample.md
- Output: examples/sample.docx
- Exit code: 0
- Source .md unchanged
Deliverable contents
Numbered headings, Word table, monospace code block, and a formatted note/callout.
Next steps
Open the DOCX in Word. For business docs use --preset business. Optional Mermaid needs mmdc.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
You write with ChatGPT, Claude, or Cursor. The draft is Markdown. Stakeholders still want Word. Copy-paste kills formatting.
What you get
md-to-docx compiles Markdown into professional DOCX on your machine—headings, tables, code, callouts, optional TOC/numbering—using built-in presets.
GitHub: https://github.com/sunliangcode/md-to-docx
How to use
- Ask: Convert this report to Word with the technical preset.
- Agent runs bin/convert with the right --preset.
- You get a .docx beside the .md. Source is never modified.
Presets
- technical (+ --toc --numbering): formal tech / design docs
- professional: everyday documents
- editorial: long-form
- academic: papers
- business: summaries
- report: generic reports
Also included
- Reverse: Word to Markdown
- Diff: compare two versions
- Optional Mermaid (if mmdc installed)
Requirements
Python 3.10+ and: pip install "markdown-it-py>=3" "mdit-py-plugins>=0.4" "python-docx>=1" "latex2mathml>=3" "lxml>=4.9"
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
3 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 month ago
- Free with an Agensi account
- Software
Python 3.10+markdown-it-pymdit-py-pluginspython-docxlatex2mathmllxml
Git
Install the packages with pip.
Permissions
File Scopes
What's inside
Creator
LIANG SUN
java
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.