Xpersona
M

Markdown to Word

CLAWHUB · Unverified

Convert a Markdown file or raw Markdown string into a polished Word DOCX document. Supports custom Word template files, includes built-in DOCX templates, and...

62
Rank
84
Safety
979
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 979 downloads reported by the source. Last updated 10/11/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 s17cknmnzy1b8wzvqpdqhnn7t584b85d:markdown-to-word
  1. Install using `clawhub skill install s17cknmnzy1b8wzvqpdqhnn7t584b85d:markdown-to-word` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/mutour/markdown-to-word before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-mutour-markdown-to-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

20,543 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: markdown-to-word
description: Convert a Markdown file or raw Markdown string into a polished Word DOCX document. Supports custom Word template files, includes built-in DOCX templates, and is the right skill when the user asks to export Markdown to Word, generate a .docx report from Markdown, or restyle Markdown content with a reference DOCX.
---

# Markdown To Word

Use this skill when the user wants a Markdown file or Markdown string converted into a Word `.docx` document.

## What this skill provides

- Deterministic conversion through `pandoc`
- Input from either a Markdown file or a raw Markdown string
- Custom template support through `--template /path/to/reference.docx`
- Built-in template pack in `assets/templates/`
- Optional table of contents, numbered sections, metadata, and resource-path support

## Quick workflow

1. Choose the input source.
   File input: pass `--input-file /abs/path/file.md`
   Raw string input: pass `--markdown '...'`
2. Choose the template.
   Custom template wins when the user provides one.
   Otherwise use a built-in template with `--builtin-template`.
3. Set output path with `--output /abs/path/result.docx`.
4. For long reports, prefer `--toc` and `--number-sections`.

## Built-in templates

- `modern-blue`: clean report style, safe default
- `executive-serif`: formal memo / proposal style
- `warm-notebook`: softer editorial style
- `minimal-gray`: restrained documentation style

List them at runtime with:

```bash
python3 scripts/markdown_to_docx.py --list-templates
```

## Main command

```bash
python3 scripts/markdown_to_docx.py \
  --input-file /abs/path/source.md \
  --output /abs/path/output.docx \
  --builtin-template modern-blue \
  --toc \
  --number-sections
```

## Raw string example

```bash
python3 scripts/markdown_to_docx.py \
  --markdown '# Weekly Report\n\n- Finished template system\n- Integrated pandoc' \
  --output /abs/path/weekly-report.docx \
  --builtin-template executive-serif \
  --title 'Weekly Report'
```

## Template rules

- Prefer `--template` when the user already has a branded `.docx` reference file.
- Use `--builtin-template` when no custom template is provided.
- If both are passed, the script uses the custom template.

## Metadata and assets

- Pass `--title`, `--author`, `--date`, or `--metadata-file`
- Use `--resource-path` when Markdown references local images outside the Markdown file directory
- Example templates and a sample Markdown file live under `assets/`

## Bundled files

- Converter: `scripts/markdown_to_docx.py`
- Built-in template generator: `scripts/build_builtin_templates.py`
- Built-in templates: `assets/templates/*.docx`

## Notes

- This skill expects `pandoc` to be installed and available on `PATH`
- Generated DOCX styling depends on the selected reference DOCX, so for brand fidelity a custom reference file is still the best option

_meta.json

{
  "ownerId": "kn7b7czjv8aavf17dp3pn3tkn984ag6r",
  "slug": "markdown-to-word",
  "version": "0.4.0",
  "publishedAt": 1775576080976
}

assets/examples/sample.md

# Markdown to Word Example

This is a sample document to verify the `markdown-to-word` skill.

## Features

- Supports Markdown file input
- Supports Markdown string input
- Supports custom `reference.docx` templates
- Built-in multiple style templates

## Table

| Template | Style | Use Case |
| --- | --- | --- |
| modern-blue | Clear & Professional | Reports, Proposals, Weekly updates |
| executive-serif | Formal & Steady | Proposals, Contract attachments, Memos |
| warm-notebook | Soft Editorial | Articles, Sharing notes, Reading notes |
| minimal-gray | Restrained & Simple | Tech docs, Internal guides |

## Code

```bash
python3 scripts/markdown_to_docx.py \
  --input-file sample.md \
  --output sample.docx \
  --builtin-template modern-blue \
  --toc
```

skill-card.md

## Description:

Convert a Markdown file or raw Markdown string into a polished Word DOCX document.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and document authors use this skill to convert Markdown files or raw Markdown strings into Word DOCX reports, proposals, memos, or documentation with built-in or custom reference templates.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill runs the local pandoc executable and reads the Markdown, template, metadata, and resource files selected by the user.

Mitigation: Install and use it only in environments where the local pandoc executable is trusted, and review input, template, metadata, and resource paths before conversion.

Risk: The converter creates parent directories and writes DOCX files to the requested output path.

Mitigation: Review the output path before running the command and avoid broad or sensitive destination directories.

## Reference(s):

- [Markdown to Word example](assets/examples/sample.md)

## Skill Output:

**Output Type(s):** [Guidance, Shell commands, Configuration]

**Output Format:** [Markdown with inline shell commands and parameter guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Commands may create DOCX files at user-selected output paths and can use templates, metadata, resource paths, a table of contents, and numbered sections.]

## Skill Version(s):

0.4.0 (source: server release metadata)

## 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.

agents/openai.yaml

interface:
  display_name: "Markdown to Word"
  short_description: "Convert Markdown into polished DOCX with built-in or custom templates"
  default_prompt: "Use $markdown-to-word to convert a Markdown file or Markdown string into a polished Word DOCX."

Sponsored

Ads related to Markdown to Word and adjacent AI workflows.