Logo: Document Converter

Document Converter

Communautéit
wentorai
document-converter

Convert Office documents (PPTX, DOCX, XLSX, PDF, HTML, CSV, JSON, XML, images) to Markdown using Microsoft MarkItDown. Provides the agent with conversion strategies for academic and research workflows.

Iwwersiicht

Editeurwentorai
RepositoryResearch-Claw
Skill-Nummdocument-converter
Stären
859
Forks
117
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    wentorai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Document Converter an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/wentorai/Research-Claw/tree/main/skills/document-converter
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wentorai/Research-Claw.git /tmp/Research-Claw
mkdir -p .claude/skills
cp -r /tmp/Research-Claw/skills/document-converter .claude/skills/document-converter
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Document Converter an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Document Converter automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Document Converter net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Document Converter (MarkItDown)

Convert Office and structured documents to Markdown for LLM consumption using Microsoft MarkItDown.


Overview

MarkItDown is a Microsoft open-source tool that converts a wide range of document formats into clean Markdown text. This is essential for academic research workflows where source materials arrive in diverse formats (PDFs from journals, PPTX from conferences, DOCX from collaborators, XLSX data tables).


Supported Formats

FormatExtensionsNotes
PDF.pdfText extraction; scanned PDFs require OCR
Word.docxParagraphs, tables, lists, headings preserved
PowerPoint.pptxSlide-by-slide with speaker notes
Excel.xlsx, .xlsSheet-by-sheet, tables as Markdown tables
HTML.html, .htmCleaned content extraction
CSV.csvConverted to Markdown table
JSON.jsonPretty-printed structured output
XML.xmlStructured text extraction
Images.jpg, .png, .gif, .bmp, .tiffOCR text extraction (requires optional deps)
Audio.mp3, .wavTranscription (requires optional deps)
ZIP.zipRecursively converts contained files

MCP Tool Usage

When the markitdown-mcp server is configured, use the convert_to_markdown tool:

Tool: convert_to_markdown
Parameters:
  uri: "file:///absolute/path/to/document.pptx"

The uri parameter accepts:

  • Local files: file:///path/to/file.docx
  • HTTP URLs: https://example.com/paper.pdf

Important

  • Always use absolute paths with the file:// URI scheme for local files.
  • The tool returns the full Markdown text content of the converted document.
  • For large documents, the output may be substantial. Consider summarizing or extracting relevant sections after conversion.

CLI Fallback

If the MCP server is not available, use the CLI directly via shell:

bash
# Convert a single file
markitdown document.pptx

# Save output to file
markitdown document.pptx > output.md

# Convert from URL
markitdown https://example.com/paper.pdf

Academic Research Workflows

1. Conference Presentation Analysis

Convert a PPTX to Markdown, then analyze the content:

  1. Convert the presentation with convert_to_markdown
  2. The output preserves slide structure and speaker notes
  3. Summarize key findings, methodology, and conclusions

2. Paper Review from PDF

  1. Convert the PDF to Markdown
  2. Extract sections: Abstract, Introduction, Methods, Results, Discussion
  3. Cross-reference with literature library

3. Data Table Extraction

  1. Convert XLSX to Markdown tables
  2. Each sheet becomes a separate section
  3. Use the extracted tables for analysis or comparison

4. Batch Literature Processing

When processing multiple documents:

  1. Convert each document individually
  2. Extract metadata (title, authors, date) from the content
  3. Add to the literature library with library_add_paper

Output Quality Notes

FormatQualityCaveats
DOCXExcellentComplex layouts may lose formatting
PPTXGoodDiagrams/charts become text descriptions
XLSXGoodMerged cells may not render perfectly
PDFVariableDepends on PDF type (text vs scanned)
HTMLGoodJavaScript-rendered content not captured
CSVExcellentDirect table conversion

When to Use This Skill

  • User uploads or references an Office document (PPTX, DOCX, XLSX)
  • User wants to analyze content from a PDF
  • User needs to extract text from images (OCR)
  • User wants to convert a document for inclusion in notes or workspace
  • User asks to read, summarize, or analyze a non-Markdown file
  • Batch processing of research materials in mixed formats

When NOT to Use

  • File is already Markdown or plain text
  • User wants to edit the original document format (use appropriate editor)
  • User needs pixel-perfect layout preservation (use the original format)
  • File is a scanned PDF without OCR support configured

Troubleshooting

IssueSolution
markitdown not foundRun pip install 'markitdown[all]'
MCP tool not availableEnsure markitdown-mcp is installed and configured in openclaw.json
Empty output from PDFPDF may be scanned/image-only; needs OCR dependencies
Encoding errorsEnsure file is not corrupted; try re-saving from source application
Large file timeoutConvert via CLI instead of MCP for very large files

Installation

Local (macOS/Linux)

bash
pip install 'markitdown[all]' markitdown-mcp

Verify

bash
markitdown --help

Docker

MarkItDown is pre-installed in the Research-Claw Docker image.

Heefeg gestallte Froen

Wat mécht de KI-Skill Document Converter?

Convert Office documents (PPTX, DOCX, XLSX, PDF, HTML, CSV, JSON, XML, images) to Markdown using Microsoft MarkItDown. Provides the agent with conversion strategies for academic and research workflows.

Firwat Document Converter op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Document Converter besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Document Converter an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/wentorai/Research-Claw/tree/main/skills/document-converter an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Document Converter benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Document Converter benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Document Converter domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Document Converter gratis?

wentorai huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇