pdf

Extract text and tables from PDF documents.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/lava-chen/duya --skill pdf-lava-chen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/lava-chen/duya/tree/main/packages/agent/skills/office/pdf
Command: npx skills add https://github.com/lava-chen/duya --skill pdf-lava-chen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies complex PDF workflows by automating document extraction, modification, form completion, and creation tasks that are otherwise time-consuming to perform manually.

Core Features & Use Cases

  • PDF Manipulation: Extract text, merge documents, split pages, rotate files, add watermarks, encrypt PDFs, and create new PDF documents.
  • Form Processing: Detect fillable fields, extract form structures, and complete both interactive and non-fillable PDF forms with validation support.
  • Use Case: Process a batch of scanned contracts by extracting text with OCR, identifying form fields, and generating completed PDF outputs for review.

Quick Start

Use the pdf skill to extract all text and tables from the attached PDF document.

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 tables from a PDF document programmatically?

You can extract text and tables from a PDF using this Skill by leveraging pdfplumber and pypdf to parse document content. It automates extraction workflows to reliably pull structured text and table data from PDF files.

Can I detect and fill fillable fields in an interactive PDF form?

Yes, you can fill fillable fields in an interactive PDF form. The Skill detects form structures, identifies interactive fields, and completes both fillable and non-fillable PDF forms with built-in validation support.

Does pdf automation support OCR workflows for scanned documents?

Yes, pdf automation supports OCR workflows for scanned documents. It uses pdf2image and PIL to convert pages to images, enabling text extraction from scanned contracts and image-based PDFs through OCR processing.

What is the best way to merge, split, and rotate pages in a PDF?

The best way to merge, split, and rotate pages in a PDF is through automated document modification. This Skill uses pypdf to manipulate page structures, allowing you to merge documents, split pages, and rotate files programmatically.

Do I need Python libraries installed to create and encrypt PDF documents?

Yes, you need Python libraries installed to create and encrypt PDF documents. This Skill requires dependencies like pypdf, pdfplumber, pdf2image, and PIL to manipulate PDF content, add watermarks, and encrypt files reliably.