ocr-and-documents

Extract text from PDFs and documents using OCR and local parsers.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/samuelmukoti/myai-agent --skill ocr-and-documents-samuelmukoti
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/samuelmukoti/myai-agent/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/samuelmukoti/myai-agent --skill ocr-and-documents-samuelmukoti

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Extract text from PDFs and documents, including scanned or image-based ones, turning content into searchable text for analysis and reuse. It selects between web_extract for remote URLs, pymupdf for local text PDFs, and marker-pdf for OCR on scans. It also notes DOCX and PPTX handling via complementary tooling.

Core Features & Use Cases

  • Remote URL extraction via web_extract to convert online documents to text.
  • Local text-based PDF extraction using pymupdf for fast results.
  • OCR-based extraction with marker-pdf for scanned documents and complex layouts.
  • DOCX handling and PPTX guidance via related skills when needed.

Quick Start

Provide a file or URL to extract text from, and specify OCR for scanned content to obtain readable text.

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 marker-pdf to process image-based documents, converting complex layouts into readable, searchable text.

What is the best way to extract text from a local text-based PDF?▼

The best way to extract text from local text-based PDFs is using pymupdf, which provides fast and direct parsing to retrieve searchable content without OCR.

Does this PDF text extraction approach support remote URLs?▼

Yes, PDF text extraction supports remote URLs. It uses the web_extract module to fetch and convert online documents into readable text.

When do I need OCR for document text extraction?▼

You need OCR for document text extraction when processing scanned documents or image-based PDFs that lack embedded text, ensuring the content becomes searchable.

Can I extract text from DOCX and PPTX files?▼

Yes, you can extract text from DOCX and PPTX files. The Skill handles DOCX processing directly and provides guidance for PPTX via related complementary tools.