pdf

Extract text and coordinates from PDFs, then merge, split, rotate, or fill them.

1|Updated May 17, 2026
One-click install
npx skills add https://github.com/mykcs/myk-skills --skill pdf-mykcs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/mykcs/myk-skills/tree/main/pdf
Command: npx skills add https://github.com/mykcs/myk-skills --skill pdf-mykcs

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill removes the tedium of working with PDFs by helping you reliably extract content, transform documents, and populate form fields with accurate positioning.

Core Features & Use Cases

  • PDF text and content extraction: Read page text and extract layout/table data (e.g., invoices, reports, and forms).
  • PDF creation and transformation: Create new PDFs and perform common operations like merging, splitting, rotation, and metadata reading.
  • Form completion (fillable and non-fillable): Detect fillable fields when available, otherwise guide coordinate-based annotation workflows for non-fillable templates.

Quick Start

Ask the skill to fill a PDF form by providing an input PDF and a fields.json mapping (or form field/value lists) so it produces a filled output PDF with annotations or form values.

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 PDF invoices and reports in Python?

To extract text and table data from PDFs, this skill uses pdfplumber-style parsing to read page text and layout structures. It reliably processes documents like invoices and reports to produce structured content for downstream automation workflows.

How do I fill non-fillable PDF forms using coordinate mapping in Python?

Filling non-fillable PDFs uses coordinate-based annotation workflows when interactive form fields are absent. The skill accepts a structured JSON input mapping fields and page coordinates to place text precisely and regenerate the form appearance.

Can I merge, split, and rotate PDF documents automatically with pypdf?

Yes, you can merge, split, and rotate PDFs automatically using pypdf-based transformations. The skill handles document restructuring operations and metadata reading to create new merged or rotated PDF outputs.

What is the best way to convert PDF pages to images for coordinate mapping?

The best way to convert PDF pages to images for coordinate mapping is using pdf2image and PIL. This skill supports optional image-coordinate workflows by converting PDFs to PNG, enabling precise visual annotation placement.

Do I need ImageMagick installed to process PDFs with Python automation?

You need ImageMagick installed for image-coordinate workflows that require PDF-to-PNG conversion. Alongside pypdf and pdfplumber, it provides the rendering capabilities necessary to validate and place annotations accurately.

Does pypdf support detecting and filling existing interactive form fields?

Yes, pypdf supports detecting existing interactive form fields. When fillable fields are available, the skill automatically populates them with values; otherwise, it guides coordinate-based annotation workflows for non-fillable templates.