ocr-and-documents

Extracts readable text from PDFs and scanned documents using pymupdf, marker-pdf OCR, and web_extract for URLs and local files.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/cloudliness/Hermes-Autonomous-AI-Agent-Dialed-In-For-Windows-11 --skill ocr-and-documents-cloudliness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/cloudliness/Hermes-Autonomous-AI-Agent-Dialed-In-For-Windows-11/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/cloudliness/Hermes-Autonomous-AI-Agent-Dialed-In-For-Windows-11 --skill ocr-and-documents-cloudliness

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, pymupdf4llm, marker, and includes scripts (resource) components.

What problem does it solve?

Extracts readable text from PDFs and scanned documents for downstream processing and analysis.

Core Features & Use Cases

  • Remote URL extraction with web_extract for online documents.
  • Local extraction with pymupdf for text-based PDFs, offering fast, reliable text output.
  • OCR-based extraction with marker-pdf for scanned documents, multi-language support, and layout-aware text capture.
  • References to DOCX and PPTX as alternatives for certain formats.

Quick Start

Extract text from a local PDF using the pymupdf workflow on document.pdf.

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 scanned PDFs using Python?

To extract text from scanned PDFs, this Skill uses marker-pdf for OCR-based extraction, providing layout-aware text capture and multi-language support. It processes local files to output readable text for downstream analysis.

What is the best way to extract text from a remote PDF URL?

The best way to extract text from a remote PDF URL is using the web_extract workflow. It fetches online documents directly and extracts readable text without requiring local file downloads.

Do I need pymupdf or marker-pdf for local PDF text extraction?

You need pymupdf for fast text extraction from text-based local PDFs, and marker-pdf for OCR-based extraction when handling scanned documents that lack embedded text.

Can I extract text from DOCX and PPTX files with pymupdf?

While pymupdf handles text-based PDFs, the Skill references DOCX and PPTX as alternative formats. Marker-pdf supports these formats for text extraction alongside its OCR capabilities.

When should I use marker-pdf instead of pymupdf for text extraction?

Use marker-pdf instead of pymupdf when processing scanned documents requiring OCR. PyMuPDF is limited to text-based PDFs, whereas marker-pdf provides layout-aware capture and multi-language OCR support.