๐ŸŽ Get the FREE AI Skills Starter Guide โ€” Subscribe โ†’
BytesAgainBytesAgain
๐Ÿฆ€ ClawHub

Markdown to Word (.docx) Converter

by @krabww

Convert Markdown files to formatted Word (.docx) documents with automatic template style detection. Use this skill whenever the user mentions converting Mark...

Versionv1.0.0
Installs2
๐Ÿ’ก Examples

Basic conversion (default Chinese typesetting)

python3 scripts/md_to_docx.py input.md -o output.docx

With template (auto-extract formatting)

python3 scripts/md_to_docx.py input.md -o output.docx -t template.doc

When Invoked as a Skill

When the user asks to convert a Markdown file to Word:

1. Identify the input file โ€” the user will typically specify a .md file path 2. Check for a template โ€” ask if they have a .doc/.docx template, or check if one exists in common locations (docs/, templates/) 3. Ensure dependencies are installed:

   pip3 install python-docx
   npm list -g @mermaid-js/mermaid-cli 2>/dev/null || npm install -g @mermaid-js/mermaid-cli
   
4. Run the script from the skill's scripts/ directory:
   python3 /scripts/md_to_docx.py  -o  [-t ]
   
5. Report results โ€” tell the user the output path and whether all Mermaid diagrams rendered successfully

View on ClawHub
TERMINAL
clawhub install md-to-docx

๐Ÿงช Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

๐Ÿ” Can't find the right skill?

Search 60,000+ AI agent skills โ€” free, no login needed.

Search Skills โ†’