ocr-and-documents

Extract text and structured content from PDFs and scanned documents.

19|4|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill ocr-and-documents-carterwayneskhizeine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/carterwayneskhizeine/hermes-agent-windows-R/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill ocr-and-documents-carterwayneskhizeine

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 solves the problem of turning PDFs, scanned documents, and other document formats into machine-readable text so you can search, summarize, and analyze them without manual copy/paste.

Core Features & Use Cases

  • URL-first extraction: Uses web extraction for documents available via URL (e.g., arXiv PDFs) to avoid local dependencies.
  • Lightweight text-based extraction: Uses pymupdf for fast, reliable extraction from text-based PDFs and supports Markdown, tables, metadata, and image extraction.
  • High-quality OCR extraction: Uses marker-pdf for scanned PDFs (OCR) plus advanced layout handling (tables, equations/LaTeX, forms, and improved reading order).
  • Use case: Convert an arXiv PDF into clean Markdown, then ask your AI to extract key results, formulas, and sections for research synthesis.

Quick Start

Use this Skill to extract Markdown text from an attached or local PDF file by running the pymupdf path for text-based documents, or the marker-pdf path when the PDF is scanned.

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 and tables from a scanned PDF?

To extract text and tables from a scanned PDF, this Skill uses marker-pdf for OCR extraction, handling advanced layouts like tables, equations, and forms while producing structured Markdown output.

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

Converting an arXiv PDF into Markdown is done via the URL-first extraction feature, which fetches the document directly through web extraction and outputs clean text without requiring local file dependencies.

Can I extract text from text-based PDFs without using heavy OCR tools?

Yes, you can extract text from text-based PDFs using the lightweight pymupdf extraction path, which reliably parses text, tables, and metadata into Markdown format without invoking heavy OCR dependencies.

Does this PDF text extraction approach support EPUB and HTML documents?

Yes, this document text extraction approach supports EPUB and HTML-like inputs alongside text-based PDFs, scanned OCR PDFs, and arXiv URLs, outputting structured Markdown or JSON with metadata.

Why does PDF parsing fail on scanned documents when using basic text extractors?

PDF parsing fails on scanned documents using basic extractors because they lack OCR capabilities; this Skill solves the problem by routing scanned files to marker-pdf to process advanced layouts and reading order.

When do I need OCR for document parsing instead of standard text extraction?

You need OCR for document parsing when working with scanned PDFs or image-heavy files, whereas standard text extraction works for text-based PDFs; this Skill automatically selects the appropriate method based on document type.