Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
modelscope.cn avatar

Pdf To Markdown Converter

  • 58 installs
  • modelscope.cn

Helps with ai & agent building tasks during AI-assisted development.

About

pdf-to-markdown-converter is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • pdf-to-markdown-converter
  • AI & Agent Building
  • AI-coding skill

Pdf To Markdown Converter by the numbers

  • 58 all-time installs (skills.sh)
  • +8 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #6,517 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/modelscope.cn --skill pdf-to-markdown-converter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs58
Repositorymodelscope.cn

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

PDF to Markdown Converter

Overview

This skill converts PDF files to Markdown format using the PyMuPDF (fitz) library. It extracts text content and saves embedded images as separate PNG files. This is a fast and lightweight alternative to Docling.

Special Features:

  • ✅ Automatically fixes LaTeX-style umlauts (¨a, ¨o, ¨u → ä, ö, ü)
  • ✅ Converts ß to ss (Swiss German style)
  • ✅ Corrects common LaTeX encoding issues
  • ✅ Preserves text layout
  • ✅ Extracts all images as PNG files

Prerequisites

Ensure PyMuPDF is installed (installs in ~10-20 seconds):

pip install PyMuPDF --break-system-packages

Optional for better image format support:

pip install Pillow --break-system-packages

Usage Workflow

1. Receive PDF file: User provides the PDF file path 2. Validate input: Check that the file exists and is a valid PDF 3. Run conversion: Execute pdf_converter.py with the PDF path 4. Output organization:

  • Markdown file: <original_name>.md
  • Images folder: <original_name>_images/ containing PNG files
  • Images are referenced in the Markdown with relative paths

Conversion Command

python scripts/pdf_converter.py <input.pdf> [output_dir]

Parameters:

  • input.pdf: Path to the source PDF file
  • output_dir: (Optional) Output directory. Defaults to current directory

Output Structure

output_dir/
├── document.md              # Converted markdown content
└── document_images/         # Extracted images (if any)
    ├── image_001.png
    ├── image_002.png
    └── ...

Error Handling

If conversion fails:

  • Check PDF is not corrupted or password-protected
  • Verify Docling installation
  • Ensure sufficient disk space for image extraction
  • Review console output for specific error messages

Best Practices

  • Large PDFs may take time to process - inform user
  • Preview the first page for complex documents to verify quality
  • For batch processing, process files sequentially to avoid memory issues
  • Preserve original PDF files - never overwrite source documents

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.