pdf-to-md
Installation
SKILL.md
/pdf-to-md — Convert any document to clean markdown
Markdown is Claude's native format. PDFs cost 2–3× more tokens and bury content under formatting artifacts. Converting first cuts token usage 50–70% with no quality loss, and improves comprehension on multi-column or table-heavy PDFs.
Inputs
$1— input file path. Supported:.pdf,.docx,.pptx,.xlsx,.html,.epub,.csv,.xml.$2— output path (optional). If omitted, writes alongside the input with the.mdextension.
Steps
1. Validate input
Check that $1 exists and identify the format from the extension.