pdf-extractor

Extract text, tables, and metadata from PDF documents into JSON.

10.5k|2.3k|Updated Sep 9, 2024
One-click install
npx skills add https://github.com/alibaba/spring-ai-alibaba --skill pdf-extractor-alibaba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-extractor
Source: https://github.com/alibaba/spring-ai-alibaba/tree/main/spring-ai-alibaba-agent-framework/src/test/resources/skills/pdf-extractor
Command: npx skills add https://github.com/alibaba/spring-ai-alibaba --skill pdf-extractor-alibaba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables automated extraction of text, tables, and metadata from PDF documents, eliminating tedious manual copying and data-entry tasks. It simplifies the process of transforming unstructured PDF content into structured data for analysis, reporting, or ingestion into data pipelines.

Core Features & Use Cases

  • Text Extraction: Pull plain text from PDFs for indexing, search, or processing.
  • Table Extraction: Extract tabular data into structured arrays for analytics.
  • Metadata Extraction: Capture document properties such as title, author, creation and modification dates.
  • Use Case: Batch process hundreds of PDFs to generate a consolidated JSON payload suitable for a data warehouse or BI tool.

Quick Start

Run the extraction script on a PDF file, for example 'sample.pdf', using: python .claude/skills/pdf-extractor/scripts/extract_pdf.py sample.pdf