Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Inicia sesión con Google para escribir reseñas.Prototipo · se actualiza cada 30 min
PopNx MCPServidores MCP para quienes usan IA · en palabras sencillas

pandoc_docx_template Skill

Repositorio ↗

de Achuan-2★ 11101 skills

Instalar

What it does

设置Markdown导出为docx时的样式,可控制导出docx的段落文字、标题编号等样式,适用于obsidian、typora、思源笔记等Markdown笔记软件,支持Codex、Claude Code等调用skill丨Template for exporting Markdown to docx (Word) using pandoc

  • Connects Instruction files the AI reads
  • Account or key No key found in README or SKILL.md
  • Category Programación
Para autores: añade una insignia a tu README

Si lo creaste tú, pega este código en tu README. La insignia enlaza a esta página.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/achuan-2-pandoc-docx-template.svg)](https://mcp.popnx.com/en/skills/achuan-2-pandoc-docx-template)

Úsalo junto con

Servidores MCP que conectan la IA a servicios para el mismo trabajo

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

de morlutoMuy usado↓ 388,7 mil/sem★ 468 milActualizado hace 7 días

MCP · Conecta un servicioSe ejecuta en tu computadora

Fallow

Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.

de fallow-rsMuy usado↓ 2,4 M/sem★ 5,4 milActualizado anteayer

MCP · Conecta un servicioSe ejecuta en tu computadora

Desktop Commander

MCP server for terminal commands, file operations, and process management

de wonderwhy-erMuy usado↓ 740,3 mil/sem★ 10,3 milActualizado ayer

MCP · Conecta un servicioSe ejecuta en tu computadora

Skills parecidas

Mismo tipo de trabajo, ordenadas como la lista de Skills

Comparado con otros parecidos
Este
pandoc_docx_template
reaandrej-karpathy-skillsgraphifyMoneyPrinterTurbo
AutorAchuan-2morlutomultica-aiGraphify-Labsharry0703
Skills11111
Estrellas de GitHub1110467.235234.125149.873144.332
Último cambio de código9 jul 202618 nov 202620 abr 202618 nov 202618 nov 2026
Licencia–MIT–Apache-2.0MIT

1 skills (conjuntos de instrucciones) de Achuan-2 que la IA lee y sigue · no es un MCP server

En qué se diferencia un Skill de MCP

MCP = las manos

Conecta la IA a un servicio o dato externo, como leer Notion o crear una factura. Necesita un programa o servidor en marcha.

Skill = el manual

Un archivo de texto que enseña a la IA cómo hacer una tarea. No se conecta a nada.

A veces se parecen: algunas Skills ejecutan scripts que llaman herramientas y algunos MCP solo envían conocimiento. Empieza por la tarea que quieres hacer.

Funciona con

Claude CodeCodex

Según el README del autor y las carpetas del repo

Instalar

Is it safe?

  • Who made it

    GitHub account Achuan-2 (person), 6 years old

  • Use and upkeep

    ★ 1110 stars · code last changed 9 jul 2026

  • Any scripts?

    8 scripts that can run on a computer: lua/add-inline-code.lua, lua/image-title-to-caption-add-number.lua, lua/image-title-to-caption.lua, lua/markdown-html-recognition.lua and 4 more

  • Uses the internet?

    No internet calls found in the scripts

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit 8f94b99 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

Primero: ¿qué IA usas?

Elige tu app y esta página mostrará solo cómo instalarlo en ella

Option 1Upload to claude.ai (web and app)

  1. Download from GitHub

    This skill has no license, so we do not hand out a ZIP from our site. Download it from GitHub and arrange the folder yourself, or use "Let the AI install it" above, which is easier

    Download from GitHub (whole repo) ↗

    Unzip it, then zip only the pandoc_docx_template folder again. The ZIP must have a pandoc-docx-template folder with SKILL.md at the top level, no loose files

  2. Open Skills on claude.ai and upload

    +Create skillUpload a skillpick pandoc-docx-template.zip

    Open claude.ai/customize/skills ↗

  3. No Upload button? Turn on file creation first

    SettingsCapabilitiesCode execution and file creation

    Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free

Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)

Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)

Checked against official docs 12 nov 2026 · Source: support.claude.com, support.claude.com, code.claude.com

Option 1Deja que Claude Code lo instale

Copia esta frase y pégala en un chat de Claude Code

Where to install
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) for all my projects, at ~/.claude/skills/pandoc-docx-template. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) into the project this chat is open in (at .claude/skills/pandoc-docx-template). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Vuelve a abrir Claude Code y escribe /pandoc_docx_template, o pide una tarea relacionada y Claude lo usará

Checked against official docs 12 nov 2026 · Source: code.claude.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.claude/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/achuan-2/pandoc_docx_template.git /tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99/.' ~/.claude/skills/pandoc_docx_template
  3. Vuelve a abrir Claude Code y escribe /pandoc_docx_template, o pide una tarea relacionada y Claude lo usará

Las skills que instalas tú funcionan en la app de escritorio de ChatGPT, en Codex CLI y en la extensión de Codex para el IDE · ChatGPT en la web y el móvil no puede usar skills instaladas por ti, solo las que vienen con un plugin del directorio

App de escritorio de ChatGPT

La app de escritorio de ChatGPT incluye Codex, y Codex lee las skills de la carpeta ~/.agents/skills

Option 1Deja que ChatGPT lo instale

Abre Codex en la app de escritorio de ChatGPT y pega esta frase en el chat

Where to install
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) for all my projects, at ~/.agents/skills/pandoc-docx-template. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) into the project this chat is open in (at .agents/skills/pandoc-docx-template). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2Coloca la carpeta tú mismo

Coloca la carpeta pandoc-docx-template en ~/.agents/skills/pandoc-docx-template

~ es tu carpeta de inicio ($HOME)

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.agents/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/achuan-2/pandoc_docx_template.git /tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99/.' ~/.agents/skills/pandoc_docx_template

Después de instalar

  • App de escritorio de ChatGPT: abre Skills en la barra lateral para ver que la skill está
  • Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill
  • Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

ChatGPT en la web y el móvil

Las skills que instalas tú no funcionan aquí; solo las que vienen con un plugin del directorio

Para usar esta skill con ChatGPT, usa la app de escritorio de ChatGPT como se indica arriba

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

Option 1Deja que Codex lo instale

Copia esta frase y pégala en un chat de Codex · Sirve en Codex dentro de la app de escritorio de ChatGPT, en Codex CLI y en la extensión del IDE

Where to install
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) for all my projects, at ~/.agents/skills/pandoc-docx-template. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) into the project this chat is open in (at .agents/skills/pandoc-docx-template). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex · Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.agents/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/achuan-2/pandoc_docx_template.git /tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99/.' ~/.agents/skills/pandoc_docx_template
  3. Vuelve a abrir Codex y pide una tarea relacionada; Codex mostrará el skill

Option 1Deja que Cursor lo instale

Copia esta frase y pégala en un chat de Cursor

Where to install
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) for all my projects, at ~/.cursor/skills/pandoc-docx-template. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) into the project this chat is open in (at .cursor/skills/pandoc-docx-template). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

En el chat Agent de Cursor escribe / y elige pandoc_docx_template

Checked against official docs 12 nov 2026 · Source: cursor.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.cursor/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/achuan-2/pandoc_docx_template.git /tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-achuan-2-pandoc-docx-template-8f94b99/.' ~/.cursor/skills/pandoc_docx_template
  3. En el chat Agent de Cursor escribe / y elige pandoc_docx_template

Option 1Let the AI install it

Para otras apps que leen skills. La frase incluye las rutas de Claude Code, Codex y Cursor para que la IA elija la de tu app · Copy this sentence into the app’s chat

Where to install
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) for all my projects, at ~/.claude/skills/pandoc-docx-template (in Codex use ~/.agents/skills/pandoc-docx-template, in Cursor ~/.cursor/skills/pandoc-docx-template). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill pandoc-docx-template from https://github.com/achuan-2/pandoc_docx_template (commit 8f94b99) into the project this chat is open in (at .claude/skills/pandoc-docx-template; in Codex use .agents/skills/pandoc-docx-template, in Cursor .cursor/skills/pandoc-docx-template). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 12 nov 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

Otras apps con Agent Skills (como Gemini CLI o GitHub Copilot) usan otras carpetas. Mira la guía de esa app y copia allí la carpeta con el SKILL.md.

Ver en GitHub ↗

Carpetas de skills comprobadas con las guías oficiales de Claude Code, Codex y Cursor el 11 nov 2026

✓ Comandos revisados el 19 nov 2026

Ver el SKILL.md original

El texto siguiente viene del repo del autor, no de PopNx MCP

4068 caracteres · Abrir el archivo completo en GitHub

---
name: pandoc-docx-template
description: "Use this skill 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 numbering variants, list indentation variants, SCI paper templates, and Lua filters for HTML tags, image captions, font color, and inline code styles."
---

# Pandoc DOCX Template

## Overview

Use this skill to convert Markdown and DOCX files with Pandoc while applying the bundled Word reference templates in `templates/` and Lua filters in this folder. Prefer the scripts in `scripts/` for repeatable conversions, and call Pandoc directly when the local shell cannot run Bash scripts.

## Workflow

1. Check that Pandoc is available:

```bash
pandoc --version
```

2. Choose the conversion direction:

- Markdown to DOCX: use `scripts/md2docx.py`.
- DOCX to Markdown: use `scripts/docx2md.py`.

3. Choose a reference DOCX template when exporting Word:

| Template | Use for |
| --- | --- |
| `templates/template_标题不编号-列表第二行顶格.docx` | Default Chinese layout, headings without numbering, wrapped list lines flush left |
| `templates/template_标题不编号-列表第二行缩进.docx` | Headings without numbering, wrapped list lines indented |
| `templates/template_标题编号-列表第二行顶格.docx` | Numbered headings, wrapped list lines flush left |
| `templates/template_标题编号-列表第二行缩进.docx` | Numbered headings, wrapped list lines indented |
| `templates/template_标题不编号-列表第二行顶格-无首行缩进.docx` | No heading numbering and no first-line paragraph indent |
| `templates/template_sci论文-标题编号.docx` | SCI-style paper layout with numbered headings |
| `templates/template_sci论文-标题不编号.docx` | SCI-style paper layout without heading numbering |

## Markdown to DOCX

Use the default template and bundled aggregate Lua filter:

```bash
python scripts/md2docx.py input.md -o output.docx
```

Choose another template:

```bash
python scripts/md2docx.py input.md -o output.docx \
  --reference "templates/template_sci论文-标题编号.docx"
```

Pass additional Pandoc options after `--`:

```bash
python scripts/md2docx.py input.md -o output.docx \
  --reference "templates/template_标题编号-列表第二行顶格.docx" \
  -- --highlight-style tango
```

If Bash is unavailable, run the equivalent Pandoc pipeline from the skill folder:

```powershell
pandoc input.md -t html | pandoc -f html -o output.docx `
  --reference-doc "templates/template_标题不编号-列表第二行顶格.docx" `
  --lua-filter "markdown-to-docx.lua"
```

The Markdown-to-DOCX workflow intentionally converts Markdown to HTML first, then HTML to DOCX. This preserves more HTML-like Markdown content than a direct Markdown-to-DOCX conversion, including common tags handled by the Lua filters.

## DOCX to Markdown

Convert Word to GitHub Flavored Markdown and extract embedded media:

```bash
python scripts/docx2md.py input.docx -o output.md --media-dir assets
```

If Bash is unavailable, run Pandoc directly:

```powershell
pandoc "input.docx" -t gfm -o output.md --extract-media=./assets --wrap=none
```

## Lua Filters

Use `markdown-to-docx.lua` as the default aggregate filter for Markdown-to-DOCX exports. Load individual filters only when a narrower conversion is needed:

- `lua/markdown-html-recognition.lua`: recognize Markdown content containing HTML tags such as `<sub>`, `<sup>`, and `<img>`.
- `lua/image-title-to-caption.lua`: use image title text as the Word caption and apply the `Figure` style.
- `lua/image-title-to-caption-add-number.lua`: add numbering for image captions.
- `lua/preserve_font_color.lua`: preserve text color from HTML spans such as `<span style="color:red">`.
- `lua/add-inline-code.lua`: apply the custom `Inline Code` style to inline code, separate from code block styling.

## Validation

After conversion, verify that the expected output file exists and that Pandoc did not report filter or reference-document errors. For DOCX output intended for final delivery, inspect it in Windows Microsoft Word because these templates were tested primarily with Windows Office and may render differently in WPS or macOS Word.

Conversación

Pregunta, comparte un consejo o avisa de que no funciona. Ordenado por lo que la gente marcó como útil.

Aún no hay publicaciones. Sé la primera persona en preguntar o compartir.

Lo publicado aquí lo escriben usuarios, no el equipo de PopNx.

Inicia sesión para publicar

Desde GitHub

Estrellas en GitHub
1110
Autor
Achuan-2
Licencia
Sin licencia indicada Este repo no indica licencia: por defecto el autor conserva todos los derechos. Pregunta antes de compartirlo o usarlo comercialmente.
Último cambio de código
9 jul 2026
Archivos SKILL.md del repo (con traducciones y plantillas)
1
Temas
markdown, obsidian, pandoc, siyuan-note, skills, typora