ocr-and-documents

Extract text from PDFs and scanned documents using pymupdf and marker-pdf.

6|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Strategic-Automation/arachne --skill ocr-and-documents-strategic-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/Strategic-Automation/arachne/tree/main/src/arachne/skills/default/productivity/ocr-and-documents
Command: npx skills add https://github.com/Strategic-Automation/arachne --skill ocr-and-documents-strategic-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies turning PDFs and scanned documents into searchable, editable text, reducing manual transcription and enabling faster data extraction.

Core Features & Use Cases

  • Remote URL extraction using web_extract first, then local extraction with pymupdf for text-based PDFs, and OCR-based extraction with marker-pdf for scanned documents.
  • DOCX support and PPTX references noted via related tools (python-docx and powerpoint skill) for broader document formats.
  • Use case: convert a batch of research papers from PDFs into searchable text and extract key sections and data for analysis.

Quick Start

Extract text from document.pdf using pymupdf for text-based PDFs and switch to marker-pdf for OCR when the document 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 from a scanned PDF using OCR?

To extract text from a scanned PDF using OCR, this Skill uses the marker-pdf package to process scanned documents and output searchable text for downstream processing.

Can I extract text from a remote PDF URL without downloading it first?

Yes, you can extract text from a remote PDF URL directly using the web_extract function, which retrieves remote document content before applying local extraction methods like pymupdf.

What is the best way to convert text-based PDFs into editable text?

The best way to convert text-based PDFs into editable text is using pymupdf, which directly extracts text from the document to provide fast data extraction and searchable content.

Does this text extraction workflow support DOCX and PPTX files?

The text extraction workflow references DOCX and PPTX formats through related tools like python-docx and the powerpoint skill, broadening document processing capabilities beyond PDFs.

Do I need to install marker-pdf separately to process scanned documents?

Yes, you need to install marker-pdf separately to process scanned documents with OCR, as it provides the optical character recognition capabilities required for scanned PDF text extraction.

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

You should use pymupdf for text-based PDFs to achieve faster extraction, and switch to marker-pdf when the document is scanned and requires OCR to process embedded images.