Xpersona
M

Markdown to Word Converter

CLAWHUB · Unverified

Convert Markdown files to formatted Word documents (.docx). Use when the user asks to convert, export, or save a Markdown file as Word/DOCX format. Triggers... Skill: Markdown to Word Converter Owner: frankxpj Summary: Convert Markdown files to formatted Word documents (.docx). Use when the user asks to convert, export, or save a Markdown file as Word/DOCX format. Triggers... Tags: converter:3.112.0, docx:3.112.0, latest:3.112.0, markdown:3.112.0, python:3.112.0 Version history: v3.112.0 | 2026-07-20T05:30:43.890Z | user 新增:围栏代码块 () 格式支持,自动转换为 Consolas 等宽字体 + 灰底格式化的 Word 代码

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177gvj0kgrw0065af9q2kh2v583hxm9:md-2-word
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-frankxpj-md-2-word/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

10,561 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: md-2-word
description: Convert Markdown files to formatted Word documents (.docx). Use when the user asks to convert, export, or save a Markdown file as Word/DOCX format. Triggers on phrases like "convert md to word", "export to docx", "save as word document", "markdown转word", "转成word文档".
---

# Markdown to Word Converter

Convert Markdown files to professionally formatted Word documents (.docx).

## Quick Start

```bash
python scripts/md_to_word.py <input.md> [output.docx]
```

**Parameters:**
- `input.md` - Path to the source Markdown file (required)
- `output.docx` - Path for the output Word file (optional, defaults to input name with .docx extension)

**Example:**
```bash
python scripts/md_to_word.py report.md report.docx
```

## Supported Markdown Features

| Feature | Format |
|---------|--------|
| Headers (#, ##, ###) | 18pt/14pt/12pt bold, 微软雅黑 |
| Bold (**text**) | Bold formatting |
| Tables | Bordered tables with blue header background |
| Code blocks (```) | Monospace font (Consolas), gray background, indented |
| Inline code (`code`) | Monospace font (Consolas) within paragraph |
| Bullet lists (-, *) | Bullet points |
| Numbered lists (1., 2.) | Numbered items |
| Blockquotes (>) | Italic, indented text |
| Horizontal rules (---) | Paragraph spacing |

## Usage in Conversation

When user wants to convert a Markdown file:

1. **Identify the file**: Confirm the Markdown file path
2. **Run the conversion**: Execute the script
3. **Confirm output**: Report file location and size

**Example prompt handling:**
- "Convert this md file to word" → Run with provided file path
- "Export as docx" → Convert current/mentioned file
- "把调研提纲转成word" → Convert the mentioned file

## Script Location

The conversion script is located at:
```
scripts/md_to_word.py
```

## Requirements

- Python 3.6+
- python-docx library

Install if needed:
```bash
pip install python-docx
```

_meta.json

{
  "ownerId": "kn78m0pnjs7mx943489rr99whd83fpj9",
  "slug": "md-2-word",
  "version": "3.112.0",
  "publishedAt": 1784525443890
}

skill-card.md

## Description:

Converts Markdown files into formatted Word documents (.docx).

This skill is ready for commercial/non-commercial use.

## Publisher:

[frankxpj](https://clawhub.ai/user/frankxpj)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, writers, and document authors use this skill to convert Markdown source files into formatted Word documents for sharing, review, or publication workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The converter writes a local .docx file at the selected output path and may overwrite an existing file.

Mitigation: Choose an explicit output path, check for existing files before conversion, and keep backups for important documents.

Risk: The skill depends on python-docx being installed in the execution environment.

Mitigation: Install python-docx in an isolated virtual environment, preferably from pinned dependency metadata.

Risk: The generated document uses default Chinese font formatting that may not match every document style guide.

Mitigation: Review the generated Word document formatting before distributing it.

## Reference(s):


## Skill Output:

**Output Type(s):** [shell commands, guidance, files]

**Output Format:** [Markdown guidance with shell commands that produce a local .docx file]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The converter accepts an input Markdown path and an optional output .docx path.]

## Skill Version(s):

3.112.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Markdown to Word Converter and adjacent AI workflows.