ai/skills/to-markdown/SKILL.md
Convert files to Markdown using markitdown. Use this skill whenever the user wants to convert a document, PDF, Word file, Excel spreadsheet, PowerPoint, image, HTML page, or any other file into Markdown format. Also use it when importing external documents into a knowledge base, extracting text from files for AI processing, or converting office documents to plain text. Trigger on phrases like "convert to markdown", "extract text from", "import this document", "turn this PDF into markdown", "get the content of this file".
npx skillsauth add steveclarke/dotfiles to-markdownInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Convert files to Markdown using markitdown — Microsoft's utility that extracts and structures content from many file formats.
| Format | Notes | |--------|-------| | PDF | Text extracted; table structure may be approximate | | Word (.docx) | Clean conversion including tables | | Excel (.xlsx) | Sheets as markdown tables | | PowerPoint (.pptx) | Slide text and structure | | HTML | Cleaned readable content | | Images | OCR (requires LLM vision for best results) | | Audio | Transcription via SpeechRecognition | | CSV / JSON / XML | Structured text | | YouTube URLs | Transcript extraction | | EPub | Chapter text |
# Convert to stdout
markitdown input.pdf 2>/dev/null
# Save to file
markitdown input.pdf -o output.md 2>/dev/null
# Or redirect
markitdown input.docx 2>/dev/null > output.md
Always use 2>/dev/null to suppress noisy font/parser warnings that don't affect output quality.
Check if markitdown is installed:
which markitdown || echo "not installed"
Install if missing (with all format support):
pip install 'markitdown[all]'
Run the conversion with stderr suppressed:
markitdown "$INPUT_FILE" 2>/dev/null
Handle the output based on user intent:
.md fileImport a document into knowledge base:
markitdown report.pdf 2>/dev/null > knowledge/competitive/raw/report.md
Convert a Word doc someone sent you:
markitdown meeting-notes.docx 2>/dev/null > notes.md
Batch convert a directory:
for f in docs/*.pdf; do
markitdown "$f" 2>/dev/null > "${f%.pdf}.md"
done
Check what a PDF contains before deciding what to do with it:
markitdown document.pdf 2>/dev/null | head -50
content-media
Download content from YouTube including transcripts, captions, subtitles, music, MP3s, and playlists. Use when the user provides a YouTube URL or asks to download, transcribe, or get content from YouTube videos or playlists.
development
Apply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.
development
Review UI for visual consistency, layout structure, and design system compliance. Two modes — code review (check view files against patterns) and visual audit (screenshot all routes and analyze). Use when reviewing UI code, checking consistency, auditing views, or when user says "review the UI", "check consistency", "UI audit", "design review".
tools
Improves typography by fixing font choices, hierarchy, sizing, weight, and readability so text feels intentional. Use when the user mentions fonts, type, readability, text hierarchy, sizing looks off, or wants more polished, intentional typography.