ocr-and-documents

Extract text from PDFs, scanned documents, and images into plain text or markdown.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires marker-pdf, pymupdf, pymupdf4llm, python-docx, google-api-python-client, google-auth, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the manual burden of reading, copying, and reformatting text from PDFs, scanned pages, images, and other document formats by turning them into searchable, editable output.

Core Features & Use Cases

  • Remote-first extraction: Uses web extraction first for document URLs, which is ideal for arXiv papers and other public PDFs.
  • Local document parsing: Extracts text from text-based PDFs with lightweight tools and handles complex layout or OCR-heavy documents with higher-quality OCR workflows.
  • Scanned document recovery: Supports scanned PDFs, equations, tables, forms, code blocks, image extraction, and metadata retrieval for research, archival, and document-processing tasks.
  • Fallback workflows: Provides guidance for large or difficult scans, including targeted page extraction and Google Drive OCR when local OCR is impractical.
  • Use case: A researcher can upload an arXiv PDF, a scanned report, or a folder of mixed documents and quickly convert them into text or markdown for analysis.

Quick Start

Ask the assistant to extract the text or markdown from your PDF or scanned document, and if the file is a URL it should try web extraction first before falling back to local OCR tools.

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 PDF documents?

To extract text from scanned PDF documents, you need an OCR workflow that applies layout-aware parsing to recover plain text or markdown from image-based pages. This process handles complex scans, equations, and tables for searchable output.

What is the best way to convert arXiv papers to markdown?

The best way to convert arXiv papers to markdown is using remote web extraction first, which pulls the document directly from the public URL before applying local OCR fallbacks for difficult layouts or missing text layers.

Does this PDF extraction approach handle tables and equations?

Yes, this PDF extraction approach handles tables and equations by applying layout-aware parsing and high-quality OCR workflows. It extracts structured elements like code blocks and table data into editable markdown format.

Why does PDF text extraction fail on difficult scans?

PDF text extraction fails on difficult scans due to low image quality, complex layouts, or large file sizes. You can resolve this by using targeted page extraction or falling back to Google Drive OCR when local tools are impractical.

Can I batch convert local PDFs to plain text?

Yes, you can batch convert local PDFs to plain text using lightweight parsing tools for text-based files and higher-quality OCR workflows for scanned documents, converting mixed document folders into searchable markdown or text outputs.