/documents:pdf-processing-profrom documents
Runs uv-based Python scripts for PDF form filling, table extraction, merging, splitting, and validation. Useful for batch processing or structured PDF data tasks.
Ships in documents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Every script carries PEP 723 inline metadata, so uv run "${CLAUDE_SKILL_DIR}/scripts/<name>.py" installs its dependencies on first run. All scripts take --help and exit 0 on success; the non-zero codes they share are listed in references/workflows.md.
| Script | Purpose | Usage |
|---|---|---|
| analyze_form.py | Form fields, types, options, positions as JSON | uv run "${CLAUDE_SKILL_DIR}/scripts/analyze_form.py" input.pdf [--output schema.json] [--summary] |
| validate_form.py | Check data JSON against an analyze_form schema | uv run "${CLAUDE_SKILL_DIR}/scripts/validate_form.py" data.json schema.json |
| fill_form.py | Fill a form from data JSON | uv run "${CLAUDE_SKILL_DIR}/scripts/fill_form.py" input.pdf data.json output.pdf [--validate] [--flatten] |
| flatten_form.py | Make filled fields read-only | uv run "${CLAUDE_SKILL_DIR}/scripts/flatten_form.py" filled.pdf final.pdf |
| extract_tables.py | Tables to CSV or one Excel sheet per table | uv run "${CLAUDE_SKILL_DIR}/scripts/extract_tables.py" input.pdf [--output tables.csv] [--format csv|excel] [--pages 1-5] |
| extract_text.py | Text, optionally layout-preserving | uv run "${CLAUDE_SKILL_DIR}/scripts/extract_text.py" input.pdf [--output text.txt] [--preserve-formatting] [--pages 1-5] |
| merge_pdfs.py | Merge in argument order | uv run "${CLAUDE_SKILL_DIR}/scripts/merge_pdfs.py" a.pdf b.pdf --output merged.pdf |
| split_pdf.py | One file per page | uv run "${CLAUDE_SKILL_DIR}/scripts/split_pdf.py" input.pdf --output-dir pages/ |
| validate_pdf.py | Integrity, encryption, text layer, form-field count | uv run "${CLAUDE_SKILL_DIR}/scripts/validate_pdf.py" input.pdf |
validate_pdf.py on the input. Done when you know whether it is encrypted, has a text layer and has form fields. No text layer means a scan: run the ocr skill on it first, then come back with its output.extract_tables.py misses or mangles - references/tables.mdvalidate_pdf.py on any PDF you wrote, and open or spot-check the CSV/text output against a page of the source. Done when the output matches the source on that spot-check.If a script fails, check references/troubleshooting.md before patching it.
references/forms.md (opens in a new tab)references/ocr.md (opens in a new tab)references/tables.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/workflows.md (opens in a new tab)scripts/analyze_form.py (opens in a new tab)scripts/extract_tables.py (opens in a new tab)scripts/extract_text.py (opens in a new tab)scripts/fill_form.py (opens in a new tab)scripts/flatten_form.py (opens in a new tab)scripts/merge_pdfs.py (opens in a new tab)scripts/split_pdf.py (opens in a new tab)scripts/validate_form.py (opens in a new tab)scripts/validate_pdf.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pdf-forms, pdf-tables, pdf-merging, pdf-splitting, pdf-validation, uv-scripts
npx claudepluginhub henkisdabro/wookstar-claude-plugins --plugin documents4 skills in this plugin
/document-parseStructured parsing of complex documents into JSON and LLM-ready markdown with two local engines - LiteParse `lit` for PDFs and images (layout blocks, markdown, built-in OCR) and AILANG Parse `docparse` for office, email and e-book formats plus AI parsing of charts and images. Use when the user needs headings, tables, reading order or layout blocks out of a PDF, wants to read or parse a DOCX, PPTX, XLSX, ODT, EPUB, EML or MBOX file, needs track changes, comments or speaker notes, wants a chart, diagram, photo or handwritten page interpreted, or wants a file converted between formats ("turn this markdown into a DOCX"). Do NOT use for a quick plain-text read of a text-layer PDF - use pdf-extract; for making a scanned PDF searchable or bulk OCR - use ocr; for filling forms, merging, splitting or table export to CSV/Excel - use pdf-processing-pro; for authoring Word, Excel or PowerPoint files from scratch - use the document-skills plugin./ocrAdds a searchable text layer to scanned or image-only PDFs with OCRmyPDF (Tesseract) - local, free, deterministic, no AI tokens. Use when the user says "OCR this" or "make this searchable", when a PDF has no text layer or pdf-extract returned blank output, when text is wanted out of a scan, for digitising a large scanned book or a batch of scans, or when OCR must stay offline and cost-free. Do NOT use for PDFs that already have a text layer - use pdf-extract; for tables, headings or structured output from complex layouts, handwriting or charts - use document-parse; for forms, merging or splitting - use pdf-processing-pro.Other plugins' skills for the same job