multiformat-to-md

Convert PDF, Word, image, audio, and video files to Markdown.

43|14|Updated Nov 2, 2025
One-click install
npx skills add https://github.com/NNNightglow/replay --skill multiformat-to-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: multiformat-to-md
Source: https://github.com/NNNightglow/replay/tree/main/skills/multiformat-to-md
Command: npx skills add https://github.com/NNNightglow/replay --skill multiformat-to-md

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, python-docx, pillow, pytesseract, openai-whisper, faster-whisper, pymupdf, pandas, numpy, ffmpeg, tesseract-ocr, antiword, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the conversion of various file formats into Markdown, facilitating easy ingestion by language models.

Core Features & Use Cases

  • Multiformat Conversion: Supports PDF, Word, images, and audio/video transcriptions.
  • Text Extraction: Extracts text from PDFs, Word documents, and images.
  • Media Transcription: Converts audio and video files to text.
  • Use Case: Imagine you have a mix of PDF documents, images, and audio interviews that you need to convert into Markdown format for use with a language model. This Skill can handle the entire process.

Quick Start

Convert the 'annual_report.pdf' and 'interview.mp4' files to Markdown and save the results to 'output.md'.

Frequently Asked Questions about multiformat-to-md

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert PDF and Word documents to Markdown for LLM ingestion?

To convert PDF and Word files to Markdown, the Skill extracts text using pypdf and python-docx, structuring the output for LLM ingestion. It automates data preprocessing for language model training and inference.

Can I extract text from images for LLM training data preprocessing?

Yes, you can extract text from images for LLM training using pytesseract and pillow. The Skill performs OCR on image files to convert embedded text into Markdown, streamlining data preprocessing for language model ingestion.

How do I transcribe audio and video files to Markdown text?

Transcribe audio and video files to Markdown using openai-whisper and faster-whisper. The Skill handles media transcription by converting spoken audio into structured text, requiring ffmpeg for processing multimedia inputs.

Do I need to install ffmpeg and tesseract-ocr to convert files to Markdown?

Yes, installing ffmpeg and tesseract-ocr is required for full functionality. Ffmpeg handles audio and video processing for transcription, while tesseract-ocr performs text extraction from images during Markdown conversion.

What is the best way to automate data preprocessing for mixed file formats?

Automating data preprocessing for mixed file formats is best handled by a multiformat conversion Skill supporting PDFs, Word, images, and audio. It standardizes diverse inputs into Markdown for language model ingestion.

Does multiformat-to-md support converting PDFs and mp4 files in a single batch?

Yes, multiformat-to-md supports converting mixed formats like PDFs and mp4 files in a single batch. It extracts document text and transcribes media simultaneously, outputting structured Markdown for LLM ingestion.