ocr-and-documents

Extract text from PDFs and scanned documents using Python-based tools.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/gigagiova/hermes-agent --skill ocr-and-documents-gigagiova
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/gigagiova/hermes-agent/tree/main/skills/ocr-and-documents
Command: npx skills add https://github.com/gigagiova/hermes-agent --skill ocr-and-documents-gigagiova

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Extract text from PDFs and scanned documents using OCR and document-parsing tools, enabling quick digital capture and searchable content.

Core Features & Use Cases

  • Remote URL extraction with web_extract for PDFs and other documents.
  • Local extraction options: pymupdf for text-based PDFs and marker-pdf for OCR/scanned documents; also supports DOCX and PPTX workflows.
  • Use Case: Convert a batch of Arxiv papers to Markdown for quick reading and archiving.

Quick Start

Instruct the AI to extract text from a given document.pdf, using pymupdf by default and marker-pdf when OCR is required.

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 document?

To extract text from a scanned PDF, the Skill applies marker-pdf for OCR processing, converting image-based pages into searchable text. It defaults to pymupdf for text-based PDFs but switches to OCR automatically when needed.

Can I convert PDFs to Markdown for research archiving?

Yes, you can convert PDFs to Markdown for research archiving using pymupdf4llm. This transforms documents like Arxiv papers into editable text and markdown representations for quick reading and content processing.

Does this tool support extracting text from DOCX and PPTX files?

Yes, the text extraction tool supports DOCX and PPTX files alongside standard PDFs. It handles multi-format document workflows, enabling automated text capture from various source files into searchable text.

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

The best way to process a remote PDF URL is using the web_extract feature. This fetches documents directly from the web, applying local extraction options like pymupdf or OCR to capture the text automatically.

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

Use pymupdf for standard text-based PDFs to achieve fast extraction, and switch to marker-pdf when handling scanned documents that require OCR. This ensures accurate text capture across different document types.

Do I need Python dependencies to perform OCR on local documents?

Yes, local OCR and document parsing require Python dependencies including pymupdf, pymupdf4llm, and marker-pdf. These libraries enable the automated text extraction workflows for both local and remote files.