ocr-and-documents

Extract text from PDFs and scanned documents into Markdown.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/danmartinez78/echo-ghost-backup --skill ocr-and-documents-danmartinez78
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-and-documents
Source: https://github.com/danmartinez78/echo-ghost-backup/tree/main/skills/productivity/ocr-and-documents
Command: npx skills add https://github.com/danmartinez78/echo-ghost-backup --skill ocr-and-documents-danmartinez78

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Extract text from PDFs and scanned documents to convert content into searchable text and reusable data for analysis.

Core Features & Use Cases

  • Remote extraction: use web_extract for URLs to PDFs or documents.
  • Local extraction: use pymupdf for text-based PDFs.
  • OCR extraction: use marker-pdf for scanned documents with high accuracy.
  • Cross-format guidance: for DOCX use python-docx and for PPTX see the powerpoint skill.

Quick Start

Ask me to extract text from a specific PDF or URL and I will automatically choose the best extractor (web_extract for URLs, pymupdf for text-based PDFs, or marker-pdf for OCR) and return Markdown-formatted results.

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 applies marker-pdf for high accuracy. It automatically detects scanned documents and outputs Markdown formatted results suitable for AI context loading and further analysis.

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

The best way to extract text from a local text-based PDF is using pymupdf. This Skill automates extractor selection, applying pymupdf to text-based PDFs and returning Markdown output suitable for searchable archives and downstream processing.

Can I extract text from a PDF document hosted at a remote URL?

Yes, you can extract text from a PDF document hosted at a remote URL using the web_extract component. The Skill automatically selects web_extract for URLs to fetch and convert remote documents into Markdown text.

Does this document processing approach support DOCX and PPTX files?

This document processing approach provides cross-format guidance for DOCX and PPTX files. It directs DOCX extraction to python-docx and recommends the powerpoint skill for PPTX files, while core PDF extraction outputs Markdown.

How does automated extractor selection work for PDF text extraction?

Automated extractor selection for PDF text extraction routes URLs to web_extract, local text-based PDFs to pymupdf, and scanned documents to marker-pdf. This mechanism ensures optimal text extraction and outputs Markdown for downstream processing.