One-click install
npx skills add https://github.com/GayanKavinda/gayankavinda.github.io --skill pdf-gayankavinda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/GayanKavinda/gayankavinda.github.io/tree/main/skills/skills/pdf
Command: npx skills add https://github.com/GayanKavinda/gayankavinda.github.io --skill pdf-gayankavinda

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the manual burden of reading, extracting, editing, and filling PDF documents so you can convert static files into actionable content quickly and reliably.

Core Features & Use Cases

  • Text and Table Extraction: Pull plain text, structured tables, metadata, and embedded images from PDFs for downstream processing.
  • Document Operations: Merge, split, rotate, crop, encrypt, decrypt, watermark, and generate PDFs with Python and command-line tools.
  • Form Workflows: Detect fillable fields, inspect field types, and fill interactive forms or add annotations when forms are not fillable.
  • Scanned PDF Handling: Render pages to images and use OCR-based workflows when documents are image-only.
  • Use Case: Process a batch of invoice PDFs, extract line items and totals, then combine the results into a clean report or filled form output.

Quick Start

Ask the pdf skill to extract text from a PDF, or to merge, fill, rotate, and annotate PDF files as needed.

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 for downstream processing?

PDF extraction pulls plain text, structured tables, metadata, and embedded images from documents using Python libraries like pypdf and pdfplumber. This converts static files into actionable content for downstream processing.

What is the best way to process scanned PDFs that contain no selectable text?

Scanned PDF processing renders image-only document pages into pictures using pdf2image and Pillow, then applies OCR-based workflows to extract text. This allows you to retrieve searchable data from documents that lack native text layers.

Can I detect and fill interactive PDF form fields using Python?

Yes, PDF form workflows detect fillable fields and inspect field types to populate interactive forms automatically. When forms are not fillable, you can add annotations and overlays to input data directly onto the document.

How do I merge, split, and encrypt PDF documents programmatically?

PDF document operations merge, split, rotate, crop, encrypt, decrypt, and watermark files using Python scripts. These validation-aware scripts safely read, edit, and generate modified PDF outputs for batch processing.

Do I need Python PDF libraries to rotate, watermark, and generate PDFs?

Yes, PDF manipulation requires Python libraries such as pypdf, pdfplumber, pdf2image, and Pillow. These dependencies provide the necessary framework to safely read, edit, annotate, and generate modified document outputs.