pdf

Extract text, tables, images, and OCR output from PDF documents.

Updated May 4, 2026
One-click install
npx skills add https://github.com/234194027-cpu/xianclaw --skill pdf-234194027-cpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/234194027-cpu/xianclaw/tree/main/resources/openclaw/config/skills/pdf
Command: npx skills add https://github.com/234194027-cpu/xianclaw --skill pdf-234194027-cpu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill removes the friction of working with PDFs by enabling fast extraction, structured table/text retrieval, and automated form annotation or filling instead of manual copy-paste and retyping.

Core Features & Use Cases

  • Text and table extraction from PDFs (including layout-aware extraction and table detection) so information becomes searchable and usable for downstream work.
  • PDF transformations and utilities like merging, splitting, rotating pages, extracting metadata, watermarking, password protection, image extraction, and OCR for scanned documents.
  • Form handling that supports fillable form fields and adds annotations for non-fillable forms using coordinate mapping from PDF structure or visual estimation.

Use case example: You receive a scanned contract bundle and need searchable text plus key fields placed onto each page; use this skill to OCR the pages, extract needed content, and generate an output PDF with the requested text positioned correctly.

Quick Start

Ask the skill to extract all text and tables from document.pdf and return the results page by page.

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?

To extract text and tables from a PDF, this skill uses layout-aware parsing libraries like pdfplumber and pypdf to retrieve structured content page by page. It detects tabular structures and returns searchable text for downstream analysis or reporting.

Can I fill out PDF forms that are not fillable?

Yes, you can fill non-fillable PDF forms by using coordinate mapping from the PDF structure or visual estimation. The skill adds text annotations at precise locations, enabling automated form filling for both fillable and non-fillable inputs.

How do I make a scanned PDF searchable using OCR?

To make a scanned PDF searchable, this skill applies OCR using pytesseract and pdf2image to process document images. It converts scanned content into searchable text, enabling document digitization and full-text search.

What PDF transformations and utilities are available for batch processing?

Available PDF transformations include merging, splitting, rotating pages, watermarking, and password protection using tools like qpdf and pdftk. These utilities support batch processing workflows for managing multiple PDF documents efficiently.

Does this PDF extraction tool support CJK font rendering for generated output?

Yes, the skill supports optional font setup specifically for CJK rendering in generated PDFs using reportlab. This ensures that Chinese, Japanese, and Korean characters are correctly displayed when creating or annotating output documents.

What is the best way to extract images and metadata from a PDF?

The best way to extract images and metadata from a PDF is by using deterministic parsing libraries that read the document's internal structure. This skill retrieves embedded images and document metadata without manual copy-paste or retyping.