read

Extract plain text from PDFs, DOCX, PPTX, and CAD files.

45|12|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/LdotJdot/OpenLum --skill read-ldotjdot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: read
Source: https://github.com/LdotJdot/OpenLum/tree/main/OpenLum.Console/Skills/read
Command: npx skills add https://github.com/LdotJdot/OpenLum --skill read-ldotjdot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

If you need to extract plain text from plain text files or specific target files such as PDF, Office docs (docx, doc, pptx, ppt) or CAD, this skill executes the extraction.

Core Features & Use Cases

  • Text extraction: pull plain text from PDFs, DOCX, PPTX, and CAD-like targets.
  • Pagination / incremental reads: supports sequential reading with a defined start and limit, using the next_start = last_start + last_limit rule to avoid overlaps.
  • Direct execution of exes: does not pre-scan; if an executable fails, an error is raised.
  • Use case: handle large document collections by reading in chunks (e.g., 0-1999, 2000-3999) and aggregating results.

Quick Start

Load a sample file with the built-in readers and specify --start and --limit to begin the first batch.

Frequently Asked Questions about read

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

FAQPage Schema
How do I extract plain text from PDF and DOCX files in chunks?

To extract text from PDF and DOCX files in chunks, use the pagination feature by specifying --start and --limit parameters. This reads a defined batch, and you retrieve the next batch using next_start = last_start + last_limit to prevent overlaps.

What is the best way to read large PPTX files without loading the entire document?

The best way to read large PPTX files is using incremental reads with start and limit parameters. This approach processes the file in sequential chunks, like 0-1999 then 2000-3999, aggregating results to handle large documents efficiently.

Does this text extraction tool support CAD files?

Yes, this text extraction tool supports CAD-like targets alongside PDFs and Office documents. It extracts plain text directly from these formats using built-in readers or external executables without pre-scanning the file.

Why does my file reading process fail immediately on corrupted documents?

Your file reading process fails immediately because the tool does not pre-scan before execution. If the built-in reader or external executable fails to process a corrupted document, it directly raises an error.

Can I use built-in readers for PPT and DOC text extraction?

Yes, you can use built-in readers for PPT and DOC text extraction. The skill supports older Office formats like DOC and PPT, extracting plain text by directly executing the readers with specified start and limit parameters.

How do I avoid overlapping text when doing incremental reads on a PDF?

To avoid overlapping text during incremental reads on a PDF, calculate the next start position using the formula next_start = last_start + last_limit. This ensures each subsequent chunk begins exactly where the previous one ended.