pdf-form-filler_skill

This skill fills fillable PDF forms programmatically in Python, setting text fields and checkboxes with proper appearance states for reliable rendering.
  • Python

0

GitHub Stars

3

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill raulsimpetru/pdf-form-filler --skill pdf-form-filler

  • LICENSE1.0 KB
  • README.md3.0 KB
  • SKILL.md4.4 KB

Overview

This skill fills PDF forms programmatically with text fields and checkboxes while preserving form structure and visual appearance. It uses pdfrw to set values and proper appearance states so filled fields render correctly in most PDF viewers. The tool supports partial fills, batch processing, and dynamic field detection for flexible automation.

How this skill works

The skill opens a PDF template, enumerates its interactive form fields, and matches field names to provided values. For text fields it writes string values; for checkboxes it sets both the field value and the appearance state (/V and /AS) so viewers show checked or unchecked. The filled PDF is saved without stripping form functionality, allowing further editing if needed.

When to use it

  • Automating population of government or application forms from a dataset
  • Pre-filling surveys or registration PDFs before distribution
  • Batch-processing many similar PDF templates with identical data
  • Scripting partial fills where only some fields are known programmatically
  • Preparing sample documents for testing or QA of form workflows

Best practices

  • Use exact field names as returned by list_pdf_fields() to ensure correct mapping
  • Test filled PDFs in multiple viewers (Adobe Reader, Firefox) to verify appearance
  • Keep input values concise if fields have limited visible width to avoid clipping
  • Prefer editing font sizes in the template for long text rather than truncating data
  • Validate checkbox uses with True/False and confirm appearance states for edge cases

Example use cases

  • Filling job application PDFs with applicant data and checkbox consents
  • Auto-populating government forms (tax, permits) from a database export
  • Batch-filling event registration forms with attendee names and selections
  • Generating pre-filled survey PDFs to distribute on paper or offline
  • Creating test PDFs for QA that exercise text, checkbox, radio, and dropdown fields

FAQ

Use the provided list_pdf_fields() helper to enumerate names and types, then match those exact strings in your data dictionary.

Why do checkboxes sometimes not appear checked in my viewer?

Some viewers do not refresh appearances immediately; the underlying /V and /AS values are set. Open in Adobe Reader or another viewer that regenerates appearances, or use a viewer that supports appearances.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational