pdf-to-llm
CommunityTurn PDFs into structured, LLM-ready data.
Authorrondoallaturka
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates extracting and structuring data from PDF documents to feed large language models, reducing manual effort and improving data fidelity.
Core Features & Use Cases
- Document metadata extraction: Pulls title, author, date or date range, and entity information.
- Structure-aware parsing: Detects sections, headings, and preserves table structures with headers and rows.
- Multiple output formats: Produces JSON, JSONL, or Markdown for downstream processing.
- Use Case: Process a batch of invoices to generate a consolidated JSON feed with line items and totals.
Quick Start
- Run the basic extraction (no API key required): python scripts/pdf_to_llm.py --file your-document.pdf --mode basic --output result.json
- For LLM-powered extraction (requires ANTHROPIC_API_KEY): export ANTHROPIC_API_KEY=your-key python scripts/pdf_to_llm.py --file your-document.pdf --mode llm --output result.json
- Process specific pages: python scripts/pdf_to_llm.py --file your-document.pdf --pages "1,2,10-15" --output sample.json
Dependency Matrix
Required Modules
pdftotextanthropic
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pdf-to-llm Download link: https://github.com/rondoallaturka/chart-skills/archive/main.zip#pdf-to-llm Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.