ocr-and-documents

Extract searchable text from PDFs and scanned documents via web or local parsing.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/MarbleSodas/Mavis --skill ocr-and-documents-marblesodas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/MarbleSodas/Mavis/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/MarbleSodas/Mavis --skill ocr-and-documents-marblesodas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, pymupdf4llm, marker-pdf, python-docx, python-pptx, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the manual effort of turning PDFs, scanned pages, and document files into clean, searchable text (and optionally structured tables/images) so you can reuse the content.

Core Features & Use Cases

  • Instant text extraction for native PDFs: Uses lightweight parsing for text-based PDFs (and can output plain text or Markdown).
  • High-quality OCR for scanned/complex documents: Uses marker-pdf for OCR, equations, forms, and complex layout tasks with strong accuracy across many languages.
  • Batch-friendly workflow: Supports selecting an extraction path based on whether you have a URL, need OCR, or need advanced layout features.
  • Use case: Convert an arXiv PDF into Markdown for summarization, then extract tables and relevant sections for research notes.

Quick Start

Use this skill to extract text from an attached file by running it on your document URL or file path.

Frequently Asked Questions about ocr-and-documents

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

FAQPage Schema
How do I extract text from a scanned PDF using OCR?

To extract text from a scanned PDF using OCR, this Skill applies marker-pdf to recognize text, equations, and complex layouts, producing clean searchable Markdown output. It routes scanned documents to this advanced parsing path for high accuracy across many languages.

What is the best way to convert an arXiv PDF to Markdown?

The best way to convert an arXiv PDF to Markdown is using this Skill's web extraction path for URLs or lightweight local parsing for text-based files. This workflow extracts searchable text and structured tables from research papers for downstream summarization and review.

Does marker-pdf work better than pymupdf for complex document parsing?

Yes, marker-pdf works better than pymupdf for complex document parsing when you need OCR, equation recognition, form extraction, or better reading-order detection. The Skill selects pymupdf for standard text-based PDFs and marker-pdf for advanced layout requirements.

Can I extract tables from PDF files for research notes?

Yes, you can extract tables from PDF files for research notes using this Skill's Markdown and table extraction features. It processes native PDFs and scanned documents to isolate structured tables and relevant text sections for your downstream research workflow.

When should I use web extraction versus local parsing for PDF documents?

You should use web extraction for PDF documents when you have a URL available, and local parsing when processing local files. The Skill requires selecting web_extract for URLs, otherwise it uses local pymupdf or marker-pdf extraction based on OCR and layout needs.

Do I need a separate OCR tool for scanned documents with complex layouts?

No, you do not need a separate OCR tool for scanned documents with complex layouts because this Skill uses marker-pdf internally. It handles OCR, equations, forms, and complex layout tasks directly, providing strong accuracy without requiring external OCR software.