🔧 Where my dotfiles lives in harmony and peace, most of the time

✨ Install markitdown tool and add skill

+52
+49
agents/skills/markitdown/SKILL.md
··· 1 + --- 2 + name: markitdown 3 + description: Convert websites and URLs to LLM ready Markdown. Use to save tokens when reading websites (headings, lists, tables, links), YouTube URLs (transcripts) and PDFs (including stdin with -x or -m hints). If `markitdown` fails, fall back to `curl r.jina.ai/URL`. 4 + --- 5 + 6 + # MarkItDown 7 + 8 + Installed extras in this environment: `markitdown[pdf,youtube-transcription]`. 9 + 10 + 1. Convert websites and URLs. 11 + 12 + Web page to Markdown: 13 + 14 + ```bash 15 + markitdown 'https://example.com' -o page.md 16 + ``` 17 + 18 + If MarkItDown fails on a URL, fall back to r.jina.ai: 19 + 20 + ```bash 21 + curl -fsSL 'https://r.jina.ai/https://example.com' > page.md 22 + ``` 23 + 24 + YouTube URL to transcript Markdown: 25 + 26 + ```bash 27 + markitdown 'https://www.youtube.com/watch?v=VIDEO_ID' -o video.md 28 + ``` 29 + 30 + 2. Convert PDFs. 31 + 32 + Convert a file (stdout): 33 + 34 + ```bash 35 + markitdown path/to/file.pdf 36 + ``` 37 + 38 + Write to a file: 39 + 40 + ```bash 41 + markitdown path/to/file.pdf -o output.md 42 + ``` 43 + 44 + If reading from stdin, set hints so MarkItDown picks the PDF converter: 45 + 46 + ```bash 47 + cat file | markitdown -x pdf 48 + cat file | markitdown -m application/pdf 49 + ```
+3
terminal/setup.sh
··· 32 32 # Install packages 33 33 paru -S --needed --noconfirm "${packages[@]}" 34 34 35 + # Install uv tools 36 + uv tool install --reinstall -U 'markitdown[pdf, youtube-transcription]' 37 + 35 38 # Create directories 36 39 mkdir -p "${HOME}/.config/alacritty" "${HOME}/.config/sheldon" "${HOME}/.config/starship" 37 40