ck:pdf

Automate PDF text extraction, merging, splitting, and form filling with Python.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/mafvietnam/mafapp --skill ck-pdf-mafvietnam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:pdf
Source: https://github.com/mafvietnam/mafapp/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/mafvietnam/mafapp --skill ck-pdf-mafvietnam

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDFs and related documents often require repetitive, error-prone manual processing for text extraction, table extraction, merging/splitting, and form filling; this skill automates these workflows programmatically across many files.

Core Features & Use Cases

  • Extract text and tables from PDFs
  • Merge and split PDFs in batch
  • Fill PDF forms programmatically and annotate non-fillable forms
  • Use Case: Process hundreds of invoices by extracting fields and generating ready-to-archive PDFs.

Quick Start

Run a sample workflow to extract text and fill a form in sample.pdf using the provided scripts.

Frequently Asked Questions about ck:pdf

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

FAQPage Schema
How do I automate PDF text extraction and form filling in batch?

You can automate PDF extraction and form filling by running Python scripts that process multiple files sequentially. This approach uses pypdf to extract text and populate form fields programmatically across hundreds of documents.

What is the best way to merge and split PDFs programmatically?

The best way to merge and split PDFs programmatically is using a Python library like pypdf within an automated script. This allows you to define batch processing rules to combine or divide documents without manual intervention.

Can I fill non-fillable PDF forms programmatically?

Yes, you can fill non-fillable PDF forms programmatically by annotating them. The workflow uses libraries like pypdf and Pillow to overlay text fields onto static documents, generating ready-to-archive files.

Do I need Python and specific libraries for PDF batch processing?

Yes, PDF batch processing requires a Python runtime and specific libraries. You need dependencies like pypdf for text and form manipulation, pdf2image for rendering, and Pillow for image handling.

How does batch processing handle bulk invoice PDF workflows?

Batch processing handles bulk invoice PDF workflows by automating text extraction and standardizing documents. Scripts process hundreds of invoices sequentially to extract specific fields and generate uniform output.

Are there limitations when extracting tables from PDF files?

Extracting tables from PDF files depends on the document structure and library capabilities. While pypdf handles text extraction, complex table parsing requires careful script configuration to ensure accurate field mapping.