mistral-ocr-markdown
Installation
SKILL.md
Mistral OCR Markdown
Overview
Use the bundled TypeScript CLI to convert one local PDF/image file into one markdown file via Mistral OCR.
Workflow
- Validate that the input file path exists and is a single local document.
- Resolve API key from CLI flag or environment.
- Run the CLI to upload the file, execute OCR, and write markdown output.
- Use the generated markdown file in follow-up agent steps.
Run The CLI
Use npm from scripts/.