ocr-and-documents

Extract text and structured data from PDFs and scanned documents using OCR.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the challenge of extracting readable text and structured data from diverse document formats, including scanned PDFs, images, and complex layouts that standard text parsers cannot handle.

Core Features & Use Cases

  • Intelligent Extraction: Uses lightweight tools for standard text and high-performance OCR for scanned documents or complex equations.
  • Versatile Parsing: Supports PDF, DOCX, PPTX, XLSX, HTML, and EPUB formats with options for markdown or JSON output.
  • Use Case: Use this to convert a batch of scanned research papers into clean markdown files or to extract tables from financial reports for further analysis.

Quick Start

Use the ocr-and-documents skill to extract all text from the local file named report.pdf and save the output as markdown.

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?

To extract text from a scanned PDF, this skill uses high-performance OCR and layout analysis tools like marker-pdf to recognize text and structures. It supports batch processing and outputs clean markdown or JSON files from your scanned documents.

What is the best way to parse complex equations and tables from research papers?

The best way to parse complex equations and tables from research papers is using high-accuracy OCR with layout analysis. This skill handles complex document layouts and converts them into structured markdown or JSON output for further analysis.

Can I extract structured data from multiple file formats like DOCX and EPUB?

Yes, you can extract structured data from multiple file formats including DOCX, PPTX, XLSX, HTML, and EPUB. The skill uses lightweight parsing tools and OCR to convert these diverse formats into readable markdown or JSON.

Do I need pymupdf and marker-pdf installed to perform local document conversion?

Yes, you need pymupdf and marker-pdf installed as dependencies to perform local document conversion and text extraction. These libraries provide the underlying OCR and layout analysis capabilities required for processing complex documents.

Why does standard text extraction fail on scanned documents and images?

Standard text extraction fails on scanned documents and images because they lack an embedded text layer. This skill solves the problem by applying OCR and layout analysis to recognize text visually and reconstruct the document structure.

How to convert a batch of financial reports into clean markdown files?

To convert a batch of financial reports into clean markdown files, use the skill's batch processing capability with high-accuracy parsing. It extracts text and tables from PDFs and outputs structured markdown suitable for data analysis.