Skip to content
cccskills
FreePublished on GitHub

pdf-processing

Extract text and tables from PDFs, fill form fields with supplied data, and merge documents. Includes a pdfplumber text extraction example and scripts for inspecting form fields and extracting text.

OriginalShow the original description

Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

See how to install

Good for

  • Extracting text from PDF pages
  • Retrieving tables from PDF documents
  • Filling PDF forms with supplied data
  • Combining multiple PDFs into one document

Files included (4)

  • SKILL.md1.1 KB
  • FORMS.md882 B
  • scripts/analyze_form.py1.3 KB
  • scripts/extract_text.py1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

PDF Processing

This skill provides utilities for working with PDF documents.

Quick Start

Use pdfplumber to extract text from PDFs:

import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    text = pdf.pages[0].extract_text()
    print(text)

Available Operations

  1. Text Extraction: Extract text content from PDF pages
  2. Table Extraction: Extract tabular data from PDFs
  3. Form Filling: Fill PDF forms with provided data
  4. Document Merging: Combine multiple PDFs into one

Advanced Features

Form filling: See FORMS.md for complete guide

Utility scripts:

  • Run scripts/analyze_form.py to extract form fields
  • Run scripts/extract_text.py to extract text from a PDF

Best Practices

  1. Always validate PDF files before processing
  2. Handle password-protected PDFs gracefully
  3. Check for scanned PDFs that may require OCR

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Choose the right WeKnora command to answer questions from a knowledge base or retrieve source passages. Covers cited answers, custom agents, document searches, and continuing a conversation through the command-line tool.

  • Ask questions with citations from a knowledge base
  • Retrieve source passages for further analysis
  • Find documents by title or filename
Tencent/WeKnora34.6KUpdated Oct 18, 2026

weknora-shared

FreeSummary

Use the weknora CLI to manage knowledge bases and documents, search stored material, and ask questions grounded in it. This shared guide covers authentication, structured JSON results, error handling, and previews of changes.

  • Setting up authentication for a WeKnora server
  • Managing knowledge bases and uploaded documents
  • Searching stored material and asking questions about it
Tencent/WeKnora34.6KUpdated Oct 18, 2026

See all skills by Tencent

Report a problem with this skill