pdf

Extract text and metadata from PDFs using Python libraries.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Qiue-G/Claw-X --skill pdf-qiue-g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Qiue-G/Claw-X/tree/main/.openclaw/skills/pdf
Command: npx skills add https://github.com/Qiue-G/Claw-X --skill pdf-qiue-g

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, and includes scripts (resource) components.

What problem does it solve?

PDF processing often requires repeating manual tasks such as extracting text, filling forms, merging/splitting documents, and converting formats. This skill provides an automated workflow to handle these tasks with Python tools and a script-driven pipeline.

Core Features & Use Cases

  • Automated text extraction: read and extract text and metadata from PDFs.
  • Form filling and annotation: fill fillable forms or annotate non-fillable forms and generate output PDFs.
  • Document manipulation: merge, split, rotate, and recreate PDFs from structured data for workflows like invoicing and reporting.
  • Use Case: Process a batch of invoices to pull line items and totals into a spreadsheet while preserving original documents.

Quick Start

Use the pdf skill to extract all text from the attached file 'invoice-q3.pdf'.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract text and table data from both native and scanned PDFs?

To extract text and table data from PDFs, this skill uses a script-driven pipeline with pypdf, pdfplumber, and pdf2image to process both native and scanned documents. It reliably pulls text, metadata, and line items into structured outputs.

What's the best way to automate filling out PDF forms across a batch of documents?

Automating PDF form filling across batches is handled by a structured pipeline that applies validation steps to populate fillable forms and annotate non-fillable ones. It generates annotated output PDFs reliably for administrative workflows.

Can I merge, split, and rotate PDF pages using Python libraries?

Yes, you can merge, split, and rotate PDF pages using Python libraries. This skill implements document manipulation through pypdf and pdfplumber, allowing you to recreate PDFs from structured data for workflows like invoicing and reporting.

Does this PDF processing approach work for extracting line items from invoices into a spreadsheet?

Yes, this PDF processing approach works for extracting line items from invoices into a spreadsheet. The skill automates pulling line items and totals from invoice batches while preserving the original documents for record-keeping.

Do I need pdf2image and pypdf to process scanned PDF documents?

Yes, you need pdf2image and pypdf to process scanned PDF documents within this skill. The pipeline relies specifically on these dependencies, alongside pdfplumber, to handle text extraction and document manipulation on scanned files.