Convert Markdown files to Word documents (.docx) with proper formatting, Chinese font support (FangSong for all text including headings), black font color, 1.5x line spacing, precise first-line…

Custom licenceAuto-check: notesDocuments & Office

Install Md To DOCX

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill md-to-docx -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills md-to-docx --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/67-econfin-workflow-toolkit/md-to-docx .claude/skills/md-to-docx && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
md-to-docx
GitHub stars
4.6k
Token cost
~1.9k tokens
SKILL.md length
728 words
Files
10
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

Convert Markdown files to Word documents (.docx) with proper formatting, Chinese font support (FangSong for all text including headings), black font color, 1.5x line spacing, precise first-line…

  • Works in 6 steps: Check if pandoc is installed by running… → Identify the input and output files → Run the conversion script using the Bash… → …
  • Converting .md files to .docx
  • SKILL.md covers What this Skill does, Requirements, Instructions and Examples, plus 5 more sections
  • Runs Python scripts from its folder; calls python, pandoc and brew

What it does

Md To DOCX is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Convert Markdown files to Word documents (.docx) with proper formatting, Chinese font support (FangSong for all text including headings), black font color, 1.5x line spacing, precise first-line indent (24pt), heading spacing after (1 line), no italic headings, and automatic superscript conversion for citation numbers. Use when converting .md files to .docx, creating Word documents from markdown, or when user mentions Word, DOCX, or document conversion. Requires pandoc.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files (for example `DISTRIBUTION.md`, `INSTALLATION.md` and `README.md`).

It sits in Documents & Office, covering Word documents. It works with Microsoft Word and Pandoc. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Converting .md files to .docx
  • Creating Word documents from markdown
  • User mentions Word
  • Document conversion

Example prompts

  • “/md-to-docx”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Glob

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Check if pandoc is installed by running pandoc --version
  2. Identify the input and output files
  3. Run the conversion script using the Bash tool
  4. Use additional options as needed
  5. For batch conversions
  6. Verify the conversion succeeded and inform the user of the output location

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pandoc
    • brew
    • apt-get
    • choco
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Md To DOCX loads about 1.9k tokens when it runs. Until then it costs about 121 tokens; SKILL.md has 728 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~121
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:35
    sudo apt-get install pandoc
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 728 words (~1,871 tokens).

“Convert markdown files to professionally formatted Word documents (.docx) using pandoc.”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
md-to-docx
allowed-tools
Bash, Read, Write, Glob

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files in skills/67-econfin-workflow-toolkit/md-to-docx of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • DISTRIBUTION.md
  • INSTALLATION.md
  • README.md
  • chinese_template.docx
  • convert_md_to_docx.py
  • create_chinese_template.py
  • fix_heading_fonts.py
  • fix_tables.py
  • 快速使用指南.md

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Md To DOCX next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Md To DOCX compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Md To DOCX this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~1.9kAutomated safety check: NotesCustom licence
Pandoc DOCX TemplateAchuan-2/pandoc_docx_template1.1k—~1kAutomated safety check: PassNone
Word Document Builderspinabot/brigade11k—~2.1kAutomated safety check: PassMIT
DOCX ToolkitXiaomiMiMo/MiMo-Code14k—~2.4kAutomated safety check: PassApache-2.0
Pandic OfficeTeam-Commonly/commonly1.4k—~642Automated safety check: PassApache-2.0
Doc To Markdowndaymade/claude-code-skills1.5k—~2.5kAutomated safety check: PassMIT

Similar skills

  • Pandoc DOCX Template

    Achuan-2/pandoc_docx_template

    A skill your agent uses when converting Markdown to Word DOCX or DOCX back to Markdown with Pandoc, especially when the output should use the bundled Chinese Word reference templates, heading…

    1.1k GitHub stars~1k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Word Document Builder

    spinabot/brigade

    Creates and edits Word documents along four paths of rising capability, from a quick tool to the docx library, an OOXML round-trip and pandoc, then verifies the file.

    11k GitHub stars~2.1k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • DOCX Toolkit

    XiaomiMiMo/MiMo-Code

    Produces, edits and reads Microsoft Word files through python-docx and lxml, with a decision table for picking the lightest workflow for a given task.

    14k GitHub stars~2.4k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Pandic Office

    Team-Commonly/commonly

    Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI.

    1.4k GitHub stars~642 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Doc To Markdown

    daymade/claude-code-skills

    Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.

    1.5k GitHub stars~2.5k tokensUpdated today
    Documents & OfficeAuto-check passed
  • DOCX

    guyi-a/pi-ling

    Word 文档(.docx)的日常处理:md → docx(生成简历/报告)、docx → PDF/图片(分享预览)、.doc → .docx(老格式升级)。触发场景:用户说"生成 Word 版" / "做份 Word 简历" / "把这份报告转 Word" / "这份 .doc 打不开" / "docx 转 PDF" 等。读 docx 内容走 agent 已有的…

    106 GitHub stars~1.1k tokensUpdated 25 days ago
    Documents & OfficeAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.6k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.6k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.6k GitHub stars~3.5k tokensUpdated 5 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.6k GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.6k GitHub stars~1.7k tokensUpdated 5 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.6k GitHub stars~868 tokensUpdated 5 days ago
    Auto-check passed

Questions about Md To DOCX

What does Md To DOCX do?

Convert Markdown files to Word documents (.docx) with proper formatting, Chinese font support (FangSong for all text including headings), black font color, 1.5x line spacing, precise first-line…. Md To DOCX is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.5x line spacing, precise first-line indent (24pt), heading spacing after (1 line), no italic headings, and automatic superscript conversion for citation numbers.

When should I use Md To DOCX?

Md To DOCX fits situations like: converting .md files to .docx; creating Word documents from markdown; user mentions Word; document conversion.

How do I install Md To DOCX in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill md-to-docx -a claude-code`. Or copy the skill folder (skills/67-econfin-workflow-toolkit/md-to-docx in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/md-to-docx in your project. Claude Code loads it when a task matches its description.

How do I install Md To DOCX in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill md-to-docx -a codex`. Or copy the skill folder (skills/67-econfin-workflow-toolkit/md-to-docx in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/md-to-docx in your project. Codex loads it when a task matches its description.

Can I use Md To DOCX in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill md-to-docx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/md-to-docx, .gemini/skills/md-to-docx, .github/skills/md-to-docx and .opencode/skills/md-to-docx in your project.

What does Md To DOCX need to run?

Going by SKILL.md and its folder, Md To DOCX needs Python for the scripts in its folder and the command-line tools its instructions call (python, pandoc, brew, apt-get, choco and pip). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob.

Does Md To DOCX access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Md To DOCX safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Md To DOCX use?

Md To DOCX has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Md To DOCX use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Md To DOCX?

Skills that share tags, products or a category with Md To DOCX: Pandoc DOCX Template (Achuan-2/pandoc_docx_template, 1.1k stars), Word Document Builder (spinabot/brigade, 11k stars), DOCX Toolkit (XiaomiMiMo/MiMo-Code, 14k stars) and Pandic Office (Team-Commonly/commonly, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Md To DOCX?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,556 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.