Agent skill · software engineering · sundial-org
pdf-form-filler
Fill PDF forms programmatically with text values and checkboxes. Use when you need to populate fillable PDF forms (government forms, applications, surveys, etc.) with data. Supports setting text fields and checkboxes with proper appearance states for visual rendering.
Why this skill is useful
Adds specific commands and patterns for filling PDF forms programmatically that the AI wouldn't reliably generate on its own.
What it needs
Requires pdfrw installed locally. About 2k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
PDF Form Filler Programmatically fill PDF forms with text values and checkboxes. Uses pdfrw to set form field values while preserving appearance streams for proper PDF viewer rendering. Quick Start Fill a PDF form with a dictionary of field names and values: Features Text fields: Set any text value (names, dates, addresses, etc.) Checkboxes: Set boolean values (True for checked, False/None for unchecked) Appearance states: Properly sets /On and /Off states for PDF viewer rendering Preserves structure: Doesn't strip form functionality—can be further edited No dependencies: Uses pdfrw (lightweight, pure Python) How It Works 1. Opens the PDF template 2. Iterates through form fields 3. Sets values for matching field names 4. Handles checkboxes by setting both /V (value) and /AS (appearance state) 5. Saves the filled PDF Field Name Matching Field names should match exactly as they appear in the PDF form. Common patterns: German forms: Herr, Frau, Dienstreise, Geschäftsnummer LfF English forms: Full Name, Email, Agree, Submit Date fields: Date, DOB, Start Date To discover field names in your PDF, use listpdffields(): Field types: text: Text input field checkbox: Boolean checkbox radio: Radio button dropdown: Dropdown select signature: Signature field Example: Job Application Form Advanced Usage Partial fills Only fill specific fields, leave others blank: Dynamic field detection Get all fields and prompt for values: Batch fills Fill multiple PDFs with the same data: Troubleshooting Checkboxes not showing visually Some PDF viewers don't render checkboxes immediately. The value is set correctly (/On or /Off), but appearance isn't regenerated. Try opening in: Adobe Reader (will render automatically) Firefox (has better form support) evince or okular on Linux (usually works) Field names not found Use listpdffields() to confirm exact field names. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/pdf-form-filler