Skip to main content

markitdown

Convert files or URLs to Markdown. Supports PDF, DOCX, PPTX, XLS, XLSX, HTML, CSV, JSON, XML, Images, and YouTube URLs.

Quellinformationen

Repository
X-School-Academy/skill-pilot
Letzte Quellaktivität
17. April 2026 um 12:13
Erkannte Sprache von SKILL.md
Englisch
Sterne
20
Forks
13

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
markitdown
description
Convert files or URLs to Markdown. Supports PDF, DOCX, PPTX, XLS, XLSX, HTML, CSV, JSON, XML, Images, and YouTube URLs.
# Markitdown Convert a file or URL to Markdown using the `markitdown` CLI. ## When to Use This Skill - The user wants to convert a document (PDF, DOCX, PPTX, XLS, XLSX, etc.) to Markdown - The user wants to extract text content from a web page URL as Markdown - The user wants to transcribe a YouTube video to Markdown - The user needs to read or process a non-text file as Markdown for further use ## Supported Formats - **PDF** - text extraction via pdfminer/pdfplumber - **DOCX** - Word documents via mammoth - **PPTX** - PowerPoint presentations - **XLS/XLSX** - Excel spreadsheets - **HTML** - web pages (built-in) - **CSV, JSON, XML** - structured data (built-in) - **YouTube URLs** - video transcription via youtube-transcript-api - **Images** (PNG, JPG, WEBP, GIF, etc.) - via AI agent vision (see below) ## Usage Run the CLI wrapper: ```bash # Output to stdout core/bin/markitdown <input> # Output to a file core/bin/markitdown <input> -o <output.md> ``` **Do not use any Python helper code to invoke the `core/bin/markitdown` command. Run as shell command with arguments directly.** ### Examples ```bash # Convert a PDF to markdown core/bin/markitdown report.pdf -o report.md # Convert a DOCX file core/bin/markitdown document.docx -o document.md # Convert a spreadsheet core/bin/markitdown data.xlsx -o data.md # Convert a web page core/bin/markitdown https://example.com/article.html -o article.md # Transcribe a YouTube video core/bin/markitdown "https://www.youtube.com/watch?v=VIDEO_ID" -o transcript.md # Output to stdout for inline use core/bin/markitdown document.pdf ``` ## Arguments | Argument | Required | Description | |----------|----------|-------------| | `input` | Yes | File path or URL to convert | | `-o` | No | Output file path (defaults to stdout) | ## Image Handling Do **not** use the CLI for images. Instead, use the AI agent's built-in vision capability: 1. Read the image file directly (the agent can view images natively). 2. Describe the image content in Markdown format, including: - Text and labels visible in the image (OCR) - Tables or structured data shown in the image - Diagrams, charts, or visual layouts - General description of the scene or content 3. Save the resulting Markdown to the output file if `-o` was specified, or return it directly. ## Notes - For large files, the conversion may take a moment depending on file size and format. - When no `-o` flag is provided, the Markdown output is printed to stdout. - Audio transcription is NOT installed. Only the extras `docx,pdf,pptx,xls,xlsx,youtube-transcription` are available.
Auf GitHub ansehen