From convert-doc
Convert documents to/from markdown using pandoc. Supports DOCX, HTML, RST, EPUB, ODT, RTF, and LaTeX. Use when a user wants to read a .docx file, convert to PDF, export to Word/DOCX, or provides a .docx, .html, .rst, .epub, .odt, .rtf, or .tex file to read, or needs to export markdown to PDF or DOCX.
How this skill is triggered — by the user, by Claude, or both
Slash command
/convert-doc:convert-docThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Convert documents to and from markdown using pandoc.
Convert documents to and from markdown using pandoc.
Convert a document to GitHub-Flavored Markdown. Pandoc auto-detects the input format from the file extension.
To stdout (preferred — then read the output directly):
bash ${CLAUDE_PLUGIN_ROOT}/scripts/pandoc-wrap -t gfm input.docx
To a file:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/pandoc-wrap -t gfm -o output.md input.docx
From a URL:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/pandoc-wrap -t gfm https://example.com/page.html
| Extension | Format |
|---|---|
.docx | Microsoft Word |
.html | HTML |
.rst | reStructuredText |
.epub | EPUB |
.odt | OpenDocument Text |
.rtf | Rich Text Format |
.tex | LaTeX |
Use -f <format> to override auto-detection when the extension is ambiguous or missing.
bash ${CLAUDE_PLUGIN_ROOT}/scripts/pandoc-wrap -t gfm input.docxTo DOCX:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/pandoc-wrap -o output.docx input.md
To PDF:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/pandoc-wrap -o output.pdf input.md
PDF output requires a LaTeX engine. If not installed, suggest: brew install basictex (macOS) or apt install texlive (Linux).
If pandoc is not found, run /convert-doc:setup.
npx claudepluginhub st0nefish/agent-toolkit --plugin convert-docConverts PDFs, DOCX, PPTX, XLSX, HTML, images, URLs, CSV, JSON, and more to markdown via tiered fallbacks: MCP markitdown, native tools, or user notice. For ingesting non-plain-text files.
Converts local PDF, DOCX, XLSX, PPTX, images via OCR, and audio files to clean Markdown using Microsoft's markitdown CLI. Best for text extraction from local documents.
Converts PDF, Word, PPTX, PPT, and TXT documents to Markdown, preserving titles, lists, tables, structure, and PPT slide sections. Adds frontmatter, annotates images, suggests output path for archiving or import.