doc-reader

Extract text and structured data from PDFs, Office files, images, and source code.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/20YN04/vibe-trading-macos --skill doc-reader-20yn04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-reader
Source: https://github.com/20YN04/vibe-trading-macos/tree/main/agent/src/skills/doc-reader
Command: npx skills add https://github.com/20YN04/vibe-trading-macos --skill doc-reader-20yn04

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rapidocr-onnxruntime.

What problem does it solve?

This skill eliminates the friction of manually opening, converting, or copying content from diverse file types by providing a unified interface to extract text and data into a structured JSON format.

Core Features & Use Cases

  • Universal Parsing: Handles PDFs, Office documents (Word, Excel, PowerPoint), images via OCR, and various code/config files.
  • Unified Output: Returns a consistent JSON envelope regardless of the source format, simplifying downstream processing.
  • Use Case: Quickly summarize a complex contract in Word, extract data from a scanned PDF report, or preview the contents of a spreadsheet without leaving your chat environment.

Quick Start

Use the doc-reader skill to extract the full text content from the file located at uploads/annual_report.pdf.

Frequently Asked Questions about doc-reader

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

FAQPage Schema
How do I extract text from a scanned PDF or image?

To extract text from a scanned PDF or image, you need optical character recognition to identify characters. This skill uses rapidocr-onnxruntime to perform OCR, ensuring high-fidelity data retrieval from image files and scanned documents.

What is the best way to extract structured data from Office files and PDFs?

The best way to extract structured data from Office files and PDFs is using a unified parsing interface that handles diverse formats. This skill processes Word, Excel, PowerPoint, and PDF documents, returning a consistent JSON envelope regardless of the source format.

Can I parse a spreadsheet without leaving my chat environment?

Yes, you can parse a spreadsheet without leaving your chat environment. This skill extracts data and text from Excel files directly within your interface, previewing contents and simplifying downstream processing without manual file conversion.

Does this text extraction tool support source code and config files?

Yes, this text extraction tool supports source code and config files. It implements universal parsing to extract text from various code files, alongside administrative documents like contracts, using robust encoding fallbacks to ensure accurate data retrieval.

Why does document parsing return a JSON envelope format?

Document parsing returns a JSON envelope format to provide a unified output structure. This consistent JSON format simplifies downstream processing, allowing you to easily summarize contracts or analyze spreadsheet data extracted from heterogeneous file types.