vace/markdown-docx/markdown-to-docx
Claude Code and agent skill by vace/markdown-docx
- community
Checking that the SKILL.md file is still in the repository.
Converts Markdown files (.md, .markdown) to DOCX using the markdown-docx npm package. Supports single and batch conversions, automatically generates output filenames, and creates Microsoft Word documents from Markdown content.
Install
npx vskill@latest install vace/markdown-docx/markdown-to-docxSKILL.md
Markdown to DOCX Converter
Overview
Convert Markdown files to Microsoft Word DOCX format using the markdown-docx npm package. Supports single file and batch conversions with automatic output file naming.
Quick Start
Single file conversion:
This creates document.docx in the same directory.
Batch conversion:
Each file is converted to DOCX in its original location.
Custom output location:
Batch to specific directory:
Workflow
When a user requests markdown to DOCX conversion:
- Identify input files - Confirm which markdown file(s) to convert
- Determine output naming - Use auto-naming unless user specifies custom names
- Run conversion - Execute the script with appropriate parameters
- Report results - Inform user of success and output file location(s)
Common Use Cases
Convert a single markdown file
User: "Convert README.md to DOCX"
Convert all markdown files in current directory
User: "Convert all my markdown files to Word documents"
Convert with custom output name
User: "Convert notes.md to report.docx"
Convert documentation set to a folder
User: "Convert all docs to DOCX and put them in the exports folder"
Script Details
Location: scripts/convert_md_to_docx.py
Features:
- Validates input files exist and are markdown format
- Auto-generates output filenames (input.md → input.docx)
- Supports custom output paths for single files
- Supports output directory for batch conversions
- Creates output directories if they don't exist
- Provides clear success/failure feedback
- Returns proper exit codes for automation
Requirements:
- Python 3+
- Node.js and npm (for npx)
- markdown-docx npm package (automatically fetched via npx)
Error Handling
The script handles common errors:
- Input file not found - Reports missing file path
- Invalid file type - Ensures input is .md or .markdown
- npx not available - Checks for Node.js/npm installation
- Conversion failure - Captures and reports markdown-docx errors
Tips
- Auto-naming is preferred - The script automatically names output files, reducing friction
- Batch operations - When converting multiple files, the script shows a summary of successes and failures
- Path handling - Both absolute and relative paths work for input and output
- Glob patterns - Shell glob patterns (*.md) can be used for batch operations
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/markdown-to-docx/SKILL.md
Popularity
- Repository stars
- 279
- Repository forks
- 45
- Repository npm downloads, 7 days
- 8,554
- 7-day trend score
- 49
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 30 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vace/markdown-docx/markdown-to-docx)