document-converter
Installation
SKILL.md
Document Converter Skill
This skill provides tools for bulk converting documents (.doc, .docx, .pdf) to Markdown (.md) format while preserving complex formatting like headers, tables, lists, bold, and italics. This is useful for building knowledge bases or preparing documents for LLM processing.
Tools
convert_documents
Bulk convert documents in a directory to markdown in an output directory.
Arguments
--path: Path to a single file or a directory containing documents.--output-dir: (Optional) Directory to save the converted markdown files. Defaults to the same directory as the source.--recursive: (Optional) If set, converts documents in subdirectories as well.
Examples
# Convert a single docx
python scripts/convert.py --path my_doc.docx