document-reader

Extract readable text from heterogeneous document and data files into a unified JSON envelope.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/loanntc/Paave --skill document-reader-loanntc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-reader
Source: https://github.com/loanntc/Paave/tree/main/skills/doc-reader
Command: npx skills add https://github.com/loanntc/Paave --skill document-reader-loanntc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of needing to understand and extract usable content from many different document types without manually opening and reformatting them.

Core Features & Use Cases

  • Unified document-to-text extraction: Reads common file formats (PDF, DOCX, XLSX/XLS, PPTX, images via OCR, CSV/TSV, text, JSON/YAML/TOML/INI/Cfg/.env, HTML/XML, and most source-code files) into a single consistent JSON envelope.
  • Format-aware extraction with sensible limits: Extracts text and key structural data (e.g., OCR for images, spreadsheet previews by sheet/rows, PDF page slicing, and raw source text for code).
  • Practical workflows: Supports tasks like paper/report summarization, contract clause review, and spreadsheet quick-look triage.

Quick Start

Use document-reader to extract text from an uploaded PDF by asking it to read the file and return the unified JSON text payload.

Frequently Asked Questions about document-reader

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

FAQPage Schema
How do I extract text from a PDF and Office documents for summarization?

Yes, you can perform OCR data extraction on images and read spreadsheet previews by dispatching the file extension. The reader applies OCR to images and extracts structural data like sheet and row previews from spreadsheets, returning the output in a unified JSON envelope.

What is the best way to inspect multiple file types without manually opening them?

No, you do not need a separate parser for formats like JSON, YAML, TOML, INI, and .env configs. A unified extraction tool reads these delimited and markup files alongside PDFs and images, converting them all into a single consistent JSON text payload.

Can I extract readable text from executables and archive uploads?

No, you cannot extract readable text from executables and archive uploads because the extraction process enforces safety by rejecting them. This constraint prevents potentially unsafe file processing while successfully handling documents, spreadsheets, images, and source code.

Are there limitations when parsing large PDFs and spreadsheets for text extraction?

Limitations when parsing large PDFs and spreadsheets include enforced truncation behavior and sensible extraction limits. The process applies PDF page slicing and limits spreadsheet preview rows to manage output size, returning truncation metadata within the unified JSON envelope.