universal-document-reader

Convert PDFs, DOCX files, images, and scanned documents to text.

8|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/pinakdhabu/Exam-prompt --skill universal-document-reader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: universal-document-reader
Source: https://github.com/pinakdhabu/Exam-prompt/tree/main/skills/universal-document-reader
Command: npx skills add https://github.com/pinakdhabu/Exam-prompt --skill universal-document-reader

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires poppler-utils, tesseract-ocr, pandoc, python3, pypdf, pytesseract, python-pil, python-docx, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill solves the challenge of converting documents like PDFs, DOCX files, images, and scanned documents into clean, structured text that Large Language Models (LLMs) can process effectively.

Core Features & Use Cases

  • Document Conversion: Converts PDFs, DOCX files, images, scanned documents, and more to text.
  • LLM-Ready Text: Ensures the text is clean and structured for LLM processing.
  • Universal Compatibility: Supports a wide range of document formats from various sources.

Quick Start

Convert the document 'syllabus.pdf' using the universal-document-reader skill.

Frequently Asked Questions about universal-document-reader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text from scanned PDFs and images for LLM processing?

You can extract text from scanned PDFs and images for LLM processing using OCR. This Skill utilizes tesseract-ocr to perform optical character recognition, converting scanned documents and image-based files into clean, structured text that large language models can process effectively.

What's the best way to convert DOCX and PDF files to text without losing formatting?

The best way to convert DOCX and PDF files to text while maintaining structure is using dedicated extraction libraries. This Skill leverages python-docx and pypdf to parse document formats, ensuring the extracted text remains clean and structured for downstream LLM processing.

Do I need to install pandoc and poppler-utils to extract text from documents?

Yes, you need to install pandoc and poppler-utils to extract text from documents using this Skill. These system dependencies handle format conversion and PDF text extraction, alongside Python libraries like pytesseract and python-pil, to ensure universal document compatibility.

Can I use Python to convert multiple document formats into LLM-ready text?

Yes, you can use Python to convert multiple document formats into LLM-ready text. Built with python3, this Skill integrates libraries like pypdf and python-docx to process PDFs, Word files, and images, outputting structured text optimized for large language models.

Why does text extraction from PDF result in unstructured or broken text?

Text extraction from PDF results in broken text when documents are scanned images rather than text-based files. This Skill resolves unstructured PDF text extraction by applying tesseract OCR, converting image-based content into clean, structured text for LLM processing.