convert-to-markdownlisted
Install: claude install-skill mfmezger/ai_agent_dotfiles
# Document to Markdown Converter
Convert various document formats to Markdown using markitdown and pandoc.
## Supported Formats
| Format | Extension | Notes |
| ----------- | ----------------------- | -------------------------------- |
| PDF | .pdf | Text + OCR hybrid mode available |
| Word | .docx | Full support |
| PowerPoint | .pptx | Extracts text from slides |
| Excel | .xlsx | Converts tables |
| HTML | .html, .htm | Full support |
| EPUB | .epub | Via pandoc |
| Images | .jpg, .png, .gif, .webp | OCR extraction |
| Google Docs | URL | Public docs, exports as docx |
## Usage
```bash
uvx --with markitdown python ~/.claude/skills/convert-to-markdown/scripts/convert.py INPUT
```
### Options
| Flag | Description |
| ------------------------ | ------------------------------------------------ |
| `-o, --output PATH` | Output path (default: input.md next to original) |
| `--mode auto\|ocr\|text` | Extraction mode (default: auto) |
| `--hybrid` | PDF only: run both text + OCR, merge results |
### Examples
```bash
# Basic conversion (saves as document.md)
uvx --